mirror of
https://github.com/jakejarvis/sofa.git
synced 2026-07-14 18:15:56 -04:00
Replace Carousel with ScrollArea, remove embla-carousel dependency
- Delete carousel.tsx and replace all Carousel/CarouselContent/CarouselItem usage across title rows, cast carousel, continue watching, and explore sections with ScrollArea + scrollFade horizontal scroll - Update ScrollArea to accept a `scrollFade` prop that renders a gradient edge overlay instead of the old per-site absolute div hack - Remove "use client" directive from title-row and cast-carousel now that they have no client-side hooks - Delete unused resizable.tsx; inline TypeBadge icon into TitleHero and delete the standalone type-badge.tsx file - Add TitleTheme component for per-title accent color CSS injection - Swap IconSparkles → IconThumbUp in recommendations section and grid - Simplify ambient glow to a single size (remove mobile breakpoint override)
This commit is contained in:
+1
-4
@@ -22,7 +22,7 @@
|
||||
"@better-auth/drizzle-adapter": "1.5.4",
|
||||
"@player.style/sutro": "0.2.1",
|
||||
"@tabler/icons-react": "3.40.0",
|
||||
"@tanstack/react-hotkeys": "0.3.2",
|
||||
"@tanstack/react-hotkeys": "0.4.0",
|
||||
"better-auth": "1.5.4",
|
||||
"class-variance-authority": "0.7.1",
|
||||
"clsx": "2.1.1",
|
||||
@@ -30,8 +30,6 @@
|
||||
"croner": "10.0.2-dev.2",
|
||||
"date-fns": "4.1.0",
|
||||
"drizzle-orm": "1.0.0-beta.16-ea816b6",
|
||||
"embla-carousel-react": "8.6.0",
|
||||
"embla-carousel-wheel-gestures": "8.1.0",
|
||||
"jotai": "2.18.0",
|
||||
"media-chrome": "4.18.0",
|
||||
"motion": "12.35.1",
|
||||
@@ -40,7 +38,6 @@
|
||||
"react": "19.2.4",
|
||||
"react-day-picker": "9.14.0",
|
||||
"react-dom": "19.2.4",
|
||||
"react-resizable-panels": "4.7.1",
|
||||
"recharts": "3.8.0",
|
||||
"shadcn": "4.0.0",
|
||||
"sonner": "2.0.7",
|
||||
|
||||
Reference in New Issue
Block a user