remove emojis with real icons
All checks were successful
Test and deploy staging / staging (push) Successful in 1m46s
All checks were successful
Test and deploy staging / staging (push) Successful in 1m46s
This commit is contained in:
@@ -2,6 +2,9 @@
|
||||
import { resolve } from '$app/paths';
|
||||
import portrait from '$lib/assets/stan.jpg?url';
|
||||
import ProgressBar from '$lib/components/ProgressBar.svelte';
|
||||
import ArrowRight from 'lucide-svelte/icons/arrow-right';
|
||||
import ExternalLink from 'lucide-svelte/icons/external-link';
|
||||
import Mail from 'lucide-svelte/icons/mail';
|
||||
import type { PageProps } from './$types';
|
||||
|
||||
let { data }: PageProps = $props();
|
||||
@@ -21,7 +24,7 @@
|
||||
},
|
||||
{
|
||||
name: 'animaldex',
|
||||
subtitle: 'add neighborhood pets to the world map 😼',
|
||||
subtitle: 'add neighborhood pets to the world map',
|
||||
href: '/projects/animaldex',
|
||||
external: false
|
||||
},
|
||||
@@ -68,15 +71,26 @@
|
||||
<a
|
||||
href="https://git.stanrunge.dev/stan"
|
||||
rel="external"
|
||||
class="hover:text-[var(--site-text)]">git ↗</a
|
||||
class="inline-flex items-center gap-1 hover:text-[var(--site-text)]"
|
||||
>git <ExternalLink size={14} aria-hidden="true" /></a
|
||||
>
|
||||
<a href="https://x.com/stanrunge" rel="external" class="hover:text-[var(--site-text)]"
|
||||
>twitter ↗</a
|
||||
<a
|
||||
href="https://x.com/stanrunge"
|
||||
rel="external"
|
||||
class="inline-flex items-center gap-1 hover:text-[var(--site-text)]"
|
||||
>twitter <ExternalLink size={14} aria-hidden="true" /></a
|
||||
>
|
||||
<a href="https://esports.vash.software" rel="external" class="hover:text-[var(--site-text)]"
|
||||
>vash esports ↗</a
|
||||
<a
|
||||
href="https://esports.vash.software"
|
||||
rel="external"
|
||||
class="inline-flex items-center gap-1 hover:text-[var(--site-text)]"
|
||||
>vash esports <ExternalLink size={14} aria-hidden="true" /></a
|
||||
>
|
||||
<a
|
||||
href="mailto:stan@stanrunge.dev"
|
||||
class="inline-flex items-center gap-1 hover:text-[var(--site-text)]"
|
||||
>email <Mail size={14} aria-hidden="true" /></a
|
||||
>
|
||||
<a href="mailto:stan@stanrunge.dev" class="hover:text-[var(--site-text)]">email ↗</a>
|
||||
</nav>
|
||||
</div>
|
||||
<img
|
||||
@@ -93,7 +107,11 @@
|
||||
|
||||
<section aria-labelledby="projects-heading" class="border-t border-[var(--site-border)] pt-8">
|
||||
<h2 id="projects-heading" class="mb-4 text-2xl font-semibold tracking-tight">
|
||||
<a href={resolve('/projects')} class="hover:text-[var(--site-muted)]">projects ↗</a>
|
||||
<a
|
||||
href={resolve('/projects')}
|
||||
class="inline-flex items-center gap-1 hover:text-[var(--site-muted)]"
|
||||
>projects <ArrowRight size={20} aria-hidden="true" /></a
|
||||
>
|
||||
</h2>
|
||||
<ul>
|
||||
{#each projects as project (project.name)}
|
||||
@@ -108,7 +126,11 @@
|
||||
<span class="block">{project.name}</span>
|
||||
<span class="mt-1 block text-base text-[var(--site-muted)]">{project.subtitle}</span
|
||||
>
|
||||
</span><span aria-hidden="true" class="shrink-0 text-[var(--site-muted)]">↗</span>
|
||||
</span><ExternalLink
|
||||
size={18}
|
||||
aria-hidden="true"
|
||||
class="shrink-0 text-[var(--site-muted)]"
|
||||
/>
|
||||
</a>
|
||||
{:else}
|
||||
<a
|
||||
@@ -119,7 +141,11 @@
|
||||
<span class="block">{project.name}</span>
|
||||
<span class="mt-1 block text-base text-[var(--site-muted)]">{project.subtitle}</span
|
||||
>
|
||||
</span><span aria-hidden="true" class="shrink-0 text-[var(--site-muted)]">↗</span>
|
||||
</span><ArrowRight
|
||||
size={18}
|
||||
aria-hidden="true"
|
||||
class="shrink-0 text-[var(--site-muted)]"
|
||||
/>
|
||||
</a>
|
||||
{/if}
|
||||
</li>
|
||||
@@ -129,7 +155,11 @@
|
||||
|
||||
<section aria-labelledby="lists-heading" class="pt-14 sm:pt-20">
|
||||
<h2 id="lists-heading" class="mb-4 text-2xl font-semibold tracking-tight">
|
||||
<a href={resolve('/lists')} class="hover:text-[var(--site-muted)]">lists ↗</a>
|
||||
<a
|
||||
href={resolve('/lists')}
|
||||
class="inline-flex items-center gap-1 hover:text-[var(--site-muted)]"
|
||||
>lists <ArrowRight size={20} aria-hidden="true" /></a
|
||||
>
|
||||
</h2>
|
||||
<ul>
|
||||
{#each data.lists as list (list.id)}
|
||||
@@ -140,12 +170,13 @@
|
||||
>
|
||||
<span class="flex flex-wrap items-center justify-between gap-x-6 gap-y-1">
|
||||
<span>{list.name}</span>
|
||||
<span class="text-base text-[var(--site-muted)]">
|
||||
<span class="inline-flex items-center gap-1 text-base text-[var(--site-muted)]">
|
||||
{#if list.isProgress && data.user}
|
||||
{list.total ? Math.round((list.checked / list.total) * 100) : 0}% · {list.checked}/{list.total}
|
||||
{:else}
|
||||
{list.total} {list.total === 1 ? 'item' : 'items'}
|
||||
{/if} ↗
|
||||
{/if}
|
||||
<ArrowRight size={16} aria-hidden="true" />
|
||||
</span>
|
||||
</span>
|
||||
{#if list.isProgress}<span class="mt-3 block"
|
||||
|
||||
Reference in New Issue
Block a user