"use client" import Image from "next/image" import Link from "next/link" import { Button } from "@/components/ui/button" import { Card, CardContent, CardFooter, CardHeader } from "@/components/ui/card" import { Badge } from "@/components/ui/badge" import { Clock, Wrench } from "lucide-react" import type { Service } from "@/lib/services" interface ServiceCardProps { service: Service } export default function ServiceCard({ service }: ServiceCardProps) { return (
{service.isEmergency && ( طوارئ 24/7 )} {service.name}

{service.name}

{service.description}

{Math.floor(service.duration / 60)} ساعة {service.duration % 60 > 0 && `${service.duration % 60} دقيقة`}

المزايا:

    {service.features.slice(0, 3).map((feature, index) => (
  • {feature}
  • ))}
من {service.basePrice} جنيه
) }