Highlight GOD Mode badge

cgen-8aa49a6bf4004818b5e9e51e2f814139
This commit is contained in:
Builder.io 2025-10-04 21:15:02 +00:00
parent ef9596dec6
commit 16a187b12e

View file

@ -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">