Files
SpotMicroESP32-Leika/app/src/lib/components/menu/GithubButton.svelte
T
Rune Harlyk 91a7b170fe 🎨 format
2025-10-11 10:42:32 +02:00

16 lines
316 B
Svelte

<script lang="ts">
import { Github } from '../icons'
interface Props {
github: any
}
let { github }: Props = $props()
</script>
{#if github.active}
<a href={github.href} class="btn btn-ghost" target="_blank" rel="noopener noreferrer">
<Github class="h-5 w-5" />
</a>
{/if}