Mostly improvements from Linda

This commit is contained in:
LionTion committed 2026-10-13 01:17:38 +02:00
1 parent 714d3464bd
commit e36bec6b36
17 files changed
+197 -73

No files matched your search

+2 -2
View File
@@ -62,7 +62,7 @@ export default function RiddleHintPage({
{ riddle.skipPenaltyPoints > 0 && <p>Überspringt ihr das Rätsel, bekommt ihr {riddle.skipPenaltyPoints} Rufpunkte abgezogen.</p> }
{ riddle.skipPenaltyPoints < 0 && <p>Das Rätsel kann nicht übersprungen werden!</p> }
<div className="center-flex">
{ nextHintToBuy && <OldButton red={false} onAction={() => setShowBuyHint(true)} style={{marginBottom: "1rem"}}>HINWEIS KAUFEN</OldButton> }
<OldButton red={false} onAction={() => setShowBuyHint(true)} disabled={nextHintToBuy === undefined} style={{marginBottom: "1rem"}}>HINWEIS KAUFEN</OldButton>
</div>
{boughtHintObjects.map((hint, index) => (
<div key={hint.id}>
@@ -70,7 +70,7 @@ export default function RiddleHintPage({
</div>
))}
<div className="center-flex">
{ riddle.skipPenaltyPoints > -1 && <OldButton red={true} onAction={() => setShowSkipRiddle(true)} style={{marginTop: "1rem"}}>RÄTSEL ÜBERSPRINGEN</OldButton> }
<OldButton red={true} onAction={() => setShowSkipRiddle(true)} disabled={riddle.skipPenaltyPoints < 0} style={{marginTop: "1rem"}}>RÄTSEL ÜBERSPRINGEN</OldButton>
</div>
{ (showBuyHint || showSkipRiddle) && <div className={clsx(styles["popup"])}>
{ showBuyHint && nextHintToBuy &&