File tree Expand file tree Collapse file tree 2 files changed +10
-12
lines changed Expand file tree Collapse file tree 2 files changed +10
-12
lines changed Original file line number Diff line number Diff line change 3
3
import AppSidebar from " $components/customs/app-sidebar.svelte" ;
4
4
import Header from " $components/customs/header.svelte" ;
5
5
import Separator from " $components/ui/separator/separator.svelte" ;
6
- import Seo from " $components/customs/seo.svelte" ;
7
- import { useAuth } from " $lib/hooks/auth.svelte" ;
8
6
9
7
let { children } = $props ();
10
-
11
- const auth = useAuth ();
12
8
</script >
13
9
14
- {#if auth .user && auth .token }
15
- <Seo
16
- title =" {auth .user ?.full_name } ( {auth .user ?.username }) - GNU/Weeb Mail"
17
- description =" Configure your email client using this config"
18
- image ={auth .user ?.photo }
19
- />
20
- {/if }
21
-
22
10
<Sidebar .Provider class =" light" >
23
11
<AppSidebar />
24
12
Original file line number Diff line number Diff line change 5
5
import { mailConfig } from " $constants" ;
6
6
import { toast } from " svelte-sonner" ;
7
7
import { copyText } from " svelte-copy" ;
8
+ import { useAuth } from " $lib/hooks/auth.svelte" ;
9
+ import Seo from " $components/customs/seo.svelte" ;
10
+
11
+ const auth = useAuth ();
8
12
9
13
const copy = async (text : string ) => {
10
14
try {
18
22
};
19
23
</script >
20
24
25
+ <Seo
26
+ title =" {auth .user ?.full_name } ( {auth .user ?.username }) - GNU/Weeb Mail"
27
+ description =" Configure your email client using this config"
28
+ image ={auth .user ?.photo }
29
+ />
30
+
21
31
<div class =" flex h-full w-full justify-center" >
22
32
<Card .Root >
23
33
<Card .Header class =" py-5" >
You can’t perform that action at this time.
0 commit comments