import { useSeoMeta } from '@unhead/react'; import { Link, Navigate } from 'react-router-dom'; import { ArrowLeft, Ruler } from 'lucide-react'; import { useTranslation } from '@/contexts/language'; import { useCurrentUser } from '@/hooks/useCurrentUser'; import { isAdminPubkey } from '@/lib/admins'; import { DeckDesigner } from '@/components/DeckDesigner'; /** * DIY tool page โ€” the parametric 2D deck designer / 1:1 template. * * FROZEN / NOT READY FOR REGULAR USERS (2026-10-05): not listed in the DIY hub * and gated to platform admins, so the owner can keep testing it while the public * can't reach it. Un-gate by removing the `Navigate` guard AND re-adding the * `deckDesigner` card in `src/lib/diyGuides.ts`. */ export default function DeckDesignerPage() { const { t } = useTranslation(); const { user } = useCurrentUser(); useSeoMeta({ title: 'Deck Designer โ€” SkateSpots DIY', description: 'Design a skateboard or longboard outline, then export a printable 1:1 template, SVG or DXF โ€” concave, kicks, wheelbase and truck holes included.', }); if (!isAdminPubkey(user?.pubkey)) return ; return (
{t('diyUi.backToDiy')}

{t('diyUi.designer.title')}

{t('diyUi.designer.intro')}

Internal preview ยท not public yet

); }