diff --git a/.changeset/bold-words-post.md b/.changeset/bold-words-post.md new file mode 100644 index 00000000..d3e0997b --- /dev/null +++ b/.changeset/bold-words-post.md @@ -0,0 +1,5 @@ +--- +"openscript-ch-website": patch +--- + +Add 404 page diff --git a/src/layouts/groups/Contact.astro b/src/layouts/groups/Contact.astro index 52549127..f84427ac 100644 --- a/src/layouts/groups/Contact.astro +++ b/src/layouts/groups/Contact.astro @@ -21,7 +21,7 @@ const locale = currentLocale.get(); { - withoutLanguageSwitcher ? null : ( + withoutLanguageSwitcher || !translations ? null : (
  • diff --git a/src/pages/404.astro b/src/pages/404.astro new file mode 100644 index 00000000..a3637a6f --- /dev/null +++ b/src/pages/404.astro @@ -0,0 +1,52 @@ +--- +import Button from "../components/Button.astro"; +import Shell from "../layouts/Shell.astro"; +import Article from "../layouts/templates/Article.astro"; +--- + + + + +
    +
    +
    +

    Sorry, the page you are looking for does not exist.

    + +
    +
    +
    +
    +
    +
    +

    Entschuldigung, die von Ihnen gesuchte Seite existiert nicht.

    + +
    +
    +
    +
    + +