From 607679036e8dd5d9322e9e3150c2bdf73e7235c6 Mon Sep 17 00:00:00 2001 From: Pedro Pereira Date: Tue, 23 Sep 2025 18:11:46 +0100 Subject: [PATCH 1/2] feat: add page --- src/pages/404.astro | 56 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 src/pages/404.astro diff --git a/src/pages/404.astro b/src/pages/404.astro new file mode 100644 index 0000000..6343f4c --- /dev/null +++ b/src/pages/404.astro @@ -0,0 +1,56 @@ +--- +import "../styles/global.css"; +import { Button } from "@/components/ui/button"; +import Image from "astro/components/Image.astro"; +import logo from "../assets/logo.svg"; + +const year = new Date().getFullYear(); +const currentUrl = Astro.url.href; +--- + + + + + + 404 — Página não encontrada + + +
+ CoderDojo Braga's Logo +
+ +

404

+

+ Oops! A página que procuras não existe. +

+

+ O link pode estar desatualizado ou a página foi movida. +

+ +
+ + + +
+ +
+ URL: + {currentUrl} +
+ + + + From 94a567deda809ebf2c2eb74902b7221df58c8f71 Mon Sep 17 00:00:00 2001 From: Pedro Pereira Date: Mon, 29 Sep 2025 11:47:56 +0100 Subject: [PATCH 2/2] chore: add back navigation --- src/pages/404.astro | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pages/404.astro b/src/pages/404.astro index 6343f4c..bf97222 100644 --- a/src/pages/404.astro +++ b/src/pages/404.astro @@ -37,8 +37,8 @@ const currentUrl = Astro.url.href;