From e146ea311dd33ade247f7163c0f39f4582d484e2 Mon Sep 17 00:00:00 2001 From: Atridad Lahiji Date: Sun, 25 Jan 2026 21:51:49 -0700 Subject: [PATCH] Added proper 404 --- pnpm-lock.yaml | 8 +- src/components/FuzzyText.vue | 314 +++++++++++++++++++++++++++++++++++ src/config/site.ts | 12 +- src/layouts/Layout.astro | 2 +- src/pages/404.astro | 19 +++ 5 files changed, 344 insertions(+), 11 deletions(-) create mode 100644 src/components/FuzzyText.vue create mode 100644 src/pages/404.astro diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 32b8e6e..a7b8f58 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -1913,8 +1913,8 @@ packages: longest-streak@3.1.0: resolution: {integrity: sha512-9Ri+o0JYgehTaVBBDoMqIl8GXtbWg711O3srftcHhZ0dqnETqLaoIK0x17fUw9rFSlK/0NlsKe0Ahhyl5pXE2g==} - lru-cache@11.2.4: - resolution: {integrity: sha512-B5Y16Jr9LB9dHVkh6ZevG+vAbOsNOYCX+sXvFWFu7B3Iz5mijW3zdbMyhsh8ANd2mSWBYdJgnqi+mL7/LrOPYg==} + lru-cache@11.2.5: + resolution: {integrity: sha512-vFrFJkWtJvJnD5hg+hJvVE8Lh/TcMzKnTgCWmtBipwI5yLX/iX+5UB2tfuyODF5E7k9xEzMdYgGqaSb1c0c5Yw==} engines: {node: 20 || >=22} lru-cache@5.1.1: @@ -5129,7 +5129,7 @@ snapshots: longest-streak@3.1.0: {} - lru-cache@11.2.4: {} + lru-cache@11.2.5: {} lru-cache@5.1.1: dependencies: @@ -6051,7 +6051,7 @@ snapshots: chokidar: 5.0.0 destr: 2.0.5 h3: 1.15.5 - lru-cache: 11.2.4 + lru-cache: 11.2.5 node-fetch-native: 1.6.7 ofetch: 1.5.1 ufo: 1.6.3 diff --git a/src/components/FuzzyText.vue b/src/components/FuzzyText.vue new file mode 100644 index 0000000..e44f924 --- /dev/null +++ b/src/components/FuzzyText.vue @@ -0,0 +1,314 @@ + + + + diff --git a/src/config/site.ts b/src/config/site.ts index 4cf476d..0c161e0 100644 --- a/src/config/site.ts +++ b/src/config/site.ts @@ -16,24 +16,24 @@ export const siteConfig = { nav: [ { text: "Home", - href: "#", + href: "/", }, { text: "Services", - href: "#services", + href: "/#services", }, { text: "About", - href: "#about", + href: "/#about", }, { text: "Contact", - href: "#contact", + href: "/#contact", }, ], cta: { text: "Let's Talk", - href: "#contact", + href: "/#contact", }, mobileLogoText: "Atash", }, @@ -127,7 +127,7 @@ export const siteConfig = { title: "Contact Us", cta: { text: "Let's Talk", - href: "#contact", + href: "/#contact", ariaLabel: "Contact us for consultation", }, mainTitle: "Let's Work Together", diff --git a/src/layouts/Layout.astro b/src/layouts/Layout.astro index d22473f..1428361 100644 --- a/src/layouts/Layout.astro +++ b/src/layouts/Layout.astro @@ -29,7 +29,7 @@ const metaTitle =
-
+