From 13eb7802467a09879f634524066f5da85a0b5d8d Mon Sep 17 00:00:00 2001 From: Youwen Wu Date: Wed, 3 Apr 2024 15:25:52 -0700 Subject: [PATCH] feat: rename 'projects' to 'portfolio' --- README.md | 2 ++ src/lib/components/Navbar/Navbar.svelte | 6 +++--- src/routes/+page.svelte | 6 +++--- src/routes/{projects => portfolio}/+page.svelte | 0 4 files changed, 8 insertions(+), 6 deletions(-) rename src/routes/{projects => portfolio}/+page.svelte (100%) diff --git a/README.md b/README.md index 097bfe2..27f6402 100644 --- a/README.md +++ b/README.md @@ -16,3 +16,5 @@ bun dev bun run build bun preview ``` + +## License diff --git a/src/lib/components/Navbar/Navbar.svelte b/src/lib/components/Navbar/Navbar.svelte index 45a0498..c67e3fe 100644 --- a/src/lib/components/Navbar/Navbar.svelte +++ b/src/lib/components/Navbar/Navbar.svelte @@ -8,7 +8,7 @@ import Coredump from '$lib/assets/Coredump.svelte'; import Separator from '../ui/separator/separator.svelte'; - let current: 'blog' | 'about' | 'home' | 'projects' | string; + let current: 'blog' | 'about' | 'home' | 'portfolio' | string; const updateCurrent = () => { const path = window.location.pathname; @@ -44,9 +44,9 @@ class:selected={current === 'about'}>About ProjectsPortfolio - + diff --git a/src/routes/projects/+page.svelte b/src/routes/portfolio/+page.svelte similarity index 100% rename from src/routes/projects/+page.svelte rename to src/routes/portfolio/+page.svelte