feat: adiciona banner desktop e mobile

This commit is contained in:
Rafael Sampaio de Oliveira 2022-10-09 20:25:31 -03:00
parent 0303f189f8
commit 63178a0a7e
4 changed files with 64 additions and 0 deletions

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 1.1 MiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 1.1 MiB

View File

@ -12,3 +12,33 @@ header {
height: 100px; height: 100px;
background: #000000; background: #000000;
} }
.banner-desktop {
display: flex;
justify-content: center;
width: 100%;
}
.banner-desktop figure img {
width: 100%;
}
.banner-mobile {
display: none;
}
@media (max-width: 414px) {
.banner-desktop {
display: none;
}
.banner-mobile {
display: flex;
justify-content: center;
width: 100%;
}
.banner-mobile figure img {
width: 100%;
}
}

View File

@ -18,5 +18,21 @@
/> />
</a> </a>
</header> </header>
<div class="banner-desktop">
<figure>
<img
src="./assets/images/banner-desktop.svg"
alt="Banner da landing page"
/>
</figure>
</div>
<div class="banner-mobile">
<figure>
<img
src="./assets/images/banner-mobile.svg"
alt="Banner da landing page"
/>
</figure>
</div>
</body> </body>
</html> </html>