move welcome to stats file
This commit is contained in:
1 parent
7a28c14612
commit
696ec515eb
2 files changed
+3
-3
No files matched your search
@@ -11,7 +11,7 @@ const sk = await
|
|||||||
fetch(`${baseUrl}/characters/collateral/skills.json`)
|
fetch(`${baseUrl}/characters/collateral/skills.json`)
|
||||||
.then(r => r.json());
|
.then(r => r.json());
|
||||||
|
|
||||||
export function Welcome() {
|
export function Stats() {
|
||||||
|
|
||||||
const [stats, setStats] = useState(st);
|
const [stats, setStats] = useState(st);
|
||||||
const [skills, setSkills] = useState(sk)
|
const [skills, setSkills] = useState(sk)
|
||||||
+2
-2
@@ -1,5 +1,4 @@
|
|||||||
import type { Route } from "./+types/home";
|
import type { Route } from "./+types/home";
|
||||||
import { Welcome } from "../welcome/welcome";
|
|
||||||
import { Awareness } from "../skills/awareness";
|
import { Awareness } from "../skills/awareness";
|
||||||
import { Body } from "../skills/body";
|
import { Body } from "../skills/body";
|
||||||
import { Control } from "../skills/control";
|
import { Control } from "../skills/control";
|
||||||
@@ -10,6 +9,7 @@ import { Ranged } from "../skills/ranged"
|
|||||||
import { Social } from "../skills/social"
|
import { Social } from "../skills/social"
|
||||||
import { Technique } from "../skills/technique"
|
import { Technique } from "../skills/technique"
|
||||||
import { Details } from "../details/details"
|
import { Details } from "../details/details"
|
||||||
|
import { Stats } from "../details/stats"
|
||||||
import { Humanity } from "../details/humanity"
|
import { Humanity } from "../details/humanity"
|
||||||
import { Health } from "../details/health"
|
import { Health } from "../details/health"
|
||||||
|
|
||||||
@@ -43,7 +43,7 @@ export default function Home() {
|
|||||||
<Humanity />
|
<Humanity />
|
||||||
<Health />
|
<Health />
|
||||||
</div>
|
</div>
|
||||||
<div className="stats-and-skills-stats"><Welcome /></div>
|
<div className="stats-and-skills-stats"><Stats /></div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div className="flex-col stats-and-skills-skill-column">
|
<div className="flex-col stats-and-skills-skill-column">
|
||||||
|
|||||||
Reference in new issue
Block a user