diff --git a/src/components/homepage/ContentTabs.tsx b/src/components/homepage/ContentTabs.tsx index 124ddba8..154046e4 100644 --- a/src/components/homepage/ContentTabs.tsx +++ b/src/components/homepage/ContentTabs.tsx @@ -28,42 +28,42 @@ export function ContentTabs() { .from('parks') .select(`*, location:locations(*), operator:companies!parks_operator_id_fkey(*)`) .order('average_rating', { ascending: false }) - .limit(6); + .limit(12); // Trending Parks (by review count) const { data: trending } = await supabase .from('parks') .select(`*, location:locations(*), operator:companies!parks_operator_id_fkey(*)`) .order('review_count', { ascending: false }) - .limit(6); + .limit(12); // Recently Added Parks const { data: recent } = await supabase .from('parks') .select(`*, location:locations(*), operator:companies!parks_operator_id_fkey(*)`) .order('created_at', { ascending: false }) - .limit(6); + .limit(12); // Popular Rides (by rating) const { data: popularRidesData } = await supabase .from('rides') .select(`*, park:parks!inner(name, slug, location:locations(*))`) .order('average_rating', { ascending: false }) - .limit(8); + .limit(12); // Trending Rides (by review count) const { data: trendingRidesData } = await supabase .from('rides') .select(`*, park:parks!inner(name, slug, location:locations(*))`) .order('review_count', { ascending: false }) - .limit(8); + .limit(12); // Recently Added Rides const { data: recentRidesData } = await supabase .from('rides') .select(`*, park:parks!inner(name, slug, location:locations(*))`) .order('created_at', { ascending: false }) - .limit(8); + .limit(12); setPopularParks(popular || []); setTrendingParks(trending || []); @@ -267,7 +267,7 @@ export function ContentTabs() {

Most Popular Parks

Highest rated theme parks worldwide

-
+
{popularParks.map((park) => ( ))} @@ -279,7 +279,7 @@ export function ContentTabs() {

Trending Parks

Most reviewed parks this month

-
+
{trendingParks.map((park) => ( ))} @@ -291,7 +291,7 @@ export function ContentTabs() {

Most Popular Rides

Highest rated attractions worldwide

-
+
{popularRides.map((ride) => ( ))} @@ -303,7 +303,7 @@ export function ContentTabs() {

Trending Rides

Most talked about attractions

-
+
{trendingRides.map((ride) => ( ))} @@ -315,7 +315,7 @@ export function ContentTabs() {

Recently Added Parks

Latest parks added to our database

-
+
{recentParks.map((park) => ( ))} @@ -327,7 +327,7 @@ export function ContentTabs() {

Recently Added Rides

Latest attractions added to our database

-
+
{recentRides.map((ride) => ( ))}