Skip to content

feat(main-page): redesign using new components#24

Open
oostap1985 wants to merge 7 commits into
mainfrom
feat/65099006_main-page
Open

feat(main-page): redesign using new components#24
oostap1985 wants to merge 7 commits into
mainfrom
feat/65099006_main-page

Conversation

@oostap1985

Copy link
Copy Markdown
Collaborator
  • add redesigned base layout and includes
  • add new navigation and external links data
  • add art slider script
  • update arts JSON and templates (exploding-head, mushroom)
  • add new icons and fonts
  • update global styles

- add redesigned base layout and includes
- add new navigation and external links data
- add art slider script
- update arts JSON and templates (exploding-head, mushroom)
- add new icons and fonts
- update global styles
@oostap1985 oostap1985 force-pushed the feat/65099006_main-page branch from e7e4a2e to b81a3ff Compare June 2, 2026 10:10
Comment thread src/_data/arts.json Outdated
Comment thread src/_data/extLinksRedesign.json Outdated

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Нет смысла создавать подобные отдельный файлы на редизайн, может только в некоторых местах. Тут просто ссылки: их набор никак не влияет

contentContainer: "D-f Jc-c Ai-c"
}

href=`href=${it.url}`

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Тут что-то странное: переменная без let/const

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Исправил

Comment thread src/assets/style/style.scss Outdated
--ml-blueGray:rgb(236, 240, 246,0.5);
--ml-gray200:#d1d5db;
--ml-gray350:#cacacaa0;
// redesign

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

В таких переменных нет смысла - меняем существующией

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Исправил

Comment thread src/layouts/redesign-base.ejs Outdated

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Пока не понял, зачем новый базовый шаблон

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Отдельный базовый шаблон не нужен. Можно просто пока часть старых переменных оставить, чтобы другие страницы совсем не сломались

Comment thread src/assets/style/fonts/fonts.css Outdated

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Шрифты лучше с google fonts подключать, по крайне мере пока

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Исправил

Comment thread src/arts/exploding-head.ejs Outdated
}
%>
<div class="Ctnt-s M7u;a;0 H100p Apcr1 Plci-c;c Plcc-c D-f -ExplodingOrangeA#ee980d -ExplodingOrangeB#f8c829 -ExplodingBrownA#662800 -ExplodingBrownB#6f2810 -ExplodingBrownC#9c2a00 -ExplodingBrownD#934800 -ExplodingBrownE#9b3c18 -ExplodingBrownF#a24b0b -ExplodingBrownG#f7ae48 -ExplodingBrownH#d2a55a -ExplodingBrownI#efd3ac">
<!-- изменил у первого div M7u;a;0 -->

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Комменты для ревьювера надо тут писать, а не в коде)

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Исправил)

