Compare commits

...

4 Commits

Author SHA1 Message Date
gpt-engineer-app[bot]
3c29097ac9 Fix: Spread last row of tabs 2025-10-28 14:15:47 +00:00
gpt-engineer-app[bot]
51b859ad65 Fix: Center tabs in last row 2025-10-28 14:13:16 +00:00
gpt-engineer-app[bot]
858dde526e Refactor: Adjust tab grid layout 2025-10-28 14:08:59 +00:00
gpt-engineer-app[bot]
9c95c6016c Fix: Make last tab span full width 2025-10-28 14:01:57 +00:00

View File

@@ -376,7 +376,7 @@ export function ContentTabs() {
<div className="container mx-auto px-4">
<Tabs defaultValue="trending-parks" className="w-full">
<div className="text-center mb-8">
<TabsList className="grid grid-cols-2 sm:grid-cols-3 md:grid-cols-4 lg:grid-cols-6 gap-2 p-3 bg-muted/30 rounded-lg max-w-7xl mx-auto">
<TabsList className="grid grid-cols-2 sm:grid-cols-3 md:grid-cols-4 gap-2 p-3 bg-muted/30 rounded-lg max-w-5xl mx-auto">
<TabsTrigger value="trending-parks" className="px-4 py-2.5 text-sm font-medium rounded-full data-[state=active]:bg-primary data-[state=active]:text-primary-foreground hover:bg-muted/50 transition-colors text-center">
Trending Parks
</TabsTrigger>
@@ -398,16 +398,16 @@ export function ContentTabs() {
<TabsTrigger value="highest-rated-rides" className="px-4 py-2.5 text-sm font-medium rounded-full data-[state=active]:bg-primary data-[state=active]:text-primary-foreground hover:bg-muted/50 transition-colors text-center">
Top Rides
</TabsTrigger>
<TabsTrigger value="opening-soon" className="px-4 py-2.5 text-sm font-medium rounded-full data-[state=active]:bg-primary data-[state=active]:text-primary-foreground hover:bg-muted/50 transition-colors text-center">
<TabsTrigger value="opening-soon" className="px-4 py-2.5 text-sm font-medium rounded-full data-[state=active]:bg-primary data-[state=active]:text-primary-foreground hover:bg-muted/50 transition-colors text-center md:col-start-1">
Opening Soon
</TabsTrigger>
<TabsTrigger value="recently-opened" className="px-4 py-2.5 text-sm font-medium rounded-full data-[state=active]:bg-primary data-[state=active]:text-primary-foreground hover:bg-muted/50 transition-colors text-center">
<TabsTrigger value="recently-opened" className="px-4 py-2.5 text-sm font-medium rounded-full data-[state=active]:bg-primary data-[state=active]:text-primary-foreground hover:bg-muted/50 transition-colors text-center md:col-start-2">
Recently Opened
</TabsTrigger>
<TabsTrigger value="closing-soon" className="px-4 py-2.5 text-sm font-medium rounded-full data-[state=active]:bg-primary data-[state=active]:text-primary-foreground hover:bg-muted/50 transition-colors text-center">
Closing Soon
</TabsTrigger>
<TabsTrigger value="recently-closed" className="px-4 py-2.5 text-sm font-medium rounded-full data-[state=active]:bg-primary data-[state=active]:text-primary-foreground hover:bg-muted/50 transition-colors text-center">
<TabsTrigger value="recently-closed" className="px-4 py-2.5 text-sm font-medium rounded-full data-[state=active]:bg-primary data-[state=active]:text-primary-foreground hover:bg-muted/50 transition-colors text-center md:col-start-4">
Recently Closed
</TabsTrigger>
</TabsList>