Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/okikio/native. An initiative which aims to make it easy to create complex, light-weight, and perfor okikio.github.io/native
Something went wrong. Try again.
12345678910111213141516171819202122232425262728293031323334---import BaseLayout from "../layouts/BaseLayout.astro";
export interface Props { title: string; description?: string; breadcrumbs?: Array<{ label: string; href: string; }>;}
const { title, description, breadcrumbs = [] } = Astro.props;const pageTitle = `${title} · native`;---
<BaseLayout title={pageTitle} description={description}> <div class="page-shell"> <nav aria-label="Breadcrumb" class="breadcrumbs"> <a href="/">Home</a> {breadcrumbs.map((breadcrumb) => ( <> <span aria-hidden="true">/</span> <a href={breadcrumb.href}>{breadcrumb.label}</a> </> ))} </nav>
<article main-content data-docs-content> <slot /> </article> </div></BaseLayout>