From fc21e2f889919b0d7bb5f2fe95a931acaee45a8c Mon Sep 17 00:00:00 2001 From: Chris Dill Date: Fri, 24 Dec 2021 11:47:14 +0000 Subject: [PATCH] Testing --- src/app.html | 2 +- src/components/Nav.svelte | 36 ++-- src/routes/404.svelte | 350 +++++++++++++++++++++++++++++++++++ src/routes/__error.svelte | 49 ++--- src/routes/blog/index.svelte | 6 +- src/routes/index.svelte | 4 +- static/css/global.css | 19 +- static/img/600x300.png | Bin 0 -> 1994 bytes 8 files changed, 404 insertions(+), 62 deletions(-) create mode 100644 src/routes/404.svelte create mode 100644 static/img/600x300.png diff --git a/src/app.html b/src/app.html index da9abee..dc08e8f 100644 --- a/src/app.html +++ b/src/app.html @@ -8,7 +8,7 @@ - + %svelte.head% diff --git a/src/components/Nav.svelte b/src/components/Nav.svelte index 41ba2af..04ca61b 100644 --- a/src/components/Nav.svelte +++ b/src/components/Nav.svelte @@ -17,24 +17,24 @@ }
-
\ No newline at end of file diff --git a/src/routes/404.svelte b/src/routes/404.svelte new file mode 100644 index 0000000..466f570 --- /dev/null +++ b/src/routes/404.svelte @@ -0,0 +1,350 @@ + + + + + + 404 - Page not found + + + + +
+

The requested page could not be found.

+ + +
+
+

{active}
+
+
+
+

+This was a triumph! +I'm making a note here: +Huge success! + +It's hard to overstate +my satisfaction. + +Aperture Science: +We do what we must +because we can +For the good of all of us. +Except the ones who are dead. + +But there's no sense crying +over every mistake. +You just keep on trying +'til you run out of cake. +And the science gets done. +And you make a neat gun +for the people who are +still alive. + +I'm not even angry... +I'm being so sincere right now. +Even though you broke my heart, +and killed me. + +And tore me to pieces. +And threw every piece into a fire. +As they burned it hurt because +I was so happy for you! + +Now, these points of data +make a beautiful line. +And we're out of beta. +We're releasing on time! +So I'm GLaD I got burned! +Think of all the things we learned! +for the people who are +still alive. + +Go ahead and leave me... +I think I'd prefer to stay inside... +Maybe you'll find someone else +to help you. +Maybe Black Mesa? +That was a joke. Ha Ha. Fat Chance! + +Anyway this cake is great! +It's so delicious and moist! + +Look at me: still talking +when there's science to do! +When I look out there, +it makes me glad I'm not you. + +I've experiments to run. +There is research to be done. +On the people who are +still alive. +And believe me I am +still alive. +I'm doing science and I'm +still alive. +I feel fantastic and I'm +still alive. +While you're dying I'll be +still alive. +And when you're dead I will be +still alive + +Still alive. + +Still alive. +

+
diff --git a/src/routes/__error.svelte b/src/routes/__error.svelte index f804622..44c3f9a 100644 --- a/src/routes/__error.svelte +++ b/src/routes/__error.svelte @@ -230,38 +230,29 @@ H@: :HHHHHHHHHHHHHHHHHHX, =@H diff --git a/src/routes/blog/index.svelte b/src/routes/blog/index.svelte index 63507e4..defdb36 100644 --- a/src/routes/blog/index.svelte +++ b/src/routes/blog/index.svelte @@ -29,13 +29,13 @@

Posts

