File tree Expand file tree Collapse file tree 2 files changed +27
-1
lines changed
lib/components/SomethingWentWrong Expand file tree Collapse file tree 2 files changed +27
-1
lines changed Original file line number Diff line number Diff line change
1
+ <script >
2
+ import { fade } from ' svelte/transition' ;
3
+ </script >
4
+
5
+ <div
6
+ class =" flex h-full w-full items-center justify-center"
7
+ style =" background-color: hsl(var(--primary));height: 100dvh;"
8
+ >
9
+ <div >
10
+ <h1 in:fade ={{ duration : 2000 }}>
11
+ {` :( Oh No! ` }
12
+ </h1 >
13
+ <h1 in:fade ={{ delay : 1000 , duration : 2000 }}>
14
+ {` Something Went Wrong ` }
15
+ </h1 >
16
+ </div >
17
+ </div >
18
+
19
+ <style >
20
+ h1 {
21
+ font-size : 4.5rem ;
22
+ color : hsl (var (--primary-content ));
23
+ margin : 2% ;
24
+ }
25
+ </style >
Original file line number Diff line number Diff line change 10
10
import UnityAuthContextProvider from ' $lib/context/UnityAuthContextProvider.svelte' ;
11
11
import { getModeFromEnv , type Mode } from ' $lib/services/mode/mode' ;
12
12
import User from ' $lib/components/User/User.svelte' ;
13
+ import SomethingWentWrong from ' $lib/components/SomethingWentWrong/SomethingWentWrong.svelte' ;
13
14
14
15
let contextProviderProps: AsyncResult <UnityAuthContextProviderProps > = ASYNC_IN_PROGRESS ;
15
16
51
52
{:else if contextProviderProps .type == ' inProgress' }
52
53
<!-- <SplashLoading /> -->
53
54
{:else }
54
- <!-- < SomethingWentWrong /> -- >
55
+ <SomethingWentWrong />
55
56
{/if }
56
57
57
58
<style >
You can’t perform that action at this time.
0 commit comments