This commit is contained in:
parent
1dde7ba82e
commit
ec4cc75fe2
@ -5,14 +5,12 @@ import type { Service } from '../../types/service';
|
||||
interface ServiceCardProps {
|
||||
service: Service;
|
||||
onServiceClick: (service: Service) => void;
|
||||
discoverFeaturesText: string;
|
||||
className?: string;
|
||||
}
|
||||
|
||||
export const ServiceCard: React.FC<ServiceCardProps> = ({
|
||||
service,
|
||||
onServiceClick,
|
||||
discoverFeaturesText,
|
||||
className = '',
|
||||
}) => {
|
||||
const cardClasses = mergeClasses(
|
||||
|
@ -13,8 +13,7 @@ interface ServicesSectionProps {
|
||||
|
||||
export const ServicesSection: React.FC<ServicesSectionProps> = ({
|
||||
services,
|
||||
onServiceClick,
|
||||
translations
|
||||
onServiceClick
|
||||
}) => (
|
||||
<section id="services" className="relative z-2 py-12 sm:py-16 md:py-20 w-full max-w-6xl mx-auto px-4 sm:px-6 md:px-8">
|
||||
<div className="w-20 h-1 bg-gradient-to-r from-banquise-blue-lightest to-banquise-blue mx-auto mb-6 sm:mb-8 rounded-full"></div>
|
||||
@ -31,7 +30,6 @@ export const ServicesSection: React.FC<ServicesSectionProps> = ({
|
||||
key={service.name}
|
||||
service={service}
|
||||
onServiceClick={onServiceClick}
|
||||
discoverFeaturesText={translations.discoverFeatures}
|
||||
/>
|
||||
))}
|
||||
</div>
|
||||
|
Loading…
x
Reference in New Issue
Block a user