@@ -0,0 +1,28 @@
<%
const css = {
buttonShape:"-Sz100p D-f Jc-c Ai-c P10 Fns16 Bdrd8 Ts-$shortTs Bd1;s;$brand",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pixel perfect нам не нужен, поэтому в большинстве мест лучше u использовать для размеров

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Исправил

<%
const css = {
buttonShape:"-Sz100p D-f Jc-c Ai-c P10 Fns16 Bdrd8 Ts-$shortTs Bd1;s;$brand",
contentContainer: "D-f Jc-c Ai-c"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Не используется

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Исправил

%>
<<%= it.tag %> <%= href %>
class="btn <%= css.buttonShape %> <%= css.buttonColors %>">
<span class="<%= css.span %>">

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Зачем этот span?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Исправил


<a
href="<%= it.link %>"
alt="Link to <%= it.name %>"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ссылке не нужен alt

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Исправил

:c:+_Bgc-$brand :c:+_Bdc-$brand :c:+_Bgc-$reAccent900_af,b :c:+_Bxsd0;1.5u;0;0;$reAccent900_af :c:+_Bdc-n">
</label>

<label id="overlay" for="menu-toggle"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

2 лейбла на 1 инпут - это что-то странное

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Не исправлено

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Меняем основной хедер, отдельный шаблон не нужен

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

На мобильном не соответствует макету + логотип надо чуть побольше: 64px хотя бы

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Исправил

<header class=" D-f Jc-sb Ai-c P15u;4u;2u md_P0;5.5p Bgc-$core950 Bcf -Blr0.4 Ps-f H-$headerH W100p C-$headerC Zi20">

<%# Logo %>
<div class="W40 H16 md_W83 md_H34">

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Это наоборот делается: указываем размеры изображения, от которых зависит контейнер

@mr150 mr150 Jun 2, 2026

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ширину логотипа сделать 116, высоту: auto

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Исправил

<%# Logo %>
<div class="W40 H16 md_W83 md_H34">
<a href="/" id="header-logo" class="D-f Jc-c Ai-c -Sz100p <%= it.cssHeaderLogoVisibility %> Ts-O;$shortTs">
<svg class="-Sz100p" alt="mlut logo">

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Если логотип не перекрашивается, то его лучше просто img делать. И посмотри как сейчас href у лого реализован - надо так же

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Исправил

%>

<header class=" D-f Jc-sb Ai-c P15u;4u;2u md_P0;5.5p Bgc-$core950 Bcf -Blr0.4 Ps-f H-$headerH W100p C-$headerC Zi20">

@mr150 mr150 Jun 2, 2026

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Много пустых строк - не надо так. Пусть будут только между крупными блоками

</li>
<% }%>
</ul>
<script type="module">

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Это легаси - убираем)

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Убрал

Comment thread src/assets/script/art-slider.js Outdated
document.head.appendChild(link);
}

