mirror of
https://tangled.org/tranquil.farm/tranquil-pds
synced 2026-04-25 10:50:31 +00:00
22 lines
447 B
Svelte
22 lines
447 B
Svelte
<script lang="ts" module>
|
|
const EXAMPLE_HANDLES = [
|
|
"nel.pet",
|
|
"oyster.cafe",
|
|
"llaama.bsky.social",
|
|
"debugman.wizardry.systems",
|
|
"nonbinary.computer",
|
|
"mary.my.id",
|
|
"olaren.dev",
|
|
] as const;
|
|
|
|
export function getRandomHandle(): string {
|
|
return EXAMPLE_HANDLES[Math.floor(Math.random() * EXAMPLE_HANDLES.length)];
|
|
}
|
|
</script>
|
|
|
|
<script lang="ts">
|
|
let handle = $state(getRandomHandle());
|
|
</script>
|
|
|
|
@{handle}
|