import { ChevronRightIcon } from "lucide-react"; import { Link } from "react-router"; import { appStoreApps, getAppStoreUrl, } from "src/components/connections/SuggestedAppData"; import { Card, CardContent, CardHeader, CardTitle, } from "src/components/ui/card"; export function NewArrivalsWidget() { const latestApps = appStoreApps .filter((app) => !!app.addedDate) .sort((a, b) => b.addedDate!.localeCompare(a.addedDate!)) .slice(0, 3); if (!latestApps.length) { return null; } return ( New Arrivals {latestApps.map((app) => (
{`${app.title}
{app.title}

{app.description}

))}
); }