\ No newline at end of file diff --git a/src/routes/index.svelte b/src/routes/index.svelte index 5aa23b5..c031e17 100644 --- a/src/routes/index.svelte +++ b/src/routes/index.svelte @@ -7,14 +7,14 @@ { name: "Sirius", link: "./sirius", - img: "https://placehold.it/600x300", + img: "img/600x300.png", size: { width: 600, height: 300 }, description: "A 2D game about a wannabe space captain exploring the galaxy.", }, { name: "Quartz", link: "./sirius", - img: "https://placehold.it/600x300", + img: "img/600x300.png", size: { width: 600, height: 300 }, description: "" } diff --git a/static/css/global.css b/static/css/global.css index dcaa7d4..571871e 100755 --- a/static/css/global.css +++ b/static/css/global.css @@ -50,10 +50,11 @@ header { } nav { - align-items: center; - display: flex; - flex-direction: row; - justify-content: space-between; + /* border: 2px solid red; */ + /* align-items: center; */ + /* display: flex; */ + /* flex-direction: row; */ + /* justify-content: space-between; */ max-width: 1200px; margin: 0 auto; } @@ -66,8 +67,8 @@ nav li { /* Link effects */ nav li a { - text-decoration: none; padding: 4px 8px; + text-decoration: none; transition: color 0.1s linear; } @@ -130,19 +131,19 @@ footer { text-align: center; } - nav { + /* nav { flex-direction: column; } nav ul { flex-direction: column; margin: 0 auto; - } + } */ - nav ul li a { + /* nav ul li a { text-align: center; margin: 0 auto; - } + } */ } @media (max-width: 576px) { diff --git a/static/img/600x300.png b/static/img/600x300.png new file mode 100644 index 0000000000000000000000000000000000000000..373b06a59a2932ca186e92b77e797591838489c4 GIT binary patch literal 1994 zcmeAS@N?(olHy`uVBq!ia0y~yV2WU1VANq@W?*1=D|}%o0|SF}fKQ0)nKNgmO`A4n z&YV@NRvkThbmPX2ix)56zJ2??ef!$0i&ii&FmM)lL>4nJ@ErkR#;MwT(hLmjp`I>| zAr*7p-acD=+ePBQ!>Lc!FMc{D#pY>9{4A3m$tcmX}{Y2)ctu!S8llYq}1$pZoJjU z+1>Atp4>3`-m*(OyN}K6NxLnaxcH>o+?Pr5mLH7^mEJ5-xq8j)%w?~4O&ca!UX!;m zd6-*!!~rSzXH@$P=x znc6yAzWr{>?D<)0#dp1YswZDfsTVPe-f?UCYaaP7VS7tH>&yr05s_9`zh=QYn{2TFwSd&2ASy?(eH6alTy_1%^SmW&?Fw&}Ie%UJ zeBY`U_nR(s=FYwqs`n)?Z`!*X#&=KO{NMCXmt%M4a;c+VXWwk*6#v&%x!g;p<=l<9 z%_(0uulL!j{jpPKwU&6xU6tr5k>v)W%QJF!v9c|k{_>Z_n)yb&UlRhhnB8S+-Y{Ft zh_kBJcyD;(v+niQ^Ax`D?K+_Ux_j>HGO^!pe6A!q-te9MMMqQjkVx}9xl2tKq+eQ1 zz22L>{@odq?Gj(UY;_bUo4lv5_;q#mMXSh72aLZKY`JChY3i2wC#}k}%cdWS`G0%$H6x?0(Dn8!l%2yK`4(_5Vv-qoP1YW0{ z{dU!S#b%a7^PRH{47)$%PF8i_^LbaQ^kts&uJx0*hVPdtd7Uv^XY;)}n?i$=L7DF} zH=W@*?KA7vx5#H^$9FwzX)agmu6?sPXus5g*~zCbUI<&5`c^Z3)xu577bg~ae|aOX z;{CO7dEVt0KWqIbr?zi-@atKC@HAb&`yVc9OD=vjrS?j@WX-exk9WP>vd2uM_oP>r z9$R%`?hZ{=?cCk36wWX`Sedrs^2Ot!?XB`lzdX2?XX|ZJ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