mirror of
https://github.com/NebulaServices/Nebula.git
synced 2025-05-14 04:20:00 -04:00
clean up discord import
This commit is contained in:
parent
186d24b1b1
commit
07b205ee31
3 changed files with 3552 additions and 3 deletions
3548
pnpm-lock.yaml
generated
Normal file
3548
pnpm-lock.yaml
generated
Normal file
File diff suppressed because it is too large
Load diff
|
@ -4,10 +4,11 @@ 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 { DiscordPage } from "./pages/discord.jsx";
|
||||
|
||||
import "./style.css";
|
||||
import "./themes/main.css";
|
||||
import "./i18n";
|
||||
import { discordPag } from "./pages/discord.js";
|
||||
|
||||
export function App() {
|
||||
return (
|
||||
|
@ -18,7 +19,7 @@ export function App() {
|
|||
<main class="h-full">
|
||||
<Router>
|
||||
<Route path="/" component={Home} />
|
||||
<Route path="/discord" component={discordPag} />
|
||||
<Route path="/discord" component={DiscordPage} />
|
||||
<Route default component={NotFound} />
|
||||
</Router>
|
||||
</main>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import { useTranslation } from "react-i18next";
|
||||
|
||||
export function discordPag() {
|
||||
export function DiscordPage() {
|
||||
const { t } = useTranslation();
|
||||
return (
|
||||
<section class="h-full">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue