Sorry, the page you were looking for was not found 😔
+diff --git a/themes/haystack/assets/sass/main.scss b/themes/haystack/assets/sass/main.scss index 62bba771..719450f1 100644 --- a/themes/haystack/assets/sass/main.scss +++ b/themes/haystack/assets/sass/main.scss @@ -20,4 +20,4 @@ /** * Pages */ -@import "pages/index", "pages/tutorials", "pages/community"; +@import "pages/index", "pages/tutorials", "pages/community", "pages/404"; diff --git a/themes/haystack/assets/sass/pages/404.scss b/themes/haystack/assets/sass/pages/404.scss new file mode 100644 index 00000000..723b1140 --- /dev/null +++ b/themes/haystack/assets/sass/pages/404.scss @@ -0,0 +1,30 @@ +.error-page .inner { + display: flex; + flex-direction: column; + align-items: center; + gap: 0.75rem; + + .text { + > span { + display: block; + font-size: var(--h1-size); + line-height: 1.2; + text-align: center; + } + + > p { + text-align: center; + } + } + + .buttons { + display: flex; + flex-direction: column; + align-items: center; + gap: 0.75rem; + + .btn { + transform: scale(0.85); + } + } +} \ No newline at end of file diff --git a/themes/haystack/layouts/404.html b/themes/haystack/layouts/404.html new file mode 100644 index 00000000..844f0063 --- /dev/null +++ b/themes/haystack/layouts/404.html @@ -0,0 +1,19 @@ +{{ define "main" }} +
Sorry, the page you were looking for was not found 😔
+