Commit c178b61 1 parent bca3f71 commit c178b61 Copy full SHA for c178b61
File tree 1 file changed +12
-14
lines changed
1 file changed +12
-14
lines changed Original file line number Diff line number Diff line change 7
7
let { children } = $props ();
8
8
9
9
let type = $state (" timetable" );
10
-
11
10
setContext (" type" , () => type );
12
11
</script >
13
12
14
- <div class =" m-4" >
15
- <div class =" mb-4 flex items-center justify-between bg-accent pr-4 dark:bg-transparent" >
16
- <!-- Logo -->
17
- <a href =" /" >
18
- <span class =" flex cursor-pointer flex-row items-center font-bold" >
19
- <Logo />
20
- <h1 class =" relative top-[-0.25rem] hidden text-[2rem] md:inline" >NAVIGATOR</h1 >
21
- </span >
22
- </a >
23
-
24
- <Navbar bind:type />
25
- </div >
13
+ <!-- Logo/ Navbar -->
14
+ <div class =" flex items-center justify-between bg-accent pr-4 dark:bg-transparent" >
15
+ <a href =" /" >
16
+ <div class =" flex cursor-pointer flex-row items-center" >
17
+ <Logo />
18
+ <h1 class =" relative top-[-0.25rem] hidden md:inline text-[2rem] font-bold" >NAVIGATOR</h1 >
19
+ </div >
20
+ </a >
26
21
27
- {@ render children ()}
22
+ < Navbar bind:type />
28
23
</div >
24
+
25
+ <!-- Content -->
26
+ {@render children ()}
You can’t perform that action at this time.
0 commit comments