class ArtsSliderComponent extends HTMLElement {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Тогда уж просто ArtsSlider

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Исправил

Comment thread src/index-redesign.ejs Outdated
<div class="D-f Fld-c Ai-c Gap4u W100p md_W80p md_Mxw350 lg_Mxw504">
<div class="<%= heroCSS.gradient %> md_D-n"></div>

<h1 class="D Fnf-SNPro Fns6u Fnw-b Lnh100p Lts0 M3.5u;0 Txt C-$brand Ps Zi2 md_D-n">Make CSS exciting again!</h1>

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Это не h1. Посмотри, какая сейчас разметка в hero секции

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

И отступы (margin) по дефолту только с 1 стороны делаем: низ или верх

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Исправил

Comment thread src/index-redesign.ejs Outdated
<use href="/assets/img/icons.svg#twoTriangle"></use>
</svg>
<div class="D-n md_D-f md_Fld-c Gap8">
<h1 class="Fnf-SNPro Fns48 M17;0 Fnw-b Lnh100p Lts0 Txt C-$brand">Make CSS exciting again!</h1>

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Надо попробовать сверстать без дублирования контента. Такое только в крайнем случае делается

Comment thread src/index-redesign.ejs Outdated
<div class="D-n Ps-a W80p H150p T-195 L50p Tf -Tr-50p;0 <%= heroCSS.dradientDescTop %> <%= heroCSS.dradientDescBot %> md_D-f">
<div class="Ps-a W80p Apcr1 T0 L10p Bdrd100p -Gdl180d,$reCore400;0,$reCore450;100p Ft -Blr100"></div>
</div>
<div class="D-f Fld-c Ai-c Gap4u W100p md_W80p md_Mxw350 lg_Mxw504">

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Кажется, что тут часть декора можно псевдоэлементами сделать

Comment thread src/index-redesign.ejs Outdated
<arts-slider class="D-f Ai-fs Fl1 W100p">
<button class="prev W48 Apcr1 Mr40 As-c Bgc-tp Bd-n P0 Cs lg_Mr80">
<svg class="Tf -Rt180d C-$brand C-$reBrand500_h C-$reBrand600_a Ts-$shortTs" width="17" height="29">
<use href="/assets/img/icons.svg#arrow-slider"></use>

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Для декоративных svg лучше отдельный спрайт сделать

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Сделал

Comment thread src/index-redesign.ejs Outdated
</svg>
</button>
</arts-slider>
<span class="Fns16 Fnw-l Lnh150p Lts0 C-$reAccent850 md_Ps-a md_L50p md_B-43 md_Tf md_-Tr-50p;0">Yes, this is CSS</span>

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
<span class="Fns16 Fnw-l Lnh150p Lts0 C-$reAccent850 md_Ps-a md_L50p md_B-43 md_Tf md_-Tr-50p;0">Yes, this is CSS</span>
<span class="Fns16 Fnw-l Lnh150p Lts0 C-$reAccent850 md_Ps-a md_L50p md_B-43 md_Tf md_-Tr-50p;0">Yes, this is pure CSS</span>

Comment thread src/index-redesign.ejs Outdated

<h1 class="D Fnf-SNPro Fns6u Fnw-b Lnh100p Lts0 M3.5u;0 Txt C-$brand Ps Zi2 md_D-n">Make CSS exciting again!</h1>
<div class="D-f Fld-c Ai-c Gap2u Bgc-tp W100p Ps Zi2">
<arts-slider class="D-f Ai-fs Fl1 W100p">

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Декоративные элементы лучше не в сам art-slider, а в контейнер выше

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Исправил

@mr150 mr150 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Чуть позже будут еще комменты


<%- include('./burger.ejs') %>

<div class="Bgc-$core950 Ps-a R0 T-$headerH Ts-$longTs Tf -Trx101p Bd1;s;$brand Bdr-n Bdtlr3u Bdblr3u Mxw50u ^burger:c:~_-Trx0 W50vw P10u;0 md_All-ust @:h<420_P3u;0">

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@:h<420 странное решение, при чем тут высота?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

md_All-ust тоже выглядит сомнительно

Comment thread src/index-redesign.ejs Outdated
</div>
</div>
<button class="next W48 Apcr1 Ml40 As-c Bgc-tp Bd-n P0 Cs lg_Ml80">
<svg class="C-$brand C-$reBrand500_h C-$reBrand600_a Ts-$shortTs" width="17" height="29">

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Кнопки надо чуть покрупнее на десктопе, а то они местами сливаются с декором

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Исправил

Comment thread src/index-redesign.ejs Outdated
<% for (let decor of Object.values(decorCSSArts)) { %>
<div class="D-n md_D <%= decor %>"></div>
<% } %>
<div class="W100p P0 Bxz-bb md_P16 md_Bdrd1u md_Bgc-$artFrameColorSmall md_Bxsd0;0;0;0.5u;$artFrameBorderSmall">

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Почему тут рамка через box-shadow, а не border?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bxz-bb - нет смысла, он уже у всех стоит. border-radius тут у рамки не нужен. padding пусть 2u будет, больше не надо

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Border "толстый" и забирал много пространства внутри блока, поэтому сделал через box-shadow.

} else {
href = ''
}
const isLink = it.url && it.url !== '#0' && it.url !== '';

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it.url !== '' - лишнее, ведь пустая строка и так false

@mr150 mr150 Jul 6, 2026

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Не самое подходящее название каталога. Лучше что-то типа embedded

</div>
<div class="D-f Ai-c Jc-c H100p P2.5u Bdrd8 Bgc-$core805">
<code class="Fnf-Fira;Code Fns3u Fnst-n Fnw400 Lnh150p Lts0 C-$tertiary750">
<span class=""><span class="C#00ac4d">@:ah</span>_<span class="C#f04">0</span>1_<span class="C#9e54ff">h</span></span>

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Пустой class нет смысла оставлять

Comment thread src/_includes/footer.ejs Outdated
</div>

