tangled
alpha
login
or
join now
flo-bit.dev
/
blento
your personal website on atproto - mirror
blento.app
20
fork
atom
overview
issues
pulls
pipelines
add button to random
Florian
3 weeks ago
e4b3bc28
a8c1656e
+25
1 changed file
expand all
collapse all
unified
split
src
routes
random
+page.svelte
+25
src/routes/random/+page.svelte
···
1
1
<script lang="ts">
2
2
import Website from '$lib/website/Website.svelte';
3
3
+
import { Button } from '@foxui/core';
3
4
4
5
let { data } = $props();
5
6
</script>
6
7
7
8
<Website {data} />
9
9
+
10
10
+
<Button
11
11
+
onclick={() => {
12
12
+
window.location.reload();
13
13
+
}}
14
14
+
size="lg"
15
15
+
class="bg-accent-100 hover:bg-accent-200 dark:bg-accent-950/50 dark:hover:bg-accent-900/50 fixed right-4 bottom-4"
16
16
+
><svg
17
17
+
xmlns="http://www.w3.org/2000/svg"
18
18
+
width="24"
19
19
+
height="24"
20
20
+
viewBox="0 0 24 24"
21
21
+
fill="none"
22
22
+
stroke="currentColor"
23
23
+
stroke-width="2"
24
24
+
stroke-linecap="round"
25
25
+
stroke-linejoin="round"
26
26
+
class="lucide lucide-dices-icon lucide-dices"
27
27
+
><rect width="12" height="12" x="2" y="10" rx="2" ry="2" /><path
28
28
+
d="m17.92 14 3.5-3.5a2.24 2.24 0 0 0 0-3l-5-4.92a2.24 2.24 0 0 0-3 0L10 6"
29
29
+
/><path d="M6 18h.01" /><path d="M10 14h.01" /><path d="M15 6h.01" /><path d="M18 9h.01" /></svg
30
30
+
>Next
31
31
+
<span class="sr-only">Next random profile</span></Button
32
32
+
>