From 6e0701dba10bd05f81b51acce17082af36a6faf9 Mon Sep 17 00:00:00 2001 From: satya319 Date: Sat, 23 Sep 2023 00:38:56 +0530 Subject: [PATCH] mjs --- astro.config.mjs | 4 ++-- src/components/Nav.astro | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/astro.config.mjs b/astro.config.mjs index 785f328..3322a4c 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -1,6 +1,6 @@ import { defineConfig } from 'astro/config'; export default defineConfig({ - site: 'https://satyajit.github.io', - base: '/satya319', + site: 'https://satya319.github.io/satya319/', + //base: '/satya319', }) diff --git a/src/components/Nav.astro b/src/components/Nav.astro index 2ca3a2c..89d4d84 100644 --- a/src/components/Nav.astro +++ b/src/components/Nav.astro @@ -5,9 +5,9 @@ import type { iconPaths } from './IconPaths'; /** Main menu items */ const textLinks: { label: string; href: string }[] = [ - { label: 'Home', href: '../' }, - { label: 'Work', href: '../work/' }, - { label: 'About', href: '../about/' }, + { label: 'Home', href: '/' }, + { label: 'Work', href: '/work/' }, + { label: 'About', href: '/about/' }, ]; /** Icon links to social media — edit these with links to your profiles! */