mirror of
https://github.com/cheveguerra/bot-whatsapp.git
synced 2026-04-19 20:19:15 +00:00
docs: 📝 update docs
This commit is contained in:
28
packages/docs/src/routes/layout.tsx
Normal file
28
packages/docs/src/routes/layout.tsx
Normal file
@@ -0,0 +1,28 @@
|
||||
import { component$, Slot } from '@builder.io/qwik'
|
||||
|
||||
import Footer from '~/components/widgets/Footer'
|
||||
import Header from '~/components/widgets/Header'
|
||||
|
||||
export default component$(() => {
|
||||
// useClientEffect$(() => {
|
||||
// if (
|
||||
// localStorage.theme === "dark" ||
|
||||
// (!("theme" in localStorage) &&
|
||||
// window.matchMedia("(prefers-color-scheme: dark)").matches)
|
||||
// ) {
|
||||
// document.documentElement.classList.add("dark");
|
||||
// } else {
|
||||
// document.documentElement.classList.remove("dark");
|
||||
// }
|
||||
// });
|
||||
|
||||
return (
|
||||
<>
|
||||
<Header />
|
||||
<main>
|
||||
<Slot />
|
||||
</main>
|
||||
<Footer />
|
||||
</>
|
||||
)
|
||||
})
|
||||
Reference in New Issue
Block a user