<a href="/redesign-preview/#hero-section" class="D-n md_D-f Jc-c Ai-c <%= it.cssHeaderLogoVisibility %> Ts-O;$shortTs">
<a href="/redesign-preview/#hero-section" class="D-n md_D-f Jc-c Ai-c <%= it.cssHeaderLogoVisibility %> Ts-O;0.3s md_Gc1 md_Gr1/3 md_As-st">

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Чтобы каждый раз не указывать duration для разных свойств, используй -Ts

Comment thread src/_includes/footer.ejs Outdated
<div class="P10;12 xl_P10;20">
<div class="D-f Fld-c Jc-st Gap2u md_Gc2 md_Gr1/2 xl_Gap20">
<div class="D-f Ai-c Gap8 Flw md_Od2">
<div class="P10;10;10;12 xl_P10;10;10;20">

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Зачем тут px?

Comment thread src/assets/script/theme-switcher.js Outdated
connectedCallback() {
const buttons = this.querySelectorAll('[data-theme]');
if (buttons.length === 0) return;
this._activeClass = this.getAttribute("active-button") || '';

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

active-button - не самое подходящее название. Лучше что-то вроде active-btn-css, чтобы более единообразно. Где подразумеваются утилиты - упоминаем css в названии

Comment thread src/assets/script/theme-switcher.js Outdated
this._updateActiveButton(this._theme);

buttons.forEach(button => {
this._buttons.forEach(button => {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Давай тогда уж через делегирование событий сделаем, по красоте. Все равно ведь проверяем наличие атрибута

Comment thread src/assets/script/toggle-install.js Outdated
}

connectedCallback() {
const activeClass = this.getAttribute("active-tab") || '';

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Аналогичное замечание по неймингу атрибутов/переменных, где содержатсья утилиты

Comment thread src/assets/script/toggle-install.js Outdated

if (!tabs.length || !extraSteps.length) return;

tabs.forEach((tab) => {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Тут тоже лучше на делегирование переделать, а то не очень выглядит: как цикл в цикле

Comment thread src/index-redesign.ejs Outdated

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

На десктопе стрелки надо больше: w32 и h48, как вариант

Comment thread src/index-redesign.ejs Outdated

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Сейчас гриб тут все еще сломан. Лучше не показывать его на главной - не придется править

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

На sm экране арт может быть слишком огромный - нужна max-width. h1 получается слишком маленьким по сравнению с ним - не надо так

</code>
</div>
</div>
<div class="W20 D-f Ai-c Jc-c Apcr1 Gc2 Js-c As-c">

@mr150 mr150 Jul 6, 2026

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Тут ширина лишняя - у svg задаем. И у него надо сделать: 28 и 22 размеры

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Этот бейдж не нужен - двух достаточно. Вместо него лучше копирайт перенести во вторую колонку футера, а то сейчас левая слишком большая

Comment thread src/index-redesign.ejs Outdated
class="W100p M5.5u;0;0 Zi1 xl_M50;0;0"
active-tab="Bgc-$activeTab_af"
>
<div class="W100p D-f Ai-e Jc-sb Gap4u Fns4u md_Gap6u xl_Gap16u">

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Выделение по ховеру появилось - это хорошо, но все еще слишком мало заметное. Надо и текст тоже, чтобы менял цвет или подсвечивался как-то

Comment thread src/index-redesign.ejs Outdated
<div class="D-n xl_D Ps-a B5p R10p W250 H320">
<div class="Ps-a T33p L-5p W230 H135 Tf -Rt-25d -Gdl150d,tp;0;50p,$accent950;50p;100p"></div>
<div class="<%= decorCss.frameSquare %> T40p L59p Bgc-$core200 Bd10;s;$yellow500_af Tf -Rt57d"></div>
<div class="D-n xl_D Ps-a B7p R10p W18p H15p">

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Размер на десктопе уже норм, но поднять надо еще чуть выше, чтобы почти наровне с нижней границей левой колонки

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

И этот арт можно показывать все время, пока 2 колонки есть, только уменьшать с размером экрана надо

Comment thread src/index-redesign.ejs Outdated
}
%>

<%# Hero-section %>

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

На md разрешении абзац в секции выглядит странно: слишком большие вертикальные отступы

Comment thread src/_includes/header/header.ejs Outdated
%>

<header class=" D-f Jc-sb Ai-c Gap2u P15u;4u;2u md_P0;5.5p Bgc-$core950 Bcf -Blr0.4 Ps-f H-$headerH W100p C-$accent900 Zi20">
<header class=" D-f Jc-sb Ai-c Gap3u P15u;4u;2u md_P0;5.5p Bgc-$core950 Bcf -Blr0.4 Ps-f H-$headerH W100p C-$accent900 Zi20">

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

На разрешении ниже md все еще остались лишние поля сверху

@mr150

mr150 commented Jul 6, 2026

Copy link
Copy Markdown
Contributor

Карточка Rich syntax уже хорошо выглядит, но надо доделать вот до такого состояния:
Screenshot 2026-07-06 at 07-25-11 mlut - make CSS exciting again!

@mr150

mr150 commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

Карточка Rich syntax уже хорошо выглядит, но надо доделать вот до такого состояния:

Размер шрифта кода уменьшился - надо такой же, как везде

Comment thread src/_data/navLinks.json Outdated
},
{
"link":"#0",
"text":"Showcase"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Это пока рано - потом добавим

Comment thread src/_includes/footer.ejs Outdated
</svg>
</div>
<footer id="footer" class="Ps D-f Fld-c Gap5u W100p P6u;4u Bgc-$core950 Fns4u Fnw400 Fnst-n Lnh100p Lts0 C-$accent900 md_D-g md_Gtc-a;1fr;a md_Clmg8u md_Rwg0 md_P8u xxl_P40;80">
<div class="Ps-a W35 Apcr1 T-3p L74p Bdrd100p Bd6;s;#16348C Zi1 <%= css.square %> md_D-n"></div>

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Что с отступами произошло? В проекте же editorconfig есть - твой редактор должен его подхватывать. Там у нас табы

Comment thread src/assets/script/theme-switcher.js Outdated
}
constructor() {
super();
this._theme = localStorage.getItem("mlut-theme") || "auto";

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Кавычки наоборот одинарные должны быть. Мне просто пока некогда было eslint настроить, ведь тут мало js

Comment thread src/_includes/footer.ejs Outdated
</a>
</li>
</ul>
<ul class="D-f Fld-c Gap2u P0;12 M0 Lss-n md_P0 md_Gc3 md_Gr1/2 md_As-st lg_D-g lg_Gtc-mc;mc lg_Clmg8u">

@mr150 mr150 Jul 8, 2026

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

xxl экране эти бейджи должны быть чуть побольше, примерно как сейчас в readme

Comment thread src/index-redesign.ejs Outdated
@@ -86,19 +86,19 @@ permalink: /redesign-preview/
</div>
</div>
<button class="next W48 Apcr1 As-c Bgc-tp Bd-n P0 Cs">

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

С уменьшением экрана, отступы между стрелок и рамкой должны уменьшаться (и сами стрелки тоже немного). При этом, отступ между левой и правой колонкой - хотя бы какой-то должен оставаться. Сейчас на lg экране его вообще нет

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Gap между левой и правой колонкой сделал.
Также меняется расстояние между стрелками и рамкой, увеличивается размер стрелок при увеличении ширины просмотра.
На md разрешении немного увеличил размер рамки. Если не понравится, верну обратно.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

На малых экранах хедер все еще не исправлен

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

И мобильное меню не закрывается при переходи из него на секцию главной. А должно

@oostap1985

Copy link
Copy Markdown
Collaborator Author

Привет. Пока некоторые старые файлы оставил. Позже удалю.
И еще: логику Ov-h для логотипа в header изменил так, что он исчезает, когда проскроллить до footer. Нужно ли это, пока не понимаю. Либо её вообще убрать. Сделаю как скажешь.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants