mirror of
https://github.com/Lissy93/personal-security-checklist.git
synced 2024-06-18 19:00:18 +00:00
26 lines
564 B
TypeScript
26 lines
564 B
TypeScript
import { component$, Slot } from "@builder.io/qwik";
|
|
import type { RequestHandler } from "@builder.io/qwik-city";
|
|
|
|
import Navbar from "../components/furniture/nav";
|
|
import Footer from "../components/furniture/footer";
|
|
|
|
export const onGet: RequestHandler = async ({ cacheControl }) => {
|
|
cacheControl({
|
|
staleWhileRevalidate: 60 * 60 * 24 * 7,
|
|
maxAge: 5,
|
|
});
|
|
};
|
|
|
|
export default component$(() => {
|
|
return (
|
|
<>
|
|
{/* <Header /> */}
|
|
<Navbar />
|
|
<main class="bg-base-100">
|
|
<Slot />
|
|
</main>
|
|
<Footer />
|
|
</>
|
|
);
|
|
});
|