Skip to content

Commit 32d678c

Browse files
committed
adding gears
1 parent 1236136 commit 32d678c

2 files changed

Lines changed: 19 additions & 5 deletions

File tree

45.9 KB
Loading

src/routes/+layout.svelte

Lines changed: 19 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,33 @@
22
import "../app.css";
33
import Navbar from "$lib/components/nav/Navbar.svelte";
44
let { children } = $props();
5+
import gear from "$lib/components/images/demml-gear-overlay.png";
56
</script>
67

78
<svelte:head>
89
<link rel="icon" type="image/x-icon"/>
910
</svelte:head>
1011

11-
<div class="flex flex-col min-h-screen h-screen font-sans overflow-hidden grid-background">
12-
<Navbar/>
13-
<div class="flex-1 flex items-center justify-center overflow-auto pb-4 border-b-2 border-black pt-[110px] m500:pt-16">
14-
{@render children()}
12+
<div class="flex flex-col min-h-screen h-screen font-sans overflow-hidden relative">
13+
<div class="grid-background absolute inset-0 z-0"></div>
14+
<img
15+
src={gear}
16+
alt="Gear overlay"
17+
class="hidden xl:fixed xl:block top-30 right-20 xl:w-06 xl:h-96 pointer-events-none z-[1]"
18+
/>
19+
<div class="relative z-[2] flex flex-col min-h-screen">
20+
<Navbar/>
21+
<div class="flex-1 flex items-center justify-center overflow-auto pb-4 border-b-2 border-black pt-[110px] m500:pt-16">
22+
{@render children()}
23+
</div>
1524
</div>
25+
<img
26+
src={gear}
27+
alt="Gear overlay"
28+
class="hidden xl:fixed xl:block bottom-30 left-20 xl:w-06 xl:h-96 pointer-events-none z-[1]"
29+
/>
1630
<footer class="flex items-center p-4 bg-primary-700 text-white">
17-
<p class="text-sm text-left">© 2025 Demml.</p>
31+
<p class="text-sm text-left">© 2025 Demml</p>
1832
</footer>
1933
</div>
2034

0 commit comments

Comments
 (0)