diff --git a/src/components/Rewards/AppQuests/AppQuestCard.tsx b/src/components/Rewards/AppQuests/AppQuestCard.tsx index 77628c0e..01aa8a30 100644 --- a/src/components/Rewards/AppQuests/AppQuestCard.tsx +++ b/src/components/Rewards/AppQuests/AppQuestCard.tsx @@ -193,10 +193,11 @@ const QuestItem: FC = ({ : undefined } tooltipPosition="bottom-left" - width="fit-content" - maxWidth="220px" css={css` - text-wrap: balance; + box-sizing: border-box; + width: max-content; + max-width: none; + white-space: nowrap; `} > { }) const { data: app1Quests } = useGetQuests({ - appId: "push-chain-bridge" + appId: "pusd" }); const { data: app2Quests } = useGetQuests({ - appId: "zappi" + appId: "lastone" }); const { data: app1QuestsProgress, refetch: refetchApp1QuestsProgress } = useGetQuestsProgress({ - appId: "push-chain-bridge", + appId: "pusd", userId: userDetails?.userId }); const { data: app2QuestsProgress, refetch: refetchApp2QuestsProgress } = useGetQuestsProgress({ - appId: "zappi", + appId: "lastone", userId: userDetails?.userId }); @@ -81,7 +81,7 @@ const AppQuestSection = () => { refetchQuestActivities(); }; - const targetDate = "2026-08-27T14:00:00Z"; + const targetDate = "2026-09-10T14:00:00Z"; const { timeLeft } = useCountdown(targetDate); const buildCompletedMap = (quests: QuestProgress[] | undefined) => { @@ -109,9 +109,9 @@ const AppQuestSection = () => { `} > { completedMap={app1CompletedMap} questProgressMap={questProgressMap} setErrorMessage={setErrorMessage} - titleGradient="linear-gradient(180deg, #000000 16.15%, #730BE3 89.06%);" - linkColor="#551798" + titleGradient="linear-gradient(180deg, #000 16.15%, #A056E2 89.06%);" + linkColor="#4D2783" /> { bossProgressMap[q.questId] = q?.progressPercentage ?? 0; }); - const targetDate = "2026-08-27T14:00:00Z"; + const targetDate = "2026-09-10T14:00:00Z"; const { timeLeft } = useCountdown(targetDate); const finishFiveQuestDescription = "Earn XP by completing 5 quests on a single app in a week"; diff --git a/src/components/Rewards/utils/activityTypeArray.ts b/src/components/Rewards/utils/activityTypeArray.ts index 259f8a23..37520642 100644 --- a/src/components/Rewards/utils/activityTypeArray.ts +++ b/src/components/Rewards/utils/activityTypeArray.ts @@ -1,4 +1,4 @@ -const OTHER_ACTIVITY_PREFIXES = ['bridge_', 'zappi_', 'moleswap_', 'boss_', 'bonus_']; +const OTHER_ACTIVITY_PREFIXES = ['pusd_', 'lastone_', 'moleswap_', 'boss_', 'bonus_']; export const isOtherRewardActivity = (activityTypeId: string): boolean => OTHER_ACTIVITY_PREFIXES.some((prefix) => activityTypeId?.startsWith(prefix)); diff --git a/src/components/Rewards/utils/skipVerificationActivities.ts b/src/components/Rewards/utils/skipVerificationActivities.ts index 6d1638b8..e829c4f8 100644 --- a/src/components/Rewards/utils/skipVerificationActivities.ts +++ b/src/components/Rewards/utils/skipVerificationActivities.ts @@ -1,4 +1,4 @@ -const SKIP_VERIFICATION_PREFIXES = ['bridge_', 'zappi_', 'moleswap_', 'boss_','bonus_non_cult_share_on_x_xp_boost']; +const SKIP_VERIFICATION_PREFIXES = ['pusd_', 'lastone_', 'moleswap_', 'boss_','bonus_non_cult_share_on_x_xp_boost']; export const shouldSkipVerification = (activityTypeId: string): boolean => SKIP_VERIFICATION_PREFIXES.some((prefix) => activityTypeId?.startsWith(prefix)); diff --git a/src/queries/types/rewards.ts b/src/queries/types/rewards.ts index bcad38b5..aea8429f 100644 --- a/src/queries/types/rewards.ts +++ b/src/queries/types/rewards.ts @@ -14,8 +14,8 @@ export type RewardsAcitivitesResponse = { export type ActvityType = | "follow_push_on_discord" | "follow_push_on_twitter" - | `bridge_${string}` - | `zappi_${string}` + | `pusd_${string}` + | `lastone_${string}` | `moleswap_${string}` | `boss_${string}` | `bonus_${string}`