import { useSeoMeta } from '@unhead/react';
import { Link } from 'react-router-dom';
import { Hammer, ChevronRight } from 'lucide-react';
import { useTranslation } from '@/contexts/language';
import { cn } from '@/lib/utils';
import { DIY_CATEGORIES, DIY_CARDS, DIY_ACTIONS, type DiyCard } from '@/lib/diyGuides';
/**
* DIY — resources for making your own boards, ramps and concrete spots, with
* cross-links into the rest of the app (find a builder, map a spot, sell).
* Content lives in `src/lib/diyGuides.ts`. Cards with no destination yet render
* unclickable with a "Coming soon" badge.
*/
function DiyCardView({ card }: { card: DiyCard }) {
const { t } = useTranslation();
const body = (
<>
{card.emoji}
{t(card.titleKey)}
{card.comingSoon && (
{t('diyUi.comingSoon')}
)}
{t(card.blurbKey)}
{card.to &&
{t('diyUi.tagline')}
{t('diyUi.footer')}