Add services section
This commit is contained in:
parent
fd3f7c1838
commit
27dbca54f3
10 changed files with 189 additions and 33 deletions
|
@ -2,6 +2,7 @@
|
|||
|
||||
<main>
|
||||
<HeroSection class="hero-section" />
|
||||
<ServicesSection class="services-section" />
|
||||
<ContactSection class="contact-section" />
|
||||
</main>
|
||||
|
||||
|
@ -27,31 +28,26 @@
|
|||
|
||||
main {
|
||||
width: 100%;
|
||||
padding: 0 2rem;
|
||||
display: grid;
|
||||
grid:
|
||||
'hero-section' auto
|
||||
'services-section' auto
|
||||
'contact-section' auto
|
||||
/ 1fr;
|
||||
place-content: start center;
|
||||
place-items: start center;
|
||||
row-gap: 4rem;
|
||||
|
||||
.hero-section {
|
||||
grid-area: hero-section;
|
||||
}
|
||||
|
||||
.services-section {
|
||||
grid-area: services-section;
|
||||
}
|
||||
|
||||
.contact-section {
|
||||
grid-area: contact-section;
|
||||
}
|
||||
|
||||
@media screen and (min-width: $tablet-media-query) {
|
||||
padding: 0 4rem;
|
||||
}
|
||||
|
||||
@media screen and (min-width: $desktop-media-query) {
|
||||
padding: 0 6rem;
|
||||
}
|
||||
}
|
||||
|
||||
</style>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue