2024-10-09 21:19:27 +00:00
|
|
|
<script lang="ts">
|
2026-07-28 16:16:26 +00:00
|
|
|
import {relays} from "@app/core"
|
2024-10-09 21:19:27 +00:00
|
|
|
|
2025-11-11 21:39:32 +00:00
|
|
|
type Props = {
|
|
|
|
|
url: string
|
2026-02-10 19:39:29 +00:00
|
|
|
class?: string
|
2025-11-11 21:39:32 +00:00
|
|
|
}
|
|
|
|
|
|
2026-02-10 19:39:29 +00:00
|
|
|
const {url, ...props}: Props = $props()
|
2024-10-09 21:19:27 +00:00
|
|
|
|
2026-07-28 16:16:26 +00:00
|
|
|
const display = $derived($relays.display(url).$)
|
2024-10-09 21:19:27 +00:00
|
|
|
</script>
|
|
|
|
|
|
2026-02-10 19:39:29 +00:00
|
|
|
<span class={props.class}>
|
|
|
|
|
{$display}
|
|
|
|
|
</span>
|