Add global error page
This commit is contained in:
14
src/style/molecules/_list-cta.scss
Normal file
14
src/style/molecules/_list-cta.scss
Normal file
@@ -0,0 +1,14 @@
|
||||
.list-cta {
|
||||
@include bp (sm) {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
& > * {
|
||||
margin: 20px auto 0;
|
||||
|
||||
@include bp (sm) {
|
||||
margin: 0 16px;
|
||||
}
|
||||
}
|
||||
}
|
||||
26
src/style/pages/_error.scss
Normal file
26
src/style/pages/_error.scss
Normal file
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user