diff --git a/src/routes/shop/__layout.svelte b/src/routes/shop/__layout.svelte index c5c4812..b2be20e 100644 --- a/src/routes/shop/__layout.svelte +++ b/src/routes/shop/__layout.svelte @@ -1,5 +1,6 @@ {/if} + Back to Houses Of @@ -68,7 +93,7 @@ /> - + shop your city diff --git a/src/style/pages/_shop.scss b/src/style/pages/_shop.scss index 1a39a72..cadcbc3 100644 --- a/src/style/pages/_shop.scss +++ b/src/style/pages/_shop.scss @@ -30,6 +30,9 @@ left: 20px; right: 20px; justify-content: space-between; + transform: translate3d(0, -96px, 0); + transition: transform 1s var(--ease-quart); + transition-delay: 100ms; @include bp (sm) { top: 32px; @@ -37,6 +40,11 @@ right: 32px; } + // Visible state + &.is-visible { + transform: translate3d(0,0,0); + } + // Left &__left { dt {