Markdown Converter
Agent skill for markdown-converter
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
Sign in to like and favorite skills
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
ARK Scavenger Hunt is a marketing/landing website for ARK Experiences, a corporate team-building scavenger hunt service in Toronto. Built with Next.js 15 (App Router), React 19, TypeScript 5.9, and Tailwind CSS 4. Deployed on Vercel with Convex as the backend.
pnpm dev # Dev server on localhost:3000 pnpm build # Production build (NODE_ENV=production) pnpm start # Start production server pnpm lint # ESLint (next/core-web-vitals + next/typescript) pnpm run optimize:images # Sharp-based image optimization script
Package manager is pnpm. No test suite is configured.
src/app/'use client' only for interactive sections (hero, gallery, testimonials)POST /api/contact (contact form), POST /api/email-signup (newsletter)src/app/actions/subscribe-email.tssrc/app/blog/[slug]/page.tsxsrc/components/sections/ — Full-page sections composing the homepage (hero, what, how-it-works, gallery, testimonials, founders, footer)src/components/ui/ — Reusable primitives (Shadcn/ui style with CVA variants, Radix UI primitives)src/components/blocks/ — Composite UI blocks (testimonials columns, cards stack)src/components/lazy-section.tsx — Intersection Observer wrapper for lazy-loading non-critical sectionsconvex/schema.ts. Tables: contacts, emailSignupsconvex/contacts.ts (mutation + action for contact form + email dispatch), convex/emailSignups.ts (mutation for newsletter signup)convex/contacts.tssrc/components/convex-client-provider.tsx, wraps app in layout.tsx@/* maps to ./src/* (configured in tsconfig.json)
any, no unsafe castsauth-wizard), semantic names with auxiliaries (isLoading, hasError)'use client'; keep client components presentationalnpx shadcn@latest add, don't fork core stylesRequired in
.env.local:
NEXT_PUBLIC_CONVEX_URL # Convex deployment URL NEXT_PUBLIC_APP_URL # http://localhost:3000 for dev
Convex environment variables (set via
npx convex env set):
RESEND_API_KEY # Resend email API key ARK_TEAM_EMAILS # Comma-separated team notification emails
/ProjectDocs/Build_Notes/ with naming build-title_phase-#_task-group-name.md/ProjectDocs/Build_Notes/completed//ProjectDocs/contexts/projectContext.mdWCAG 2.0 compliant color palette defined as CSS variables in
globals.css:
#0941B3 (14.6:1 contrast)#2E5090 (dark backgrounds)#BD2E00 (8.7:1 contrast)#A28300curlycloud.dev (for iframe embedding)next.config.ts sets security headers (X-Content-Type-Options, Referrer-Policy, X-DNS-Prefetch-Control)