From f3a7e39a5a261f617c7c9bcece661656dcc13c15 Mon Sep 17 00:00:00 2001
From: LynithDev <61880709+LynithDev@users.noreply.github.com>
Date: Wed, 27 Dec 2023 11:56:56 +0100
Subject: Update navbar + some tweaks
---
apps/website/config.ts | 12 ++++++
.../src/components/base/navbar/Navbar.astro | 2 +-
.../src/components/base/navbar/NavbarElement.astro | 45 ++++++++++++----------
apps/website/src/pages/mods.astro | 8 ++++
apps/website/src/pages/projects/oneconfig.astro | 2 +-
5 files changed, 47 insertions(+), 22 deletions(-)
create mode 100644 apps/website/src/pages/mods.astro
(limited to 'apps/website')
diff --git a/apps/website/config.ts b/apps/website/config.ts
index 0d45d76..f53cff0 100644
--- a/apps/website/config.ts
+++ b/apps/website/config.ts
@@ -20,6 +20,10 @@ export const configConst = {
text: 'Home',
path: '/',
},
+ {
+ text: 'Mods',
+ path: '/mods',
+ },
{
text: 'Projects',
dropdown: getProjects().map((project) => {
@@ -27,6 +31,14 @@ export const configConst = {
return project;
}) as unknown as NavbarDropdown[],
},
+ {
+ text: 'About Us',
+ path: '/about',
+ },
+ {
+ text: 'Contact Us',
+ path: '/contact',
+ },
],
},
footer: [
diff --git a/apps/website/src/components/base/navbar/Navbar.astro b/apps/website/src/components/base/navbar/Navbar.astro
index 96c9955..2a1cd51 100644
--- a/apps/website/src/components/base/navbar/Navbar.astro
+++ b/apps/website/src/components/base/navbar/Navbar.astro
@@ -11,7 +11,7 @@ import NavbarElement from '../navbar/NavbarElement.astro';