feat: bio component

This commit is contained in:
light7734 2025-10-13 22:17:25 +03:30
parent 0314e0bbaa
commit 83e3e2d86e
Signed by: light7734
GPG key ID: 8C30176798F1A6BA

25
src/routes/bio.svelte Normal file
View file

@ -0,0 +1,25 @@
<script lang="ts">
import TiltCard from './tiltcard.svelte';
export let avatar: string;
export let description: string;
</script>
<div
class="relative mx-auto flex w-full max-w-2xl rounded-l border-b border-l border-t shadow-lg duration-300 ease-out hover:scale-[1.01] hover:shadow-[5px_5px_5px_#000000]"
>
<div class="m-4">
<h1 class="font-mono text-4xl">LIGHT 7734</h1>
<p class="text-muted-foreground leading-relaxed">
{description}
</p>
</div>
<div class="mx-auto flex max-w-2xl origin-center">
<img
src={avatar}
alt="author"
class="h-full w-full object-cover transition-transform duration-100 ease-out"
/>
</div>
</div>