mirror of
https://github.com/youwen5/site.git
synced 2024-11-28 10:53:50 -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 run build
|
||||||
bun preview
|
bun preview
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## License
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
import Coredump from '$lib/assets/Coredump.svelte';
|
import Coredump from '$lib/assets/Coredump.svelte';
|
||||||
import Separator from '../ui/separator/separator.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 updateCurrent = () => {
|
||||||
const path = window.location.pathname;
|
const path = window.location.pathname;
|
||||||
|
@ -44,9 +44,9 @@
|
||||||
class:selected={current === 'about'}>About</a
|
class:selected={current === 'about'}>About</a
|
||||||
>
|
>
|
||||||
<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="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
|
<a
|
||||||
href="/blog"
|
href="/blog"
|
||||||
|
|
|
@ -79,14 +79,14 @@
|
||||||
</Card.Content>
|
</Card.Content>
|
||||||
<Card.Footer>
|
<Card.Footer>
|
||||||
<span class="flex gap-2">
|
<span class="flex gap-2">
|
||||||
<Button variant="outline" href="/projects"
|
|
||||||
>My Projects<ArrowRight class="ml-2" /></Button
|
|
||||||
>
|
|
||||||
<Button
|
<Button
|
||||||
variant="secondary"
|
variant="secondary"
|
||||||
size="icon"
|
size="icon"
|
||||||
href="https://github.com/couscousdude?tab=repositories"><GithubLogo /></Button
|
href="https://github.com/couscousdude?tab=repositories"><GithubLogo /></Button
|
||||||
>
|
>
|
||||||
|
<Button variant="outline" href="/portfolio"
|
||||||
|
>My Portfolio<ArrowRight class="ml-2" /></Button
|
||||||
|
>
|
||||||
</span>
|
</span>
|
||||||
</Card.Footer>
|
</Card.Footer>
|
||||||
</Card.Root>
|
</Card.Root>
|
||||||
|
|
Loading…
Reference in a new issue