mirror of
https://codeberg.org/HPCesia/AstralHalo.git
synced 2025-04-08 17:34:27 +08:00
23 lines
595 B
Plaintext
23 lines
595 B
Plaintext
---
|
|
import MainLayout from '@layouts/MainLayout.astro';
|
|
|
|
interface Props {
|
|
title?: string;
|
|
description?: string;
|
|
lang?: string;
|
|
}
|
|
const { title, description, lang } = Astro.props;
|
|
---
|
|
|
|
<MainLayout title={title} description={description} lang={lang}>
|
|
<div id="main-content" class="my-4 w-full">
|
|
<slot />
|
|
</div>
|
|
<div id="aside-content" class="my-4 flex w-96 flex-col gap-4 max-xl:hidden">
|
|
<slot name="aside-fixed" slot="aside-fixed" />
|
|
<div class="sticky top-20 flex flex-col gap-4">
|
|
<slot name="aside-sticky" slot="aside-sticky" />
|
|
</div>
|
|
</div>
|
|
</MainLayout>
|