Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

fix: improve learn app home page design (#45204)

Gildas Garcia98203c723b4f
diff --git a/apps/learn/app/(app)/page.tsx b/apps/learn/app/(app)/page.tsx
index d2fae7dd40f..3cc97030ea6 100644
--- a/apps/learn/app/(app)/page.tsx
+++ b/apps/learn/app/(app)/page.tsx
@@ -1,8 +1,9 @@
-import { WhatWillILearn } from '@/components/what-will-i-learn'
-import Link from 'next/link'
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 = () => <div className="col-span-12 h-px bg-border/30" />
@@ -96,7 +97,9 @@ export default function Home() {
</div>
<div className="flex-1 min-w-0">
<div className="flex items-start justify-between gap-4 mb-2">
- <h3 className="text-lg font-bold">{course.title}</h3>
+ <h3 className="text-lg text-foreground font-bold">
+ {course.title}
+ </h3>
<Badge variant="secondary" className="flex-shrink-0">
{course.level}
</Badge>
@@ -105,7 +108,7 @@ export default function Home() {
{course.description}
</CardDescription>
<div className="flex items-center justify-between">
- <div className="flex items-center gap-2 text-sm text-muted-foreground">
+ <div className="flex items-center gap-2 text-sm text-foreground-muted">
<BookOpen className="w-4 h-4" />
<span className="text-foreground-lighter">
{course.chapters} chapters