import { type SVGProps } from "react"; interface PlatformDef { name: string; description: string; settingKey: string; Icon: (props: SVGProps) => JSX.Element; } function IconTelegram(props: SVGProps) { return ( ); } function IconNostr(props: SVGProps) { return ( ); } function IconX(props: SVGProps) { return ( ); } function IconYouTube(props: SVGProps) { return ( ); } function IconDiscord(props: SVGProps) { return ( ); } function IconLinkedIn(props: SVGProps) { return ( ); } function IconArrowOut(props: SVGProps) { return ( ); } const PLATFORMS: PlatformDef[] = [ { name: "Telegram", description: "Join the main Belgian chat group for daily discussion and local coordination.", settingKey: "telegram_link", Icon: IconTelegram, }, { name: "Nostr", description: "Follow the BBE on the censorship-resistant social protocol for true signal.", settingKey: "nostr_link", Icon: IconNostr, }, { name: "X", description: "Stay updated with our latest local announcements and event drops.", settingKey: "x_link", Icon: IconX, }, { name: "YouTube", description: "Watch past talks, educational content, and high-quality BBE meetup recordings.", settingKey: "youtube_link", Icon: IconYouTube, }, { name: "Discord", description: "Deep dive into technical discussions, node running, and project collaboration.", settingKey: "discord_link", Icon: IconDiscord, }, { name: "LinkedIn", description: "Connect with the Belgian Bitcoin professional network and industry leaders.", settingKey: "linkedin_link", Icon: IconLinkedIn, }, ]; interface CommunityLinksSectionProps { settings?: Record; } export function CommunityLinksSection({ settings = {} }: CommunityLinksSectionProps) { return (

Join the community

Connect with local Belgian Bitcoiners, builders, and educators.

{PLATFORMS.map((platform) => { const href = settings[platform.settingKey] || "#"; const isExternal = href.startsWith("http"); const Icon = platform.Icon; return (

{platform.name}

{platform.description}

); })}
); }