From 83d4ec4a06ae94fd527bffc066ed8a9212f16328 Mon Sep 17 00:00:00 2001 From: denizk0461 Date: Mon, 25 Aug 2025 11:35:00 +0200 Subject: [PATCH] added quote to main page --- src/routes/+page.svelte | 69 +++++++++++++++++++++++++++++++++++------ src/routes/quotes.ts | 18 ++++++----- 2 files changed, 69 insertions(+), 18 deletions(-) diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte index c741316..9098ebe 100644 --- a/src/routes/+page.svelte +++ b/src/routes/+page.svelte @@ -1,31 +1,40 @@ @@ -66,6 +75,11 @@ ]}/>
+
+ {@render marqueeContent({quote: marqueeQuote, ignoreA11y: false})} + {@render marqueeContent({quote: marqueeQuote, ignoreA11y: true})} +
+

about ↬Deniz, the website developer, small and pixelated↫ me

Hi! I'm Deniz. I'm a programmer, sometimes a music producer, and rarely a hard-working student in Northern Germany. Welcome to my webpage!

@@ -97,6 +111,10 @@
+{#snippet marqueeContent({quote, ignoreA11y}: {quote: Quote, ignoreA11y: boolean})} + {quote.content} – {quote.author} [{quote.source}] *** +{/snippet} + \ No newline at end of file diff --git a/src/routes/quotes.ts b/src/routes/quotes.ts index 6c2e881..0626dff 100644 --- a/src/routes/quotes.ts +++ b/src/routes/quotes.ts @@ -2,7 +2,6 @@ export interface Quote { content: string; author: string; source: string; - link: string; } export let quotes: Quote[] = [ @@ -10,12 +9,15 @@ export let quotes: Quote[] = [ content: "If you live a life in letters you might never really feel alive", author: "Pierce Fulton", source: "Life in Letters", - link: "https://youtu.be/qIXK5hc7DNQ", }, - // { - // content: "", - // author: "", - // source: "", - // link: "", - // }, + { + content: "Life's a game made for everyone, and love is the prize", + author: "Avicii & Aloe Blacc", + source: "Wake Me Up", + }, + { + content: "We've come a long way since that day, and we will never look back at the faded silhouette", + author: "Avicii & Salem Al Fakir", + source: "Silhouettes", + }, ]; \ No newline at end of file