From 8d142a562640148fa71fe9eeda76c85630ecbad2 Mon Sep 17 00:00:00 2001 From: bender Date: Thu, 5 Mar 2026 13:32:35 +0000 Subject: [PATCH] Add src/components/sections/badge/BadgeCardSection.tsx --- .../sections/badge/BadgeCardSection.tsx | 499 ++++++++++++++++++ 1 file changed, 499 insertions(+) create mode 100644 src/components/sections/badge/BadgeCardSection.tsx diff --git a/src/components/sections/badge/BadgeCardSection.tsx b/src/components/sections/badge/BadgeCardSection.tsx new file mode 100644 index 0000000..34c33b1 --- /dev/null +++ b/src/components/sections/badge/BadgeCardSection.tsx @@ -0,0 +1,499 @@ +"use client"; + +import React, { useEffect, useState } from "react"; +import BadgeCard from "./BadgeCard"; + +interface Badge { + id: string; + tier: string; + eNumber: string; + tagline: string; + accentColor: string; + perks: string[]; + stats: { label: string; value: string }[]; +} + +const BadgeCardSection: React.FC = () => { + const [mounted, setMounted] = useState(false); + + useEffect(() => { + setMounted(true); + }, []); + + const badges: Badge[] = [ + { + id: "tier-1", tier: "Tier I Founder eNative", eNumber: "E-0001", tagline: "The pioneers who saw the future", accentColor: "#c084fc", perks: [ + "Lifetime founder status", "Priority call verification", "Custom badge design"], + stats: [ + { label: "Tier", value: "Founder" }, + { label: "Status", value: "Active" }, + ], + }, + { + id: "cross-tier", tier: "Cross-Tier Business eNative", eNumber: "E-B001", tagline: "Building bridges across networks", accentColor: "#60d8fa", perks: [ + "Cross-tier verification", "Business analytics", "API access"], + stats: [ + { label: "Tier", value: "Business" }, + { label: "Status", value: "Active" }, + ], + }, + { + id: "tier-2", tier: "Tier II Verified eNative", eNumber: "E-1042", tagline: "Community trusted and verified", accentColor: "#6ee7b7", perks: [ + "Verified badge", "Enhanced security", "Community support"], + stats: [ + { label: "Tier", value: "Verified" }, + { label: "Status", value: "Active" }, + ], + }, + { + id: "tier-3", tier: "Tier III Community Verified", eNumber: "E-3517", tagline: "Strength through community consensus", accentColor: "#fcd34d", perks: [ + "Community voting rights", "Collective identity", "Governance participation"], + stats: [ + { label: "Tier", value: "Community" }, + { label: "Status", value: "Active" }, + ], + }, + ]; + + if (!mounted) return null; + + return ( +
+ + +
+

Claim Your Badge. Own Your Identity.

+
+ +
+ {badges.map((badge) => ( +
+
+
+
+
+
+
+
+
+
+ + + + + + + + +
+ {badge.eNumber} +
+
+
+
+ +
+

{badge.tier}

+

{badge.tagline}

+
+ +
+ {badge.perks.map((perk, index) => ( + + {perk} + + ))} +
+ +
+ +
+
+ {badge.stats.map((stat, index) => ( +
+
{stat.label}
+
{stat.value}
+
+ ))} +
+
+
+
+ +
+
+ ))} +
+
+ ); +}; + +export default BadgeCardSection;