diff --git a/src/routes/__error.svelte b/src/routes/__error.svelte new file mode 100644 index 0000000..8f8c9a8 --- /dev/null +++ b/src/routes/__error.svelte @@ -0,0 +1,88 @@ + + + + + +
+ + +
+ + + +
+
+ + + + +
+
+
+ + +
+
+
+
+ + + \ No newline at end of file diff --git a/src/routes/index.svelte b/src/routes/index.svelte index 3f31ed5..02f954e 100644 --- a/src/routes/index.svelte +++ b/src/routes/index.svelte @@ -104,7 +104,7 @@
-
+
* { + margin: 20px auto 0; + + @include bp (sm) { + margin: 0 16px; + } + } +} \ No newline at end of file diff --git a/src/style/pages/_error.scss b/src/style/pages/_error.scss new file mode 100644 index 0000000..fd38cfd --- /dev/null +++ b/src/style/pages/_error.scss @@ -0,0 +1,26 @@ +.page-error { + // Top + &__top { + margin-bottom: 72px; + + @include bp (sm) { + margin-bottom: 120px; + } + + // Heading + .heading { + padding: 0 24px; + margin-bottom: 40px; + + @include bp (sm) { + margin-bottom: 72px; + } + + p { + @include bp (sm, max) { + max-width: 480px; + } + } + } + } +} \ No newline at end of file diff --git a/src/style/pages/_homepage.scss b/src/style/pages/_homepage.scss index 56b3306..b56964b 100644 --- a/src/style/pages/_homepage.scss +++ b/src/style/pages/_homepage.scss @@ -116,22 +116,13 @@ margin-bottom: 160px; } - .cards { - justify-content: center; + // List + .list-cta { margin-top: 48px; @include bp (sm) { - display: flex; margin-top: 72px; } - - & > * { - margin: 20px auto 0; - - @include bp (sm) { - margin: 0 16px; - } - } } } diff --git a/src/style/style.scss b/src/style/style.scss index bfd2c80..f961eaa 100644 --- a/src/style/style.scss +++ b/src/style/style.scss @@ -28,6 +28,7 @@ @import "pages/location"; @import "pages/viewer"; @import "pages/shop"; +@import "pages/error"; // Modules @import "modules/globe"; @@ -53,6 +54,7 @@ @import "molecules/location"; @import "molecules/switcher"; @import "molecules/heading"; +@import "molecules/list-cta"; @import "molecules/issue"; @import "molecules/newsletter-form"; @import "molecules/poster";