2024-02-03 07:07:50 -05:00
|
|
|
import { component$, useStyles$ } from "@builder.io/qwik";
|
2024-01-31 16:18:13 -05:00
|
|
|
import {
|
|
|
|
QwikCityProvider,
|
|
|
|
RouterOutlet,
|
|
|
|
ServiceWorkerRegister,
|
|
|
|
} from "@builder.io/qwik-city";
|
|
|
|
import { RouterHead } from "./components/router-head/router-head";
|
|
|
|
|
2024-02-03 07:07:50 -05:00
|
|
|
import tailwind from './styles/tailwind.css?inline';
|
|
|
|
|
|
|
|
import "./styles/global.css";
|
2024-01-31 16:18:13 -05:00
|
|
|
|
|
|
|
export default component$(() => {
|
2024-02-03 07:07:50 -05:00
|
|
|
|
|
|
|
useStyles$(tailwind);
|
2024-01-31 16:18:13 -05:00
|
|
|
/**
|
|
|
|
* The root of a QwikCity site always start with the <QwikCityProvider> component,
|
|
|
|
* immediately followed by the document's <head> and <body>.
|
|
|
|
*
|
|
|
|
* Don't remove the `<head>` and `<body>` elements.
|
|
|
|
*/
|
|
|
|
|
|
|
|
return (
|
|
|
|
<QwikCityProvider>
|
|
|
|
<head>
|
|
|
|
<meta charSet="utf-8" />
|
|
|
|
<link rel="manifest" href="/manifest.json" />
|
|
|
|
<RouterHead />
|
|
|
|
<ServiceWorkerRegister />
|
|
|
|
</head>
|
2024-02-09 17:51:32 -05:00
|
|
|
<body lang="en" data-theme="dark" class="flex flex-col justify-between min-h-screen">
|
2024-01-31 16:18:13 -05:00
|
|
|
<RouterOutlet />
|
|
|
|
</body>
|
|
|
|
</QwikCityProvider>
|
|
|
|
);
|
|
|
|
});
|