run npm run format

This commit is contained in:
cohenerickson 2023-12-14 08:45:54 -06:00
parent 99b08aff08
commit 2fe742f3f0
17 changed files with 259 additions and 238 deletions

View file

@ -1,31 +1,31 @@
import { render } from 'preact';
import { LocationProvider, Router, Route } from 'preact-iso';
import { render } from "preact";
import { LocationProvider, Router, Route } from "preact-iso";
import { Header } from './components/Header.jsx';
import { Home } from './pages/Home';
import { NotFound } from './pages/_404.jsx';
import './style.css';
import './themes/main.css';
import './i18n';
import { discordPag } from './pages/discord.js';
import { Header } from "./components/Header.jsx";
import { Home } from "./pages/Home";
import { NotFound } from "./pages/_404.jsx";
import "./style.css";
import "./themes/main.css";
import "./i18n";
import { discordPag } from "./pages/discord.js";
export function App() {
return (
<LocationProvider>
<div class="flex flex-col h-screen">
<Header />
<div class="flex-1 bg-primary">
<main class="h-full">
<Router>
<Route path="/" component={Home} />
<Route path="/discord" component={discordPag} />
<Route default component={NotFound} />
</Router>
</main>
</div>
</div>
</LocationProvider>
);
return (
<LocationProvider>
<div class="flex h-screen flex-col">
<Header />
<div class="flex-1 bg-primary">
<main class="h-full">
<Router>
<Route path="/" component={Home} />
<Route path="/discord" component={discordPag} />
<Route default component={NotFound} />
</Router>
</main>
</div>
</div>
</LocationProvider>
);
}
render(<App />, document.getElementById('app'));
render(<App />, document.getElementById("app"));