"use client"; import React from "react"; import Image from "next/image"; import { CheckCircle2 } from "lucide-react"; import { Reveal } from "@/components/Reveal"; import { Counter } from "@/components/Counter"; import { TechBackground } from "@/components/TechBackground"; import { useTranslations } from "next-intl"; interface ExpertiseSectionProps { tag?: string; title?: string; description?: string; groups?: string[]; } export const ExpertiseSection = ({ tag, title, description, groups, }: ExpertiseSectionProps) => { const t = useTranslations("Index"); const displayTag = tag || t("expertise.tag"); const displayTitle = title || t("expertise.title"); const displayDescription = description || t("expertise.description"); const displayGroups = groups || t.raw("expertise.groups"); return (
Technische Beratung
{displayTag}

{displayTitle}

{displayDescription}

{displayGroups.map((item: string, i: number) => (
{item}
))}
); };