import Link from "next/link"; import { BranchBand } from "@/components/branch-band"; import { AREAS } from "@/lib/catalog"; import { getFieldLessons } from "@/lib/lessons"; import { pageMetadata, SITE_DESCRIPTION, SITE_TITLE } from "@/lib/seo"; export const metadata = pageMetadata({ title: SITE_TITLE, description: SITE_DESCRIPTION, absoluteTitle: true }); export default function HomePage() { return (

Become a Pro

Free lessons that teach the useful skills of your trade, step by step.

{AREAS.map((area) => (

{area.name}

{area.summary}

    {area.fields.map((field) => { const count = getFieldLessons(field.slug).length; return (
  • {field.name} {count > 0 && ({count === 1 ? "1 lesson" : `${count} lessons`})}
  • ); })}
))}
); }