Skip to content

feat: add Product-section, Team-section, Process-section and fix comm… - #2

Open
oostap1985 wants to merge 1 commit into
mainfrom
feat/68336360_main-page
Open

feat: add Product-section, Team-section, Process-section and fix comm…#2
oostap1985 wants to merge 1 commit into
mainfrom
feat/68336360_main-page

Conversation

@oostap1985

Copy link
Copy Markdown
Collaborator

Привет.
Это еще не конечный результат. Посмотри, пожалуйста, на анимацию в Process секции, это примерно то, что вы хотели?

@oostap1985
oostap1985 requested a review from mr150 August 30, 2026 17:46
Comment thread src/_data/product.json

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/_data/product.json
@@ -0,0 +1,14 @@
[
{
"img": "open_source",

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.

Разная нотация названия переменных. Лучше тогда уж везде kebab-case

Comment thread src/_data/team.json
"img": "photo1",
"profession": "инженер программист, изобретатель",
"description": "Имеет профессиональный опыт более десяти лет. Работал фронтенд и бэкенд-разработчиком, а также занимался инфраструктурой и внедрением инженерных практик. Создатель open source фреймворка mlut, аналога Tailwind для вёрстки кастомных сайтов и креативов.",
"connection": "yes"

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.

Это ведь boolean, зачем строка

Comment thread src/_data/team.json
"name": "Олег Остапчук",
"img": "photo4",
"profession": "Разработчик",
"description": "Имеет профессиональный опыт более десяти лет. Работал фронтенд и бэкенд-разработчиком, а также занимался инфраструктурой и внедрением инженерных практик. Создатель open source фреймворка mlut, аналога Tailwind для вёрстки кастомных сайтов и креативов.",

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.

Про себя тоже релевантный текст напиши, потом отредактируем

@@ -0,0 +1,11 @@
<div class="D-f Fld-c Gap2u">
<div class="Bd1;s;$accent100 Bdrd2u Ov-h W242 md_W326 H144 md_H228">

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.

Mnh, вместо H и размеры лучше в u - pixel perfect не нужен


<profile-card class="D-f Fld-c Ai-c Jc-sb Gap3u no-js W242 Mnh375 lg_W305 lg_Mnh390 xxl_W350">
<div class="Ps D-f Fld-c Gap1u">
<div class="Bdrd100p Ov-h Ojf Ojp-c -Sz100 lg_-Sz140">

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.

object-fit разве не на сам img вешается?

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.

На CSS нет вариантов сделать эту анимацию?

const btnText = this.button.textContent;
const newText = btnText === 'Свернуть' ? 'Подробнее' : 'Свернуть';
this.button.textContent = newText;
this.classList.toggle('no-js');

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.

Почему no-js снимается при переключении, а не при инициализации компонента?

Comment thread src/index.ejs
%>

<%# Process-section %>
<process-scroll class="D-f Fld-c Gap2.5u W100p P5u;4u md_Gap10u md_P0;0;0;15u xl_P0;0;0;20u xxl_P0;0;0;25u">

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.

И на этом этапе не требовалось делать анимацию линий, только скролл. Такое надо на webgl, по идее, потому что на CSS может тормозить

@@ -1,38 +1,30 @@
<%
const css = {
const stylesCss = {

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.

Все еще не исправлено. Если словарь заканчивается на css - значит это словарь алиасов. А тут совершенно разные по смыслу значения лежат

Comment thread src/index.ejs

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.

На мобильном в 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.

На квадратном мониторе, в секции "услуги" лучше 2 равные колоники, а то сейчас странно выглядит, что одна шире

Comment thread src/index.ejs
</ul>
</section>

<%# Product-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.

На десктопе не соответствует макету

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