Become a Pro / website · becomeapro.ai / src / lib / catalog.ts
| 1 | // Every area and field on the site. Lessons live in content/lessons/<area>/<field>/<lesson>.mdx. |
| 2 | // To add a field, add it here; a field with no lessons yet says "Lessons coming." |
| 3 | // Field slugs are unique across the whole site (saved lessons are stored as "<field>/<lesson>"). |
| 4 | |
| 5 | export type Field = { slug: string; name: string; summary: string }; |
| 6 | |
| 7 | export type Area = { slug: string; name: string; summary: string; fields: Field[] }; |
| 8 | |
| 9 | export const AREAS: Area[] = [ |
| 10 | { |
| 11 | slug: "trades", |
| 12 | name: "Trades", |
| 13 | summary: "Hands-on work: how the job is done, the tools to use today, and when the law requires a licensed pro.", |
| 14 | fields: [ |
| 15 | { slug: "electrical", name: "Electrical", summary: "Circuits, safe habits, and the small jobs you can do yourself." }, |
| 16 | { slug: "plumbing", name: "Plumbing", summary: "Water supply, drains, leaks and modern fittings." }, |
| 17 | { slug: "hvac", name: "HVAC", summary: "Heating, cooling, heat pumps and airflow." }, |
| 18 | { slug: "carpentry", name: "Carpentry", summary: "Measuring, cutting, framing and finish work." }, |
| 19 | { slug: "welding", name: "Welding", summary: "Processes, safety gear and your first beads." }, |
| 20 | { slug: "roofing", name: "Roofing", summary: "How roofs shed water, inspection and repair." }, |
| 21 | { slug: "auto-repair", name: "Auto repair", summary: "Diagnosis, maintenance, and hybrid and electric cars." }, |
| 22 | { slug: "landscaping", name: "Landscaping", summary: "Soil, plants, watering and outdoor equipment." }, |
| 23 | { slug: "cleaning", name: "Cleaning", summary: "Professional cleaning methods, chemicals and safety." }, |
| 24 | { slug: "cooking", name: "Cooking", summary: "Knife work, heat, food safety and running a station." }, |
| 25 | { slug: "painting", name: "Painting", summary: "Surface prep, coatings and a clean finish." }, |
| 26 | { slug: "flooring-and-tile", name: "Flooring and tile", summary: "Layout, underlayment, tile and floating floors." }, |
| 27 | ], |
| 28 | }, |
| 29 | { |
| 30 | slug: "knowledge-work", |
| 31 | name: "Knowledge work", |
| 32 | summary: "Office and computer work: writing, numbers, people, projects, code and AI.", |
| 33 | fields: [ |
| 34 | { slug: "writing-at-work", name: "Writing at work", summary: "Emails, updates and documents people actually read." }, |
| 35 | { slug: "spreadsheets", name: "Spreadsheets", summary: "Formulas, tables, lookups and clean data." }, |
| 36 | { slug: "bookkeeping", name: "Bookkeeping", summary: "Recording money in and out, and reading the reports." }, |
| 37 | { slug: "customer-service", name: "Customer service", summary: "Listening, solving problems and calm conversations." }, |
| 38 | { slug: "project-management", name: "Project management", summary: "Plans, owners, dates and keeping work moving." }, |
| 39 | { slug: "sales", name: "Sales", summary: "Finding the need, honest pitches and follow-up." }, |
| 40 | { slug: "using-ai", name: "Using AI at work", summary: "Claude, ChatGPT, Codex and AI agents for real work." }, |
| 41 | { slug: "coding", name: "Coding", summary: "Writing software today, with modern tools and AI help." }, |
| 42 | ], |
| 43 | }, |
| 44 | { |
| 45 | slug: "english", |
| 46 | name: "English", |
| 47 | summary: "A full English program: speaking, listening, reading, writing, work words and pronunciation with audio.", |
| 48 | fields: [ |
| 49 | { slug: "speaking", name: "Speaking", summary: "Clear, confident spoken English for work and life." }, |
| 50 | { slug: "listening", name: "Listening", summary: "Understanding real speech, accents and fast talk." }, |
| 51 | { slug: "reading", name: "Reading", summary: "Reading faster and understanding more." }, |
| 52 | { slug: "writing", name: "Writing", summary: "Sentences, grammar and clear messages." }, |
| 53 | { slug: "work-words", name: "Everyday work words", summary: "The words you hear on the job, with audio." }, |
| 54 | { slug: "pronunciation", name: "Pronunciation", summary: "Sounds, stress and rhythm, with audio for every word." }, |
| 55 | ], |
| 56 | }, |
| 57 | { |
| 58 | slug: "math", |
| 59 | name: "Math", |
| 60 | summary: "Practical math for work: numbers, measurement, money, algebra and geometry you will use.", |
| 61 | fields: [ |
| 62 | { slug: "everyday-math", name: "Everyday math", summary: "Mental math, estimating and checking your answers." }, |
| 63 | { slug: "measurement-and-fractions", name: "Measurement and fractions", summary: "Tape measures, fractions and unit conversions for trades." }, |
| 64 | { slug: "percentages-and-money", name: "Percentages and money", summary: "Discounts, markup, tax, interest and budgets." }, |
| 65 | { slug: "basic-algebra", name: "Basic algebra", summary: "Solving for the unknown in real formulas." }, |
| 66 | { slug: "geometry-for-building", name: "Geometry for building", summary: "Area, volume, square corners and slopes." }, |
| 67 | ], |
| 68 | }, |
| 69 | { |
| 70 | slug: "teaching", |
| 71 | name: "Teaching", |
| 72 | summary: "How to be a teacher in the age of AI: the tools to learn and how to teach students with them.", |
| 73 | fields: [ |
| 74 | { slug: "becoming-a-teacher", name: "Becoming a teacher", summary: "What good teaching is and how people really learn." }, |
| 75 | { slug: "ai-in-the-classroom", name: "AI in the classroom", summary: "Teaching students to use AI well and honestly." }, |
| 76 | { slug: "teacher-tools", name: "Teacher tools", summary: "The AI and classroom tools worth learning today." }, |
| 77 | { slug: "lesson-design", name: "Lesson design", summary: "Planning lessons that work, with AI as your assistant." }, |
| 78 | { slug: "feedback-and-assessment", name: "Feedback and assessment", summary: "Checking understanding and giving feedback that helps." }, |
| 79 | ], |
| 80 | }, |
| 81 | ]; |
| 82 | |
| 83 | export function getArea(slug: string): Area | undefined { |
| 84 | return AREAS.find((a) => a.slug === slug); |
| 85 | } |
| 86 | |
| 87 | export function getField(area: string, field: string): Field | undefined { |
| 88 | return getArea(area)?.fields.find((f) => f.slug === field); |
| 89 | } |