- {displayMode === 'reward-spotlight' && project.liveIncentives?.rewards
- ? `Claim ARB rewards on ${project.chains[0]} from ${formatOptionalDate(
- project.liveIncentives?.startDate ?? null,
- 'MMM DD',
- )}.`
- : description}
-
-
- {displayMode === 'reward-spotlight' && project.liveIncentives?.rewards && (
-
- {project.liveIncentives.rewards / 1000}k ARB Rewards
-
- )}
-
- {!isSpotlightMode && (
-
- {!meta.isLive && !isPreviewMode && !isCompactMode && (
-
- Coming Soon
-
+ {title}
+
+
(
-
- {isPreviewMode
- ? subcategory.title.split(' ')[0] // this is to show only the first word of the subcategory in preview mode. eg. 'Infra & Tools (Others)' becomes 'Infra'
- : // this is to break the title after /, i.e. Lending/Borrowing, which is considered as one word by CSS
- subcategory.title.replaceAll('/', ' / ')}
-
- ))}
+ >
+ {displayMode === 'reward-spotlight' && project.liveIncentives?.rewards
+ ? `Claim ARB rewards on ${project.chains[0]} from ${formatOptionalDate(
+ project.liveIncentives?.startDate ?? null,
+ 'MMM DD',
+ )}.`
+ : description}
- )}
+
+ {displayMode === 'reward-spotlight' && project.liveIncentives?.rewards && (
+
+ {project.liveIncentives.rewards / 1000}k ARB Rewards
+
+ )}
+
+ {!isSpotlightMode && (
+
+ {!meta.isLive && !isPreviewMode && !isCompactMode && (
+
+ Coming Soon
+
+ )}
+ {subcategories.slice(0, isPreviewMode ? 1 : 2).map((subcategory) => (
+
+ {isPreviewMode
+ ? subcategory.title.split(' ')[0] // this is to show only the first word of the subcategory in preview mode. eg. 'Infra & Tools (Others)' becomes 'Infra'
+ : // this is to break the title after /, i.e. Lending/Borrowing, which is considered as one word by CSS
+ subcategory.title.replaceAll('/', ' / ')}
+
+ ))}
+
+ )}
+