From 49c42375b9769ed317eb27e8e09b24b11be9d1a9 Mon Sep 17 00:00:00 2001 From: Chris Dill Date: Sat, 6 Feb 2021 21:51:55 +0000 Subject: [PATCH] Update _error layout - Added Banner component. - Cleanup formatting and indentation issues. - Made CSS clearer and easier to change. --- src/routes/_error.svelte | 202 +++++++++++++++++++-------------------- 1 file changed, 96 insertions(+), 106 deletions(-) diff --git a/src/routes/_error.svelte b/src/routes/_error.svelte index 85987c0..f804622 100644 --- a/src/routes/_error.svelte +++ b/src/routes/_error.svelte @@ -1,12 +1,12 @@ - {status} + Quartnzet - {status} -

{status}

+ -

{error.message}

+
+

{error.message}

-{#if dev && error.stack} -
{error.stack}
-{:else} - -
-
-
-
-        
{active}
+ {#if dev && error.stack} +
{error.stack}
+ {:else} + +
+
+

{active}
+
-
- This was a triumph! - I'm making a note here: - Huge success! +
+

+This was a triumph! +I'm making a note here: +Huge success! - It's hard to overstate - my satisfaction. +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. +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. +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. +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! +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. +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! +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! +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. +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 +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. - Still alive. -

-{/if} +Still alive. +

+ {/if} +