From 696ec515eb86be4c50dba87fe31f3d13a6ad83c4 Mon Sep 17 00:00:00 2001 From: iamBadgers Date: Tue, 20 Oct 2026 22:54:29 -0700 Subject: [PATCH] move welcome to stats file --- app/{welcome/welcome.tsx => details/stats.tsx} | 2 +- app/routes/home.tsx | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) rename app/{welcome/welcome.tsx => details/stats.tsx} (99%) diff --git a/app/welcome/welcome.tsx b/app/details/stats.tsx similarity index 99% rename from app/welcome/welcome.tsx rename to app/details/stats.tsx index 0441edc..f682da9 100644 --- a/app/welcome/welcome.tsx +++ b/app/details/stats.tsx @@ -11,7 +11,7 @@ const sk = await fetch(`${baseUrl}/characters/collateral/skills.json`) .then(r => r.json()); -export function Welcome() { +export function Stats() { const [stats, setStats] = useState(st); const [skills, setSkills] = useState(sk) diff --git a/app/routes/home.tsx b/app/routes/home.tsx index 08b3878..35dbf36 100644 --- a/app/routes/home.tsx +++ b/app/routes/home.tsx @@ -1,5 +1,4 @@ import type { Route } from "./+types/home"; -import { Welcome } from "../welcome/welcome"; import { Awareness } from "../skills/awareness"; import { Body } from "../skills/body"; import { Control } from "../skills/control"; @@ -10,6 +9,7 @@ import { Ranged } from "../skills/ranged" import { Social } from "../skills/social" import { Technique } from "../skills/technique" import { Details } from "../details/details" +import { Stats } from "../details/stats" import { Humanity } from "../details/humanity" import { Health } from "../details/health" @@ -43,7 +43,7 @@ export default function Home() { -
+