Adiciona banners principais desktop e mobile
This commit is contained in:
parent
ac868c95f2
commit
6c1e8984db
@ -21,8 +21,24 @@
|
|||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.main-banner {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
@media screen and (max-width: 392px) {
|
@media screen and (max-width: 392px) {
|
||||||
.header-logo {
|
.header-logo {
|
||||||
width: 180px
|
width: 180px
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media screen and (max-width: 414px) {
|
||||||
|
.main-banner-desktop {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@media screen and (min-width: 415px) {
|
||||||
|
.main-banner-mobile {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
}
|
@ -17,10 +17,19 @@
|
|||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
<!-- Header da landing page M3 Academy -->
|
||||||
<header class="page-header">
|
<header class="page-header">
|
||||||
<a href="/">
|
<a href="/">
|
||||||
<img class="header-logo" src="./assets/images/m3-academy-logo.svg" alt="Logo M3 m3-academy-logo" />
|
<img class="header-logo" src="./assets/images/m3-academy-logo.svg" alt="Logo M3 m3-academy-logo" />
|
||||||
</a>
|
</a>
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
|
<!-- Banner principal -->
|
||||||
|
<div>
|
||||||
|
<figure class="main-banner">
|
||||||
|
<img class="main-banner main-banner-desktop" src="./assets/images/main-banner-desktop.png" alt="Banner principal" />
|
||||||
|
<img class="main-banner main-banner-mobile" src="./assets/images/main-banner-mobile.png" alt="Banner principal" />
|
||||||
|
</figure>
|
||||||
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
Loading…
Reference in New Issue
Block a user