Skip to content

Commit c178b61

Browse files
committed
frontend: removed margin, semantic adjustments
1 parent bca3f71 commit c178b61

File tree

1 file changed

+12
-14
lines changed

1 file changed

+12
-14
lines changed

frontend/src/routes/+layout.svelte

+12-14
Original file line numberDiff line numberDiff line change
@@ -7,22 +7,20 @@
77
let { children } = $props();
88
99
let type = $state("timetable");
10-
1110
setContext("type", () => type);
1211
</script>
1312

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>
2621

27-
{@render children()}
22+
<Navbar bind:type />
2823
</div>
24+
25+
<!-- Content -->
26+
{@render children()}

0 commit comments

Comments
 (0)