fix: sponsor

This commit is contained in:
not-nullptr 2026-06-02 18:58:56 +01:00
parent 438f91aa0c
commit 49821e51cb
3 changed files with 16 additions and 23 deletions

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 8.2 KiB

BIN
src/lib/assets/lily.jpeg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 241 KiB

View File

@ -1,12 +1,12 @@
<script lang="ts"> <script lang="ts">
import Panel from "$lib/components/visual/Panel.svelte"; import Panel from "$lib/components/visual/Panel.svelte";
import { PiggyBankIcon, CopyIcon, CheckIcon } from "lucide-svelte"; import { PiggyBankIcon, CopyIcon, CheckIcon } from "lucide-svelte";
import HotMilk from "$lib/assets/hotmilk.svg?component";
import { DISCORD_URL } from "$lib/util/consts"; import { DISCORD_URL } from "$lib/util/consts";
import { error } from "$lib/util/logger"; import { error } from "$lib/util/logger";
import { m } from "$lib/paraglide/messages"; import { m } from "$lib/paraglide/messages";
import { link, sanitize } from "$lib/store/index.svelte"; import { link, sanitize } from "$lib/store/index.svelte";
import { ToastManager } from "$lib/util/toast.svelte"; import { ToastManager } from "$lib/util/toast.svelte";
import lily from "$lib/assets/lily.jpeg";
let copied = false; let copied = false;
let timeoutId: NodeJS.Timeout | null = null; let timeoutId: NodeJS.Timeout | null = null;
@ -40,20 +40,26 @@
<div class="mt-2 [&>*]:font-normal h-full flex justify-between flex-col"> <div class="mt-2 [&>*]:font-normal h-full flex justify-between flex-col">
<div class="flex gap-3 justify-center text-lg"> <div class="flex gap-3 justify-center text-lg">
<a <a
href="https://hotmilk.studio" href="https://eva.pink"
target="_blank" target="_blank"
class="w-fit h-fit rounded-2xl py-4 btn gap-2 flex flex-col justify-center items-center" class="w-48 h-24 rounded-2xl px-0 btn gap-2 flex flex-col justify-center items-center"
> >
<HotMilk class="w-full h-16" /> <img
src={lily}
alt="Eva"
class="w-full h-full select-none object-cover"
/>
</a> </a>
</div> </div>
<p class="text-muted"> <p class="text-muted">
{@html sanitize(link( {@html sanitize(
"discord_link", link(
m["about.sponsors.description"](), "discord_link",
DISCORD_URL, m["about.sponsors.description"](),
true DISCORD_URL,
))} true,
),
)}
<span class="inline-block mx-[2px] relative top-[2px]"> <span class="inline-block mx-[2px] relative top-[2px]">
<button <button
id="email" id="email"