[wip] Rework Shop

- Change strategy for content fetching
- Add a route per page instead of using __layout for all
- Change the behaviors of the posters section (add a carousel on small screens)
- Change Poster buttons styling and make interactions only for desktop
This commit is contained in:
2021-12-14 23:23:12 +01:00
parent 140e8f1fa2
commit 82f5dd4727
17 changed files with 808 additions and 364 deletions

View File

@@ -142,7 +142,7 @@
width: 100%;
.container {
padding: 0 16px 24px;
padding: 0 0 24px;
@include bp (md) {
display: grid;
@@ -166,10 +166,18 @@
// Navigation
nav {
display: flex;
justify-content: center;
ul {
display: flex;
align-items: center;
justify-content: center;
overflow: auto;
@include bp (sm) {
justify-content: center;
overflow: hidden;
}
}
li {
display: block;
@@ -199,4 +207,11 @@
}
}
}
// Cart button
.button-cart {
@include bp (sm, max) {
display: none;
}
}
}