[READ-ONLY] Mirror of https://github.com/flo-bit/flo-bit.github.io. my personal website, w/ astro, svelte, tailwind, typescript, threlte
flo-bit.dev/
portfolio
portfolio-website
svelte
sveltekit
tailwind
threejs
threlte
typescript
580 B
22 lines
1<script lang="ts">
2 export let codeUrl: string | undefined;
3 export let projectUrl: string | undefined;
4</script>
5
6{#if codeUrl}
7 <a
8 href={codeUrl}
9 target="_blank"
10 class="flex w-full items-center justify-center rounded-xl bg-white/10 px-8 py-3 text-base font-medium text-white hover:bg-white/20"
11 >check out the code</a
12 >
13{/if}
14
15{#if projectUrl}
16 <a
17 href={projectUrl}
18 target="_blank"
19 class="flex w-full items-center justify-center rounded-xl dark:text-black bg-accent-400 px-8 py-3 text-base font-medium text-white hover:bg-accent-300"
20 >launch project</a
21 >
22{/if}