From 2644a44884c4b53948a7ad08a9c12ad893281493 Mon Sep 17 00:00:00 2001 From: Youwen Wu Date: Wed, 28 Aug 2024 05:04:23 -0700 Subject: [PATCH] feat: update main page --- src/routes/+page.svelte | 35 ++++++++++++++++++++++++++++------- 1 file changed, 28 insertions(+), 7 deletions(-) diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte index dc8f80e..f61ece2 100644 --- a/src/routes/+page.svelte +++ b/src/routes/+page.svelte @@ -6,6 +6,7 @@ import Typewriter from 'svelte-typewriter' let homelabStatus: 'checking' | 'failed' | 'unknown' | 'operational' = 'checking' + let showFortune = false onMount(async () => { const timeoutPromise = new Promise((_, reject) => @@ -38,22 +39,22 @@ -
- +
+

👋 Hi. I'm Youwen.

sh-5.2$

- +

uname -a


- I'm a first-year studying math at the University of California, Santa Barbara. Before that, I built robots with Team 1280. In my spare time, I hack on @@ -80,7 +81,7 @@ >

- +

sh-5.2$

ls -l /home/youwen

This section will probably contain a feed of new projects, blog posts, and other stuff that - I've deemed "ready to display". For now, it has this text, because I'm too lazy to actually - implement this feature right now. + I've deemed "ready to display". For now, because I'm too lazy to actually implement this + feature right now, try this instead: +
+ + +

sh-5.2$

+

fortune

+
+ +
+ {#if showFortune} + + Your fortune: + + In civilizations without monads, dreams dry up, mutation takes the place of purity + and the Rustaceans take the place of Hasklars. - Simon Haskal + + + {/if}