Add Shaddar est Mudor.json to public/data: introduce new JSON file for data management.

This commit is contained in:
2025-07-13 23:48:23 +02:00
parent b5acb2b76d
commit ca72b7119f
6 changed files with 277 additions and 23 deletions

File diff suppressed because one or more lines are too long

Binary file not shown.

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -205,18 +205,12 @@ export default function SheetHeader({jsonData}: { jsonData: CharacterData }) {
</span>
</span>
<div className="ms-5 w-[100%] flex items-center gap-2">
{Array.from({length: jsonData.attr.sp - jsonData.attr.permanentSP.lost}, (_, index) => (
{Array.from({length: jsonData.attr.sp}, (_, index) => (
<div
key={`sp-available-${index}`}
className="rounded-full w-5 h-5 bg-gradient-to-br from-violet-700 to-violet-500"
/>
))}
{Array.from({length: jsonData.attr.permanentSP.lost}, (_, index) => (
<div
key={`sp-lost-${index}`}
className="rounded-full w-5 h-5 bg-gradient-to-br from-gray-700 to-gray-500"
/>
))}
</div>
</div>
</div>

View File

@@ -18,7 +18,6 @@ export interface Attributes {
permanentAE: PermanentAttribute;
permanentKP: PermanentAttribute;
permanentLP: PermanentAttribute;
permanentSP: PermanentAttribute;
}
export interface PersonalDetails {