Added fictive routes

This commit is contained in:
2026-07-11 22:53:52 -04:00
parent 2f73a330ab
commit 7b8ff5a16f
7 changed files with 60 additions and 2 deletions

5
app/pages/gamemodes.tsx Normal file
View File

@@ -0,0 +1,5 @@
import { Header } from "~/components/header"
export function GamemodesPage() {
return (<main><Header /></main>)
}

5
app/pages/inventory.tsx Normal file
View File

@@ -0,0 +1,5 @@
import { Header } from "~/components/header"
export function InventoryPage() {
return (<main><Header /></main>)
}

5
app/pages/maps.tsx Normal file
View File

@@ -0,0 +1,5 @@
import { Header } from "~/components/header"
export function MapsPage() {
return (<main><Header /></main>)
}

View File

@@ -1,3 +1,7 @@
import { type RouteConfig, index } from "@react-router/dev/routes"; import { type RouteConfig, index, route } from "@react-router/dev/routes";
export default [index("routes/home.tsx")] satisfies RouteConfig; export default [index("routes/home.tsx"),
route("/inventory", "routes/inventory.tsx"),
route("/maps", "routes/maps.tsx"),
route("/gamemodes", "routes/gamemodes.tsx")
] satisfies RouteConfig;

13
app/routes/gamemodes.tsx Normal file
View File

@@ -0,0 +1,13 @@
import type { Route } from "./+types/gamemodes";
import { GamemodesPage } from "../pages/gamemodes";
export function meta({}: Route.MetaArgs) {
return [
{ title: "Porning CS2" },
{ name: "description", content: "Welcome to Porning's CS2 server!" },
];
}
export default function Gamemodes() {
return <GamemodesPage />;
}

13
app/routes/inventory.tsx Normal file
View File

@@ -0,0 +1,13 @@
import type { Route } from "./+types/inventory";
import { InventoryPage } from "../pages/inventory";
export function meta({}: Route.MetaArgs) {
return [
{ title: "Porning CS2" },
{ name: "description", content: "Welcome to Porning's CS2 server!" },
];
}
export default function Inventory() {
return <InventoryPage />;
}

13
app/routes/maps.tsx Normal file
View File

@@ -0,0 +1,13 @@
import type { Route } from "./+types/maps";
import { MapsPage } from "../pages/maps";
export function meta({}: Route.MetaArgs) {
return [
{ title: "Porning CS2" },
{ name: "description", content: "Welcome to Porning's CS2 server!" },
];
}
export default function Maps() {
return <MapsPage />;
}