From 90c348d20b40f8196ff40ea5368891d7d849e339 Mon Sep 17 00:00:00 2001 From: Surjith S M Date: Wed, 12 Apr 2023 20:28:57 +0530 Subject: [PATCH] add 404 page. fixes #19 --- src/components/navbar/navbar.astro | 3 ++- src/pages/404.astro | 19 +++++++++++++++++++ 2 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 src/pages/404.astro diff --git a/src/components/navbar/navbar.astro b/src/components/navbar/navbar.astro index 89bc45f..11e8264 100644 --- a/src/components/navbar/navbar.astro +++ b/src/components/navbar/navbar.astro @@ -9,9 +9,10 @@ const menuitems = [ title: "Features", path: "#", children: [ - { title: "Action", path: "#" }, + { title: "Action", path: "/" }, { title: "Another action", path: "#" }, { title: "Dropdown Submenu", path: "#" }, + { title: "404 Page", path: "/404" }, ], }, { diff --git a/src/pages/404.astro b/src/pages/404.astro new file mode 100644 index 0000000..54275f8 --- /dev/null +++ b/src/pages/404.astro @@ -0,0 +1,19 @@ +--- +import { Icon } from "astro-icon"; +import Layout from "@layouts/Layout.astro"; +import Container from "@components/container.astro"; +import Sectionhead from "@components/sectionhead.astro"; +import Button from "@components/ui/button.astro"; +import Contactform from "@components/contactform.astro"; +--- + + + +
+
+

404

+

Page not found.

+
+
+
+