Skip to content
This repository was archived by the owner on Sep 22, 2022. It is now read-only.

My App#4

Open
ankormoreankor wants to merge 2 commits into
lumejiodev:masterfrom
ankormoreankor:master
Open

My App#4
ankormoreankor wants to merge 2 commits into
lumejiodev:masterfrom
ankormoreankor:master

Conversation

@ankormoreankor
Copy link
Copy Markdown

Сделал не всё - не успел, но, думаю, обратная связь не будет лишней

.main {
display: flex;

padding-top: 54px;
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

padding: 54px 75px 59px;

padding-right: 75px;
width: 100%;

&-block {
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

хороший подход, но обычно лучше делать отдельно (.main и .main-block). Меньше ёлки в коде, и чуть лучше читаемость, при этом по логике это тоже норм

&_white {
background-color: $white;
}
&_gl {
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

нехорошее сокращение. Неочевидно из названия что это

@@ -0,0 +1,17 @@
.icons {
&__list {
display: flex;
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

опять с интендацией что-то

Comment thread my-app/src/App.js
render() {
return (
<main className="App bg_gl">

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

переносы строк лишние

@lumejiodev
Copy link
Copy Markdown
Owner

Названия файлов для компонентов делай КемелКейсом.

Разделяй UI-элементы от остальных компонентов. Обычно создаётся папка containers где находятся все компоненты имеющие логическую часть, а в папке components находятся компоненты выполняющие элементов интерфейса. При том повторяющиеся компоненты находятся в components/common

В остальном всё хорошо, но вероятно будут ещё правки когда доверстаешь до конца

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants