1
0
mirror of https://github.com/djkotowski/personal-website.git synced 2026-06-20 13:02:47 -05:00

Update Svelte and other dependencies

This commit is contained in:
2025-03-11 00:26:45 -05:00
parent 1e652d9818
commit fc0d884cce
11 changed files with 525 additions and 1033 deletions
+3 -4
View File
@@ -1,10 +1,9 @@
<script lang="ts">
import type { HTMLAnchorAttributes } from 'svelte/elements'
type LinkProps = { children: any, href: string; target: HTMLAnchorAttributes['target']; title?: HTMLAnchorAttributes['title'] }
export let href: string
export let target: HTMLAnchorAttributes['target']
export let title: HTMLAnchorAttributes['title'] = undefined
let { children, href, target, title }: LinkProps = $props()
</script>
<a class="text-cyan-200 hover:text-cyan-400 hover:border-b border-dotted" {href} {target} {title}><slot /></a>
<a class="text-cyan-200 hover:text-cyan-400 hover:border-b border-dotted" {href} {target} {title}>{@render children?.()}</a>