fix(dashboard): DPP tags properly dynamic based on user target exam
This commit is contained in:
@@ -23,9 +23,11 @@ export function StreakOnboardingModal() {
|
||||
|
||||
const streak = user.streak_count;
|
||||
|
||||
const targetExam = user.target_exam?.replace("_", " ") || "JEE/NEET";
|
||||
|
||||
// Streak-based wishes and titles
|
||||
let wishTitle = "Welcome to PragatiVeer! 🌟";
|
||||
let wishMessage = "Prepare yourself to conquer JEE/NEET. Your daily practice starts here!";
|
||||
let wishMessage = `Prepare yourself to conquer ${targetExam}. Your daily practice starts here!`;
|
||||
let iconTheme = "text-[#00F0FF] bg-[#00F0FF]/10";
|
||||
let iconComponent = <Sparkles className="size-10" />;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user