mirror of
https://github.com/NebulaServices/Nebula.git
synced 2025-05-14 12:20:01 -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 { Header } from "./components/Header.jsx";
|
||||||
import { Home } from "./pages/Home";
|
import { Home } from "./pages/Home";
|
||||||
import { NotFound } from "./pages/_404.jsx";
|
import { NotFound } from "./pages/_404.jsx";
|
||||||
|
import { DiscordPage } from "./pages/discord.jsx";
|
||||||
|
|
||||||
import "./style.css";
|
import "./style.css";
|
||||||
import "./themes/main.css";
|
import "./themes/main.css";
|
||||||
import "./i18n";
|
import "./i18n";
|
||||||
import { discordPag } from "./pages/discord.js";
|
|
||||||
|
|
||||||
export function App() {
|
export function App() {
|
||||||
return (
|
return (
|
||||||
|
@ -18,7 +19,7 @@ export function App() {
|
||||||
<main class="h-full">
|
<main class="h-full">
|
||||||
<Router>
|
<Router>
|
||||||
<Route path="/" component={Home} />
|
<Route path="/" component={Home} />
|
||||||
<Route path="/discord" component={discordPag} />
|
<Route path="/discord" component={DiscordPage} />
|
||||||
<Route default component={NotFound} />
|
<Route default component={NotFound} />
|
||||||
</Router>
|
</Router>
|
||||||
</main>
|
</main>
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import { useTranslation } from "react-i18next";
|
import { useTranslation } from "react-i18next";
|
||||||
|
|
||||||
export function discordPag() {
|
export function DiscordPage() {
|
||||||
const { t } = useTranslation();
|
const { t } = useTranslation();
|
||||||
return (
|
return (
|
||||||
<section class="h-full">
|
<section class="h-full">
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue