Added fictive routes
This commit is contained in:
5
app/pages/gamemodes.tsx
Normal file
5
app/pages/gamemodes.tsx
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
import { Header } from "~/components/header"
|
||||||
|
|
||||||
|
export function GamemodesPage() {
|
||||||
|
return (<main><Header /></main>)
|
||||||
|
}
|
||||||
5
app/pages/inventory.tsx
Normal file
5
app/pages/inventory.tsx
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
import { Header } from "~/components/header"
|
||||||
|
|
||||||
|
export function InventoryPage() {
|
||||||
|
return (<main><Header /></main>)
|
||||||
|
}
|
||||||
5
app/pages/maps.tsx
Normal file
5
app/pages/maps.tsx
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
import { Header } from "~/components/header"
|
||||||
|
|
||||||
|
export function MapsPage() {
|
||||||
|
return (<main><Header /></main>)
|
||||||
|
}
|
||||||
@@ -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
13
app/routes/gamemodes.tsx
Normal 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
13
app/routes/inventory.tsx
Normal 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
13
app/routes/maps.tsx
Normal 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 />;
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user