Highlight GOD Mode badge
cgen-8aa49a6bf4004818b5e9e51e2f814139
This commit is contained in:
parent
ef9596dec6
commit
16a187b12e
1 changed files with 3 additions and 0 deletions
|
|
@ -82,6 +82,9 @@ const PassportSummary = ({
|
|||
const loyaltyPoints = (profile as any)?.loyalty_points ?? 0;
|
||||
const progressToNextLevel = Math.min(((totalXp % 1000) / 1000) * 100, 100);
|
||||
const featureAchievements = achievements.slice(0, MAX_HERO_ACHIEVEMENTS);
|
||||
const godModeUnlocked = achievements.some(
|
||||
(achievement) => achievement.name?.toLowerCase() === "god mode",
|
||||
);
|
||||
|
||||
return (
|
||||
<Card className="bg-gradient-to-br from-slate-950/90 via-slate-900/70 to-slate-950/90 border border-slate-800 shadow-2xl">
|
||||
|
|
|
|||
Loading…
Reference in a new issue