21 lines
682 B
Plaintext
21 lines
682 B
Plaintext
---
|
|
import Layout from "@layouts/Layout.astro";
|
|
import SettingsNav from "@components/SettingsNav.astro";
|
|
import type { SettingsProps as Props } from "@utils/types.ts";
|
|
|
|
//I love prop drilling
|
|
const { active, title } = Astro.props;
|
|
---
|
|
<Layout>
|
|
<div class="h-full w-full flex font-inter">
|
|
<div class="w-1/4 bg-(--background) flex mt-14">
|
|
<SettingsNav active={active} title={title} />
|
|
</div>
|
|
<div class="h-full mt-14 flex-grow px-12 py-8 flex flex-col">
|
|
<h1 class="text-4xl font-semibold"> {title} </h1>
|
|
<div class="border-b border-(--border) w-full mb-4"></div>
|
|
<slot />
|
|
</div>
|
|
</div>
|
|
</Layout>
|