From 50d58e5de17fdcc5266046b4c9d8e915e9ae7aa4 Mon Sep 17 00:00:00 2001 From: xHyroM Date: Fri, 6 Jan 2023 23:27:40 +0100 Subject: [PATCH] feat(pages): add 404 page --- src/components/widgets/Navbar.astro | 2 +- src/pages/404.astro | 47 +++++++++++++++++++++++++++++ tailwind.config.cjs | 1 + 3 files changed, 49 insertions(+), 1 deletion(-) create mode 100644 src/pages/404.astro diff --git a/src/components/widgets/Navbar.astro b/src/components/widgets/Navbar.astro index 59ffed1..ba3d8fc 100644 --- a/src/components/widgets/Navbar.astro +++ b/src/components/widgets/Navbar.astro @@ -35,7 +35,7 @@ const navItems = [
  • {item.name} diff --git a/src/pages/404.astro b/src/pages/404.astro new file mode 100644 index 0000000..79f8007 --- /dev/null +++ b/src/pages/404.astro @@ -0,0 +1,47 @@ +--- +import Container from "../components/atoms/Container.astro"; +import Navbar from "../components/widgets/Navbar.astro"; +import Layout from "../layouts/Layout.astro"; +--- + + + +

    + WRONG TURN? +

    + + +
    +

    + We're sorry, but it looks like the page you were trying to visit + has been misplaced. It's not entirely clear where it's gone, but + we suspect it may have gotten lost in the vast expanse of the + internet. +

    + +

    + We've searched high and low, but alas, we can't seem to find it. + It's possible that it's hiding behind a particularly stubborn + firewall, or maybe it's taking a much-needed vacation on a + remote server farm. +

    + +

    + Despite our best efforts, we just can't seem to locate the page + you were looking for. We apologize for any inconvenience this + may have caused. +

    + +

    + In the meantime, why not take a look around our homepage and see if you can find something else that piques your interest? + Who knows, you might just stumble upon something even better than + what you were originally looking for. +

    + +

    Thanks for stopping by, and we hope to see you again soon!

    +
    +
    +
    diff --git a/tailwind.config.cjs b/tailwind.config.cjs index 724a4ed..5bf9df4 100644 --- a/tailwind.config.cjs +++ b/tailwind.config.cjs @@ -6,6 +6,7 @@ module.exports = { colors: { dark: "#0D0D0D", gray: "#131313", + hyroGold: "#fbc119", }, dropShadow: { yellow: ["0 35px 35px rgba(250, 193, 25, 0.5)"],