/
githubmirror
/
tabler
Обзор
Документация
Войти
/
githubmirror
/
tabler
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
dev
shared/layouts/PayLayout.astro
35 строк
859 B
Paweł Kuna
Add screenshots package and fix `card-gradient` minify bug (#2793)
07 авг 2026, 01:48
Не верифицирован
07 авг 2026, 01:48
b38cd32
Код
Авторство
О чём код?
--- // 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>