Skip to content

Commit

Permalink
feat: move loot calculator to top of page
Browse files Browse the repository at this point in the history
it doesn't work because loot tables are still broken
  • Loading branch information
1092384 committed Oct 31, 2024
1 parent d0b734c commit ae1c4a3
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions app/(wiki)/loot/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,16 @@ export default function LootPage() {
various items to drop.
</p>
</div>
<div className="mt-8">
<div className="prose prose-invert" id="calc">
<h2>Calculator</h2>
<p>
Use this interactive calculator to determine the chance of an item
dropping from an obstacle.
</p>
</div>
<LootCalc />
</div>
<div>
{Object.entries(LootTables.normal).map(([name, tables]) => (
<div key={name} id={name}>
Expand Down Expand Up @@ -54,16 +64,6 @@ export default function LootPage() {
</p>
</div>
</div>
<div className="mt-8">
<div className="prose prose-invert" id="calc">
<h2>Calculator</h2>
<p>
Use this interactive calculator to determine the chance of an item
dropping from an obstacle.
</p>
</div>
<LootCalc />
</div>
</div>
);
}

0 comments on commit ae1c4a3

Please sign in to comment.