mirror of
https://github.com/tabler/tabler.git
synced 2026-08-29 13:21:29 +04:00
36 lines
859 B
Plaintext
36 lines
859 B
Plaintext
---
|
|
// Minimal navbar (small logo + close button) then a .page with the content.
|
|
import BaseLayout from './BaseLayout.astro'
|
|
import Logo from '@shared/components/navbar/Logo.astro'
|
|
|
|
interface Props {
|
|
title?: string
|
|
/** Script/CSS library keys passed to BaseLayout */
|
|
pageLibs?: string[]
|
|
/** body-class front matter — passed down to BaseLayout */
|
|
bodyClass?: string
|
|
}
|
|
|
|
const { title, pageLibs, bodyClass } = Astro.props
|
|
---
|
|
|
|
<BaseLayout title={title} pageLibs={pageLibs} bodyClass={bodyClass}>
|
|
<!-- BEGIN NAVBAR -->
|
|
<header class="navbar">
|
|
<div class="container-fluid">
|
|
<Logo smallLogo />
|
|
|
|
<div>
|
|
<a href="." class="btn btn-close"></a>
|
|
</div>
|
|
</div>
|
|
</header>
|
|
<!-- END NAVBAR -->
|
|
|
|
<!-- BEGIN PAGE BODY -->
|
|
<main class="page" id="content">
|
|
<slot />
|
|
</main>
|
|
<!-- END PAGE BODY -->
|
|
</BaseLayout>
|