AI Resource Pro / website · airesourcepro.com / src / app / tutorials / page.tsx
| 1 | import Link from "next/link"; |
| 2 | import { JsonLd } from "@/components/json-ld"; |
| 3 | import { PageIntro } from "@/components/page-intro"; |
| 4 | import { collectionJsonLd, pageMetadata } from "@/lib/seo"; |
| 5 | import { getPublishedTutorials, getTutorialMetas } from "@/lib/tutorials"; |
| 6 | import { TutorialFilter } from "./tutorial-filter"; |
| 7 | |
| 8 | const description = |
| 9 | "Every AI Resource Pro tutorial: Claude and Claude Code, ChatGPT and Codex, computer-use agents, and open-weight AI models on your own GPU. Filter by track, level and format."; |
| 10 | |
| 11 | export const metadata = pageMetadata({ title: "All AI tutorials", description, path: "/tutorials" }); |
| 12 | |
| 13 | export default function TutorialsPage() { |
| 14 | return ( |
| 15 | <div className="page"> |
| 16 | <JsonLd |
| 17 | data={collectionJsonLd({ |
| 18 | name: "All AI tutorials", |
| 19 | description, |
| 20 | path: "/tutorials", |
| 21 | tutorials: getPublishedTutorials(), |
| 22 | })} |
| 23 | /> |
| 24 | <PageIntro label="Tutorials" title="All tutorials" lead={ |
| 25 | <> |
| 26 | Filter by track, level, or whether there's a video. New to AI?{" "} |
| 27 | <Link href="/getting-started" className="text-link"> |
| 28 | Start here |
| 29 | </Link> |
| 30 | . |
| 31 | </> |
| 32 | } |
| 33 | /> |
| 34 | <TutorialFilter tutorials={getTutorialMetas()} /> |
| 35 | </div> |
| 36 | ); |
| 37 | } |