mirror of
https://github.com/pacnpal/thrilltrack-explorer.git
synced 2025-12-23 18:11:12 -05:00
Refactor: Replace emojis with Lucide React icons
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import { useState, useEffect } from 'react';
|
||||
import { Star, TrendingUp, Award } from 'lucide-react';
|
||||
import { Star, TrendingUp, Award, Castle, FerrisWheel, Waves, Tent } from 'lucide-react';
|
||||
import { Card, CardContent } from '@/components/ui/card';
|
||||
import { Badge } from '@/components/ui/badge';
|
||||
import { Button } from '@/components/ui/button';
|
||||
@@ -53,10 +53,10 @@ export function FeaturedParks() {
|
||||
<div className="relative">
|
||||
{/* Gradient Background */}
|
||||
<div className="aspect-video bg-gradient-to-br from-primary/20 via-secondary/20 to-accent/20 flex items-center justify-center relative">
|
||||
<div className="text-6xl opacity-50">
|
||||
{park.park_type === 'theme_park' ? '🏰' :
|
||||
park.park_type === 'amusement_park' ? '🎢' :
|
||||
park.park_type === 'water_park' ? '🏊' : '🎪'}
|
||||
<div className="opacity-50">
|
||||
{park.park_type === 'theme_park' ? <Castle className="w-16 h-16" /> :
|
||||
park.park_type === 'amusement_park' ? <FerrisWheel className="w-16 h-16" /> :
|
||||
park.park_type === 'water_park' ? <Waves className="w-16 h-16" /> : <Tent className="w-16 h-16" />}
|
||||
</div>
|
||||
<div className="absolute inset-0 bg-gradient-to-t from-black/60 via-transparent to-transparent" />
|
||||
|
||||
@@ -88,7 +88,10 @@ export function FeaturedParks() {
|
||||
<div className="flex items-center justify-between text-sm">
|
||||
<div className="flex items-center gap-3">
|
||||
<span className="text-primary font-medium">{park.ride_count} rides</span>
|
||||
<span className="text-accent font-medium">{park.coaster_count} 🎢</span>
|
||||
<div className="flex items-center gap-1">
|
||||
<span className="text-accent font-medium">{park.coaster_count}</span>
|
||||
<FerrisWheel className="w-3 h-3 text-accent" />
|
||||
</div>
|
||||
</div>
|
||||
<div className="text-xs text-muted-foreground">
|
||||
{park.review_count} reviews
|
||||
|
||||
Reference in New Issue
Block a user