/
githubmirror
/
tabler
Обзор
Документация
Войти
/
githubmirror
/
tabler
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
dev
shared/layouts/SingleLayout.astro
30 строк
626 B
Paweł Kuna
Add screenshots package and fix `card-gradient` minify bug (#2793)
07 авг 2026, 01:48
Не верифицирован
07 авг 2026, 01:48
b38cd32
Код
Авторство
О чём код?
--- import BaseLayout from './BaseLayout.astro' import Logo from '@shared/components/navbar/Logo.astro' interface Props { title?: string containerSize?: string hideLogo?: boolean } const { title, containerSize = 'tight', hideLogo } = Astro.props --- <BaseLayout title={title}> <!-- BEGIN PAGE BODY --> <main class="page page-center" id="content"> <div class={`container container-${containerSize} py-4`}> { !hideLogo && ( <div class="text-center mb-4"> <Logo /> </div> ) } <slot /> </div> </main> <!-- END PAGE BODY --> </BaseLayout>