2024-01-31 21:18:13 +00:00
|
|
|
import { component$, Slot, useStyles$ } from "@builder.io/qwik";
|
|
|
|
import type { RequestHandler } from "@builder.io/qwik-city";
|
|
|
|
|
2024-02-03 12:07:50 +00:00
|
|
|
import Header from "../components/furniture/header";
|
|
|
|
import Navbar from "../components/furniture/nav";
|
|
|
|
import Footer from "../components/furniture/footer";
|
2024-01-31 21:18:13 +00:00
|
|
|
|
2024-02-03 12:07:50 +00:00
|
|
|
// useStyles$(tailwind);
|
2024-01-31 21:18:13 +00:00
|
|
|
|
|
|
|
export const onGet: RequestHandler = async ({ cacheControl }) => {
|
|
|
|
cacheControl({
|
|
|
|
staleWhileRevalidate: 60 * 60 * 24 * 7,
|
|
|
|
maxAge: 5,
|
|
|
|
});
|
|
|
|
};
|
|
|
|
|
|
|
|
export default component$(() => {
|
|
|
|
return (
|
|
|
|
<>
|
2024-02-03 12:07:50 +00:00
|
|
|
{/* <Header /> */}
|
|
|
|
<Navbar />
|
|
|
|
<main class="bg-base-100">
|
2024-01-31 21:18:13 +00:00
|
|
|
<Slot />
|
|
|
|
</main>
|
|
|
|
<Footer />
|
|
|
|
</>
|
|
|
|
);
|
|
|
|
});
|