diff --git a/components/ContactMap.tsx b/components/ContactMap.tsx
index b66041a87..044cbcfaf 100644
--- a/components/ContactMap.tsx
+++ b/components/ContactMap.tsx
@@ -13,11 +13,13 @@ const LeafletMap = dynamic(() => import('@/components/LeafletMap'), {
});
interface ContactMapProps {
- address: string;
- lat: number;
- lng: number;
+ address?: string;
+ lat?: number;
+ lng?: number;
+ locations?: Array<{name: string, address: string, lat: number, lng: number}>;
}
-export default function ContactMap({ address, lat, lng }: ContactMapProps) {
- return ;
+export default function ContactMap({ address, lat, lng, locations }: ContactMapProps) {
+ const mapLocations = locations || (address && lat && lng ? [{ name: 'E-TIB Gruppe', address, lat, lng }] : []);
+ return ;
}
diff --git a/components/blocks/ContactSection.tsx b/components/blocks/ContactSection.tsx
index d35b13b31..ca28ba92d 100644
--- a/components/blocks/ContactSection.tsx
+++ b/components/blocks/ContactSection.tsx
@@ -129,9 +129,10 @@ export const ContactSection: React.FC = (props) => {
fallback={}
>
diff --git a/components/blocks/TeamGrid.tsx b/components/blocks/TeamGrid.tsx
index 6de364288..98f45f4c2 100644
--- a/components/blocks/TeamGrid.tsx
+++ b/components/blocks/TeamGrid.tsx
@@ -38,77 +38,8 @@ export function TeamGrid({ members }: TeamGridProps) {
- {members.length > 0 && (
-
-
- {/* Premium Background Effects */}
-
-
-
-
-
- {/* Text Content */}
-
-
-
-
-
-
- {t('management')}
-
-
- {members[0].name}
-
-
- {members[0].position}
-
-
-
-
-
- {/* Premium Image Block */}
-
-
- {members[0].image && (typeof members[0].image === 'string' ? members[0].image : members[0].image.url) ? (
-
- ) : (
-
- )}
-
-
-
-
-
- )}
-
- {members.slice(1).map((member, i) => (
+ {members.map((member, i) => (