mirror of
https://github.com/youwen5/site.git
synced 2024-11-24 17:33:51 -08:00
feat: rename 'projects' to 'portfolio'
This commit is contained in:
parent
4f6bba661c
commit
13eb780246
4 changed files with 8 additions and 6 deletions
|
@ -16,3 +16,5 @@ bun dev
|
|||
bun run build
|
||||
bun preview
|
||||
```
|
||||
|
||||
## License
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue