import { GlobeIcon } from "lucide-react"; import { AppStoreApp } from "src/components/connections/SuggestedAppData"; import { AppleIcon } from "src/components/icons/Apple"; import { ChromeIcon } from "src/components/icons/Chrome"; import { FirefoxIcon } from "src/components/icons/Firefox"; import { PlayStoreIcon } from "src/components/icons/PlayStore"; import { ZapStoreIcon } from "src/components/icons/ZapStore"; import { Card, CardFooter, CardHeader, CardTitle, } from "src/components/ui/card"; import { ExternalLinkButton } from "src/components/ui/custom/external-link-button"; export function AppLinksCard({ appStoreApp }: { appStoreApp: AppStoreApp }) { if ( !appStoreApp.appleLink && !appStoreApp.playLink && !appStoreApp.zapStoreLink && !appStoreApp.chromeLink && !appStoreApp.firefoxLink && !appStoreApp.webLink ) { return null; } return ( Links {appStoreApp.webLink && ( Website )} {appStoreApp.playLink && ( Play Store )} {appStoreApp.appleLink && ( App Store )} {appStoreApp.zapStoreLink && ( Zapstore )} {appStoreApp.chromeLink && ( Chrome Web Store )} {appStoreApp.firefoxLink && ( Firefox Add-Ons )} ); }