Merge pull request 'feat: added banner section and responsive image' (#2) from feature/banner into develop

Reviewed-on: #2
This commit is contained in:
Henrique Santos Santana 2022-10-08 14:30:57 +00:00
commit 6ed372fcc5
2 changed files with 29 additions and 2 deletions

View File

@ -66,6 +66,9 @@
box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.23); box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.23);
} }
.banner {
width: 100%;
}
/*= =*\ /*= =*\
= COMPOSITION = = COMPOSITION =
@ -151,8 +154,6 @@
font-size: 2rem; font-size: 2rem;
} }
.services-container { .services-container {
--hs-flow-space: 26px; --hs-flow-space: 26px;
} }
@ -170,6 +171,10 @@
.hero-image-mobile { .hero-image-mobile {
display: flex; display: flex;
} }
.banner-image-desktop {
display: none;
}
} }
@ -186,4 +191,13 @@
width: 315px; width: 315px;
height: 315px; height: 315px;
} }
.banner-image-desktop {
display: flex;
}
.banner-image-mobile {
display: none;
}
} }

View File

@ -70,6 +70,19 @@
</article> </article>
</div> </div>
</section> </section>
<section class="banner">
<img
class="banner-image banner-image-desktop"
src="./assets/images/feature-2-desktop.jpg"
alt=""
/>
<img
class="banner-image banner-image-mobile"
src="./assets/images/feature-2-mobile.jpg"
alt=""
/>
</section>
</main> </main>
</body> </body>
</html> </html>