Files

81 lines
2.2 KiB
TypeScript

import type { Route } from "./+types/home";
import { Awareness } from "../skills/awareness";
import { Body } from "../skills/body";
import { Control } from "../skills/control";
import { EducationTop, EducationBottom } from "../skills/education";
import { Fighting } from "../skills/fighting";
import { Performance } from "../skills/performance";
import { RangedTop, RangedBottom } from "../skills/ranged";
import { Social } from "../skills/social";
import { Technique } from "../skills/technique";
import { Details } from "../details/details";
import { Stats } from "../details/stats";
import { WeaponsAndArmor } from "../details/weaponsandarmor";
export function meta({}: Route.MetaArgs) {
return [
{ title: "Collateral - Stats and Skills" },
{ name: "description", content: "Stats and Skills" },
];
}
function SkillTable() {
return (
<div style={{ display: "flex", flexDirection: "row" }}>
<div style={{ flexGrow: 1 }}>
<Awareness />
<Body />
<Control />
<EducationTop />
</div>
<div style={{ flexGrow: 1 }}>
<EducationBottom />
<Fighting />
<Performance />
<RangedTop />
</div>
<div style={{ flexGrow: 1 }}>
<RangedBottom />
<Social />
<Technique />
</div>
</div>
);
}
export default function StatsAndSkills() {
return (
<main style={{ display: "flex", flexDirection: "column", height: "100vh" }}>
<div style={{ position: "relative", height: "100%", margin: "10px" }}>
<div
style={{
display: "flex",
flexDirection: "row",
justifyContent: "space-evenly",
position: "absolute",
height: "100%",
width: "100%",
}}
>
<div style={{ width: "400px", height: "100%" }}>
<Details />
</div>
<div style={{ overflow: "auto" }}>
<Stats />
</div>
<div style={{ display: "flex", flexDirection: "column" }}>
<div style={{ overflow: "auto" }}>
<SkillTable />
</div>
<div>
<WeaponsAndArmor />
</div>
</div>
</div>
</div>
</main>
);
}