diff --git a/src/lib/components/billboard.svelte b/src/lib/components/billboard.svelte index 9f0ab8f..a9c7b4b 100755 --- a/src/lib/components/billboard.svelte +++ b/src/lib/components/billboard.svelte @@ -1,12 +1,12 @@
-

meowwww

+

{randomQuote()}

diff --git a/src/lib/functions/randomquote.ts b/src/lib/functions/randomquote.ts new file mode 100644 index 0000000..d9884b2 --- /dev/null +++ b/src/lib/functions/randomquote.ts @@ -0,0 +1,21 @@ +const quotes: string[] = [ + "meowwwww", + "made with my tiny paws :3c", + "no bunnies were harmed in the making of this site", + "everyday is halloween!!!", + "proud bug parent", + "was zur hölle", + "katzenhasen sind echt!", + "are you lost?", + "i am within 100 metres of your current location...", + "all bite, no bark", + "halloween is just a week away", + "WOOF WOO- i mean meow meow =^w^=", + "let's go gambling!" +] + +export default function randomQuote() { + const index: number = Math.floor(Math.random() * quotes.length); + const quote: string = quotes[index] + return quote +} \ No newline at end of file