create skill tsx and update skill groups to use it. make things scrollable.

This commit is contained in:
iamBadgers committed 2026-10-23 22:32:29 -07:00
1 parent 824ee6e1e8
commit 18298c35d4
13 files changed
+164 -437

No files matched your search

+6 -32
View File
@@ -1,4 +1,5 @@
import { useState, useEffect } from 'react'
import { SkillHeader, SkillRow } from './skill'
const baseUrl = typeof window !== 'undefined'
? window.location.origin
@@ -19,39 +20,12 @@ export function Performance() {
return (
<main>
<table className="cyber-table">
<thead>
<tr>
<th style={{ width: "70%" }}>PERFORMANCE SKILLS</th>
<th style={{ width: "10%" }}>RANKS</th>
<th style={{ width: "10%" }}>STAT</th>
<th style={{ width: "10%" }}>BASE</th>
</tr>
</thead>
<SkillHeader skillGroup="PERFORMANCE SKILLS" />
<tbody>
<tr>
<td>ACTING</td>
<td>{skills.acting}</td>
<td>{stats.cool}</td>
<td>{stats.cool + skills.acting}</td>
</tr>
<tr>
<td>PLAY INSTRUMENT</td>
<td>---</td>
<td>---</td>
<td>---</td>
</tr>
<tr>
<td>---</td>
<td>---</td>
<td>---</td>
<td>---</td>
</tr>
<tr>
<td>---</td>
<td>---</td>
<td>---</td>
<td>---</td>
</tr>
<SkillRow skillName="ACTING" skillRank={skills.acting} stat={stats.cool} />
<SkillRow skillName="PLAY INSTRUMENT:" skillRank="---" stat="---" />
<SkillRow skillName="--" skillRank="---" stat="---" />
<SkillRow skillName="--" skillRank="---" stat="---" />
</tbody>
</table>
</main>