Skip to content

feat: Create Nova Template Layout#177

Open
zanetasochon wants to merge 3 commits intodevmentor-pl:masterfrom
zanetasochon:master
Open

feat: Create Nova Template Layout#177
zanetasochon wants to merge 3 commits intodevmentor-pl:masterfrom
zanetasochon:master

Conversation

@zanetasochon
Copy link
Collaborator

No description provided.

Copy link
Owner

@devmentor-pl devmentor-pl left a comment

Choose a reason for hiding this comment

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

Żaneto,

Projekt prezentuje się bardzo dobrze! 👍
Parę uwag dot. semantyki czy BEM zostawiłem w komentarzach :)

index.html Outdated
</ul>
</nav>
<section class="container__nav hero">
<div class="left-section__hero">
Copy link
Owner

Choose a reason for hiding this comment

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

Zrobił bym z tego article, niby mała treść, ale spójna więc kwalifikuje się na ten znacznik :)

index.html Outdated
</a>
</div>
</div>
<div class="ipad-screen__hero">
Copy link
Owner

Choose a reason for hiding this comment

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

Może figure?

index.html Outdated
Comment on lines 65 to 66
<div class="features__offer">
<div class="offer__item">
Copy link
Owner

Choose a reason for hiding this comment

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

Może ul > li bo to lista elementów, nawet nazwy klas o tym świadczą.

PS. W BEM jeśli występuje Element tj. offer__item, to musi występować Block tj. offer - nawet jeśli nie jest on stylowany

</section>

<section class="about__container">
<figure class="imac-screen">
Copy link
Owner

Choose a reason for hiding this comment

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

Dlaczego wiec w pozostałych nie użyłaś tego znacznika?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Trochę się miotam z BEM i znacznikami, w trakcie pisania HTMLa dopiero gdzieś wygooglowałam co to jest figure, bo mi się divoza zrobiła, ale w docsach MDN jest napisane, że "referenced as a single unit" co rozumiem, że jest to element pojedynczy, ale co to znaczy? bez treści? I umieściłam go testowo :D

Copy link
Owner

Choose a reason for hiding this comment

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

Myślę, że tutaj znajdziesz odpowiedź: https://stackoverflow.com/questions/37828046/what-is-the-purpose-of-the-figure-tag-in-html

Jeśli obrazek (i nie tylko) reprezentuje przekaz tj. niesie za sobą treść to wtedy używamy figure.

index.html Outdated
<figure class="imac-screen">
<img src="./images/imac.png" alt="White Imac on light background" />
</figure>
<div class="about__section-text">
Copy link
Owner

Choose a reason for hiding this comment

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

Tutaj też bym dał article

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Czy article nie służy do artykułów? Posty na blogu itd?

index.html Outdated
</section>

<section class="plan__container">
<div class="plan__header">
Copy link
Owner

Choose a reason for hiding this comment

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

Może header jako znacznik dla section. To nie tylko element dla nagłówka całej strony, ale i artykułu czy sekcji.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Good to know!

index.html Outdated
Comment on lines 136 to 137
<div class="plan__cards">
<div class="plan__card-item">
Copy link
Owner

Choose a reason for hiding this comment

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

Tutaj też można by było ul > li

<section class="form__container">
<h1 class="form__title">Download FREE!</h1>
<p class="form__description">Take it for a ride for any of your projects!</p>
<form method="post" action="template.php" class="email__form">
Copy link
Owner

Choose a reason for hiding this comment

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

Na samej grafice tego już nie było :P

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Faktycznie, dopiero zwróciłam uwagę! Wzorowałam się na live preview, łatwiej mi tak jak można sobie "pochodzić" po stronie, zobaczyć efekty, choćby przypomnieć sobie linkowanie po ID na onepage żeby po kliknięciu nam się ładnie sunęło do sekcji. Podlinkowałeś w Readme link do projektu i założyłam z góry, że warto, czy to jest ok? :)

Copy link
Owner

@devmentor-pl devmentor-pl left a comment

Choose a reason for hiding this comment

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

Żaneto,

Wszystko jest ok. Odpowiedziałem również na komentarz :)

</div>
<div class="ipad-screen__hero">
</article>
<figure class="ipad-screen__hero">
Copy link
Owner

Choose a reason for hiding this comment

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

👍

<div class="features__offer">
<div class="offer__item">
<ul class="offer">
<li class="offer__item">
Copy link
Owner

Choose a reason for hiding this comment

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

👍

</li>

<div class="offer__item">
<li class="offer__item">
Copy link
Owner

Choose a reason for hiding this comment

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

👍

</section>

<section class="about__container">
<figure class="imac-screen">
Copy link
Owner

Choose a reason for hiding this comment

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

Myślę, że tutaj znajdziesz odpowiedź: https://stackoverflow.com/questions/37828046/what-is-the-purpose-of-the-figure-tag-in-html

Jeśli obrazek (i nie tylko) reprezentuje przekaz tj. niesie za sobą treść to wtedy używamy figure.

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