feat: rename 'projects' to 'portfolio'

This commit is contained in:
Youwen Wu 2024-04-03 15:25:52 -07:00
parent 4f6bba661c
commit 13eb780246
Signed by: youwen5
GPG key ID: 865658ED1FE61EC3
4 changed files with 8 additions and 6 deletions

View file

@ -16,3 +16,5 @@ bun dev
bun run build
bun preview
```
## License

View file

@ -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</a
>
<a
href="/projects"
href="/portfolio"
class="text-md sm:text-lg md:text-xl font-medium dark:text-zinc-50 text-zinc-700 px-4 py-1 rounded-3xl hover:bg-zinc-100 dark:hover:bg-zinc-800 transition-colors duration-200"
class:selected={current === 'projects'}>Projects</a
class:selected={current === 'portfolio'}>Portfolio</a
>
<a
href="/blog"

View file

@ -79,14 +79,14 @@
</Card.Content>
<Card.Footer>
<span class="flex gap-2">
<Button variant="outline" href="/projects"
>My Projects<ArrowRight class="ml-2" /></Button
>
<Button
variant="secondary"
size="icon"
href="https://github.com/couscousdude?tab=repositories"><GithubLogo /></Button
>
<Button variant="outline" href="/portfolio"
>My Portfolio<ArrowRight class="ml-2" /></Button
>
</span>
</Card.Footer>
</Card.Root>