diff --git a/src/components/blog/BlogPostCard.tsx b/src/components/blog/BlogPostCard.tsx index 90fd54bd..ae51ac8b 100644 --- a/src/components/blog/BlogPostCard.tsx +++ b/src/components/blog/BlogPostCard.tsx @@ -32,24 +32,32 @@ export function BlogPostCard({ return ( - -
+ +
{featuredImageId ? ( - {title} + <> + {title} +
+ ) : (
- 📝 +
+
+
+ 📝 +
+
)}
-
-

+
+

{title}

diff --git a/src/components/designers/DesignerCard.tsx b/src/components/designers/DesignerCard.tsx index 5a35e8e1..9d3c210c 100644 --- a/src/components/designers/DesignerCard.tsx +++ b/src/components/designers/DesignerCard.tsx @@ -22,13 +22,13 @@ export function DesignerCard({ company }: DesignerCardProps) { return ( {/* Header Image/Logo Section */} -
+
{/* Background Gradient Overlay */} -
+
{/* Company Type Badge */}
@@ -49,8 +49,11 @@ export function DesignerCard({ company }: DesignerCardProps) { />
) : ( -
- +
+
+
+ +
)}
@@ -59,7 +62,7 @@ export function DesignerCard({ company }: DesignerCardProps) { {/* Company Name */}
-

+

{company.name}

diff --git a/src/components/homepage/RecentChangeCard.tsx b/src/components/homepage/RecentChangeCard.tsx index ef135919..adedb942 100644 --- a/src/components/homepage/RecentChangeCard.tsx +++ b/src/components/homepage/RecentChangeCard.tsx @@ -56,19 +56,20 @@ export function RecentChangeCard({ return ( - + {imageUrl && ( -
+
{entityName} +
)} -
+
@@ -78,7 +79,7 @@ export function RecentChangeCard({ {changeType}
-

{entityName}

+

{entityName}

{changeReason && ( diff --git a/src/components/manufacturers/ManufacturerCard.tsx b/src/components/manufacturers/ManufacturerCard.tsx index 8913196b..e9b57ddf 100644 --- a/src/components/manufacturers/ManufacturerCard.tsx +++ b/src/components/manufacturers/ManufacturerCard.tsx @@ -36,7 +36,7 @@ export function ManufacturerCard({ company }: ManufacturerCardProps) { return ( {/* Logo/Image Section */} @@ -76,8 +76,13 @@ export function ManufacturerCard({ company }: ManufacturerCardProps) { />
) : ( -
- {getCompanyIcon(company.company_type)} +
+
+
+
+ {getCompanyIcon(company.company_type)} +
+
)}
@@ -88,7 +93,7 @@ export function ManufacturerCard({ company }: ManufacturerCardProps) { {/* Company Name */}
-

+

{company.name}

diff --git a/src/components/moderation/QueueItem.tsx b/src/components/moderation/QueueItem.tsx index 9afe6dfd..08271cdc 100644 --- a/src/components/moderation/QueueItem.tsx +++ b/src/components/moderation/QueueItem.tsx @@ -8,6 +8,7 @@ import { getSubmissionTypeLabel } from '@/lib/moderation/entities'; import { Button } from '@/components/ui/button'; import { Badge } from '@/components/ui/badge'; import { Card, CardContent, CardHeader } from '@/components/ui/card'; +import { Avatar, AvatarImage, AvatarFallback } from '@/components/ui/avatar'; import { UserAvatar } from '@/components/ui/user-avatar'; import { Textarea } from '@/components/ui/textarea'; import { Label } from '@/components/ui/label'; diff --git a/src/components/parks/ParkCard.tsx b/src/components/parks/ParkCard.tsx index 99e53719..8fcf47de 100644 --- a/src/components/parks/ParkCard.tsx +++ b/src/components/parks/ParkCard.tsx @@ -17,13 +17,26 @@ export function ParkCard({ park }: ParkCardProps) { const getStatusColor = (status: string) => { switch (status) { case 'operating': - return 'bg-green-500/20 text-green-400 border-green-500/30'; + return 'bg-green-500/50 text-green-200 border-green-500/50'; case 'seasonal': - return 'bg-yellow-500/20 text-yellow-400 border-yellow-500/30'; + return 'bg-yellow-500/50 text-yellow-200 border-yellow-500/50'; case 'under_construction': - return 'bg-blue-500/20 text-blue-400 border-blue-500/30'; + return 'bg-blue-500/50 text-blue-200 border-blue-500/50'; default: - return 'bg-red-500/20 text-red-400 border-red-500/30'; + return 'bg-red-500/50 text-red-200 border-red-500/50'; + } + }; + + const getStatusIcon = (status: string) => { + switch (status) { + case 'operating': + return ; + case 'seasonal': + return ; + case 'under_construction': + return ; + default: + return ; } }; const getParkTypeIcon = (type: string) => { @@ -43,7 +56,7 @@ export function ParkCard({ park }: ParkCardProps) { const formatParkType = (type: string) => { return type.split('_').map(word => word.charAt(0).toUpperCase() + word.slice(1)).join(' '); }; - return + return
{/* Image Placeholder with Gradient */}
@@ -60,24 +73,28 @@ export function ParkCard({ park }: ParkCardProps) { loading="lazy" /> ) : ( -
- {getParkTypeIcon(park.park_type)} +
+
+
+ {getParkTypeIcon(park.park_type)} +
)} {/* Gradient Overlay */} -
+
{/* Status Badge */} - - {park.status.replace('_', ' ').toUpperCase()} + + {getStatusIcon(park.status)} + {park.status.replace('_', ' ').toUpperCase()}
{/* Header */}
-

+

{park.name}

diff --git a/src/components/rides/RideModelCard.tsx b/src/components/rides/RideModelCard.tsx index e1c5d90a..13598b32 100644 --- a/src/components/rides/RideModelCard.tsx +++ b/src/components/rides/RideModelCard.tsx @@ -40,34 +40,40 @@ export function RideModelCard({ model, manufacturerSlug }: RideModelCardProps) { return ( navigate(`/manufacturers/${manufacturerSlug}/models/${model.slug}`)} > -
+
{(cardImageUrl || cardImageId) ? ( - {model.name} + <> + {model.name} +
+ ) : (
- +
+
+
+ +
+
)}
-

+

{model.name}