Skip to content

Commit

Permalink
favicon & submit-button
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex-redman committed Oct 5, 2024
1 parent bebf281 commit 2679f5f
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 4 deletions.
Binary file added src/images/logo-fav.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 10 additions & 4 deletions src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,11 @@
name="viewport"
content="width=device-width, initial-scale=1.0"
/>
<title>Title</title>
<title>NAMU</title>
<link
rel="icon"
href="images/logo-fav.png"
/>
<link
rel="stylesheet"
href="./styles/main.scss"
Expand Down Expand Up @@ -408,14 +412,16 @@ <h3 class="subscribe__info-title">Підпишіться на дайджест</
</p>
</div>

<input
<form class="subscribe__form" onsubmit="this.reset(); return false;">
<input
required
type="email"
class="subscribe__email"
placeholder="e-mail"
/>
/>

<button class="subscribe__button">Підписатись</button>
<button type="submit" class="subscribe__button">Підписатись</button>
</form>
</div>

<footer class="contacts">
Expand Down
5 changes: 5 additions & 0 deletions src/styles/blocks/subscribe.scss
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,11 @@
}
}

&__form{
display: flex;
flex-direction: column;
}

&__email {
margin-bottom: 30px;
width: 100%;
Expand Down

0 comments on commit 2679f5f

Please sign in to comment.