feat(home): Adiciona banner principal desktop e mobile #2

Merged
SavioCarvalhoMoraes merged 1 commits from feature/main/main-banner into development 2022-10-10 14:17:59 +00:00
5 changed files with 54 additions and 1 deletions

View File

@ -0,0 +1,32 @@
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
.page-header {
display: flex;
padding: 28px 0;
justify-content: center;
background-color: #000000;
}
.header-logo {
display: block;
}
.main-banner {
width: 100%;
display: block;
}
@media screen and (max-width: 1023px) {
.main-banner-desktop {
display: none;
}
}
@media screen and (min-width: 1024px) {
.main-banner-mobile {
display: none;
}
}

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 333 KiB

View File

@ -10,7 +10,19 @@
</head>
<body>
<header class="page-header">
<a href="/">
<img class="header-logo" src="./assets/imagens/Logo-M3Academy 1.svg" alt="Logo M3 Academy" />
</a>
</header>
<main>
<figure>
<img class="main-banner main-banner-desktop" src="./assets/imagens/main-banner-desktop.png"
alt="Banner principal desktop">
<img class="main-banner main-banner-mobile" src="./assets/imagens/main-banner-mobile.png"
alt="Banner principal mobile">
</figure>
</main>
</body>
</html>