import { Activity, BookOpen, Database, Gauge, Wrench } from 'lucide-react' import Link from 'next/link' import { Badge, Button, Card, CardDescription, CardHeader } from 'ui' import { WhatWillILearn } from '@/components/what-will-i-learn' // Horizontal grid line component const HorizontalGridLine = () =>
export const dynamic = 'force-dynamic' export const revalidate = 0 export default function Home() { const courses = [ { id: 1, title: 'Supabase Foundations', description: 'Learn the basics of Supabase: database, auth, and RLS.', chapters: 5, icon: Database, level: 'Beginner', }, { id: 2, title: 'Project: Smart Office', description: 'Build a realtime room-booking dashboard using Supabase.', chapters: 15, icon: Activity, level: 'Intermediate', }, { id: 3, title: 'Supabase Internals: Performance & Scaling', description: 'Learn how to profile queries, tune indexes, and scale Postgres with Supabase.', chapters: 20, icon: Gauge, level: 'Advanced', }, { id: 4, title: 'Supabase Internals: Debugging & Operations', description: 'Understand how to diagnose slow queries, use read replicas, and manage production workloads.', chapters: 20, icon: Wrench, level: 'Advanced', }, ] return (
{/* Component Showcase with Grid */}
{/* Grid Container */}
{/* Grid Lines - Vertical (Columns) */} {Array.from({ length: 13 }).map((_, i) => (
))} {/* Grid Content */}
{/* Heading Section */}

Learn Supabase

Learn how to build your own projects with Supabase. Our courses and projects help you get started no matter your skill level, teaching you how to build production-ready apps.

Courses

{courses.map((course) => { const Icon = course.icon return (

{course.title}

{course.level}
{course.description}
{course.chapters} chapters
) })}
) }