Fix title.svelte

This commit is contained in:
Soph :3 2026-01-02 16:25:55 +02:00
parent 70da1db833
commit 8ba5b8ec90
5 changed files with 8 additions and 5 deletions

View file

@ -1,6 +1,9 @@
<script lang="ts">
const {size}: {size: string} = $props();
import { cn } from "$lib/utils";
import type { ClassValue } from 'svelte/elements';
const props: { class: ClassValue } = $props();
</script>
<div class="text-{size || "2xl"} bg-clip-text text-transparent bg-linear-to-r from-amber-500 to-orange-500">
<div class={cn(props.class, "bg-clip-text text-transparent bg-linear-to-r from-amber-500 to-orange-500")}>
chat.sad.ovh
</div>