Compare commits

...

22 Commits

Author SHA1 Message Date
2a9f414e87 2.4.46
All checks were successful
Build & Deploy / 🔍 Prepare (push) Successful in 21s
Build & Deploy / 🧪 QA (push) Successful in 1m29s
Build & Deploy / 🏗️ Build (push) Successful in 2m18s
Build & Deploy / 🚀 Deploy (push) Successful in 27s
Build & Deploy / 🧪 Post-Deploy Verification (push) Successful in 54s
Build & Deploy / 🔔 Notify (push) Successful in 3s
2026-08-03 09:37:13 +02:00
652bd92321 test: fix absolute path in certificates test for CI pipeline 2026-08-03 09:37:12 +02:00
3ea8f21294 2.4.45
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 21s
Build & Deploy / 🧪 QA (push) Failing after 1m12s
Build & Deploy / 🚀 Deploy (push) Has been skipped
Build & Deploy / 🏗️ Build (push) Has been skipped
Build & Deploy / 🧪 Post-Deploy Verification (push) Has been skipped
Build & Deploy / 🔔 Notify (push) Successful in 3s
2026-08-03 09:28:48 +02:00
3a216b3961 fix(ui): smooth icon hover transition on certificate download 2026-08-03 09:28:48 +02:00
38ff51d95c 2.4.44
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 1m18s
Build & Deploy / 🚀 Deploy (push) Has been skipped
Build & Deploy / 🏗️ Build (push) Has been skipped
Build & Deploy / 🧪 Post-Deploy Verification (push) Has been skipped
Build & Deploy / 🔔 Notify (push) Successful in 4s
2026-08-02 20:40:16 +02:00
616a3a5377 feat(legal): integrate RheinLand Betriebshaftpflichtversicherung 2026-08-02 20:40:16 +02:00
ea9135af56 2.4.43
All checks were successful
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Successful in 1m18s
Build & Deploy / 🏗️ Build (push) Successful in 2m41s
Build & Deploy / 🚀 Deploy (push) Successful in 26s
Build & Deploy / 🧪 Post-Deploy Verification (push) Successful in 48s
Build & Deploy / 🔔 Notify (push) Successful in 3s
2026-07-27 12:19:08 +02:00
aaec77598e fix: add ScaleOfImpact to MDX routes and ignore transient Next.js Server Action errors in Sentry 2026-07-27 12:19:08 +02:00
6b2dad26ec chore(release): 2.4.42
All checks were successful
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Successful in 1m31s
Build & Deploy / 🏗️ Build (push) Successful in 2m43s
Build & Deploy / 🚀 Deploy (push) Successful in 28s
Build & Deploy / 🧪 Post-Deploy Verification (push) Successful in 53s
Build & Deploy / 🔔 Notify (push) Successful in 2s
2026-07-23 19:01:00 +02:00
606fdf9a9f fix(assets): replace corrupted freistellung.pdf and iso9001.pdf with valid files 2026-07-23 19:01:00 +02:00
22e579761a chore(release): 2.4.41
All checks were successful
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Successful in 1m19s
Build & Deploy / 🏗️ Build (push) Successful in 2m55s
Build & Deploy / 🚀 Deploy (push) Successful in 26s
Build & Deploy / 🧪 Post-Deploy Verification (push) Successful in 56s
Build & Deploy / 🔔 Notify (push) Successful in 2s
2026-07-23 18:22:32 +02:00
7762b1e23b fix(lint): remove empty catch blocks causing pipeline failure 2026-07-23 18:22:32 +02:00
8c2e9bb11d chore(release): 2.4.40
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 1m20s
Build & Deploy / 🚀 Deploy (push) Has been skipped
Build & Deploy / 🏗️ Build (push) Has been skipped
Build & Deploy / 🧪 Post-Deploy Verification (push) Has been skipped
Build & Deploy / 🔔 Notify (push) Successful in 2s
2026-07-23 18:15:27 +02:00
a5c997330c fix(ui): add download attribute to certificate links 2026-07-23 18:15:27 +02:00
063d0fb4db 2.4.39
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 1m19s
Build & Deploy / 🚀 Deploy (push) Has been skipped
Build & Deploy / 🏗️ Build (push) Has been skipped
Build & Deploy / 🧪 Post-Deploy Verification (push) Has been skipped
Build & Deploy / 🔔 Notify (push) Successful in 2s
2026-07-23 11:31:55 +02:00
9e70379aba fix: provide ResponsiveImage component to MDXRemote in dynamic routes to prevent crashes
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 21s
Build & Deploy / 🧪 QA (push) Failing after 1m23s
Build & Deploy / 🏗️ Build (push) Has been skipped
Build & Deploy / 🚀 Deploy (push) Has been skipped
Build & Deploy / 🧪 Post-Deploy Verification (push) Has been skipped
Build & Deploy / 🔔 Notify (push) Successful in 3s
2026-07-23 11:16:26 +02:00
68be6ff8dd 2.4.38
All checks were successful
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Successful in 1m19s
Build & Deploy / 🏗️ Build (push) Successful in 2m45s
Build & Deploy / 🚀 Deploy (push) Successful in 25s
Build & Deploy / 🧪 Post-Deploy Verification (push) Successful in 55s
Build & Deploy / 🔔 Notify (push) Successful in 3s
2026-07-21 21:53:47 +02:00
2dc53ae002 chore: remove Prokuristin and regionales
All checks were successful
Build & Deploy / 🔍 Prepare (push) Successful in 19s
Build & Deploy / 🧪 QA (push) Successful in 1m22s
Build & Deploy / 🏗️ Build (push) Successful in 2m38s
Build & Deploy / 🚀 Deploy (push) Successful in 27s
Build & Deploy / 🧪 Post-Deploy Verification (push) Successful in 54s
Build & Deploy / 🔔 Notify (push) Successful in 2s
2026-07-21 15:24:13 +02:00
5b26b6f986 2.4.37
All checks were successful
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Successful in 1m25s
Build & Deploy / 🏗️ Build (push) Successful in 2m58s
Build & Deploy / 🚀 Deploy (push) Successful in 25s
Build & Deploy / 🧪 Post-Deploy Verification (push) Successful in 51s
Build & Deploy / 🔔 Notify (push) Successful in 2s
2026-07-21 14:13:25 +02:00
a651406014 chore(team): update contact info for kerstin and katrin
All checks were successful
Build & Deploy / 🔍 Prepare (push) Successful in 21s
Build & Deploy / 🧪 QA (push) Successful in 1m17s
Build & Deploy / 🏗️ Build (push) Successful in 2m23s
Build & Deploy / 🚀 Deploy (push) Successful in 26s
Build & Deploy / 🧪 Post-Deploy Verification (push) Successful in 50s
Build & Deploy / 🔔 Notify (push) Successful in 2s
2026-07-21 13:48:25 +02:00
b5718f9420 chore(team): update team ordering and positions, add Katrin Haigold
All checks were successful
Build & Deploy / 🔍 Prepare (push) Successful in 25s
Build & Deploy / 🧪 QA (push) Successful in 1m26s
Build & Deploy / 🏗️ Build (push) Successful in 2m25s
Build & Deploy / 🚀 Deploy (push) Successful in 27s
Build & Deploy / 🧪 Post-Deploy Verification (push) Successful in 52s
Build & Deploy / 🔔 Notify (push) Successful in 3s
2026-07-21 12:18:41 +02:00
17592063bb test: fix SENTRY_DSN validation regex to match errors.infra.mintel.me
All checks were successful
Build & Deploy / 🔍 Prepare (push) Successful in 23s
Build & Deploy / 🧪 QA (push) Successful in 1m16s
Build & Deploy / 🏗️ Build (push) Successful in 2m31s
Build & Deploy / 🚀 Deploy (push) Successful in 25s
Build & Deploy / 🧪 Post-Deploy Verification (push) Successful in 52s
Build & Deploy / 🔔 Notify (push) Successful in 2s
2026-07-21 12:09:10 +02:00
18 changed files with 181 additions and 41 deletions

View File

@@ -1,4 +1,6 @@
import { notFound, redirect } from 'next/navigation'; import { notFound, redirect } from 'next/navigation';
import { getImageProps } from 'next/image';
import { ScaleOfImpact } from '@/components/blocks/ScaleOfImpact';
import { Container, Badge, Heading } from '@/components/ui'; import { Container, Badge, Heading } from '@/components/ui';
import { getTranslations, setRequestLocale } from 'next-intl/server'; import { getTranslations, setRequestLocale } from 'next-intl/server';
import { Metadata } from 'next'; import { Metadata } from 'next';
@@ -54,6 +56,29 @@ const mdxComponents = {
GrowthChart, GrowthChart,
DeepDrillAnimation, DeepDrillAnimation,
DataGridPulse, DataGridPulse,
ScaleOfImpact,
ResponsiveImage: (props: any) => {
let src = props.src;
if (typeof src === 'string' && src.startsWith('/_next/image')) {
try {
const urlParam = new URLSearchParams(src.split('?')[1]).get('url');
if (urlParam) src = decodeURIComponent(urlParam);
} catch (_e) {
// Ignore invalid URL parsing
}
}
const { props: { srcSet, src: finalSrc, sizes } } = getImageProps({
src,
alt: props.alt || '',
width: 1920,
height: 1080,
sizes: '(max-width: 768px) 100vw, (max-width: 1200px) 75vw, 50vw',
quality: 80,
});
return (
<img {...props} src={finalSrc} srcSet={srcSet} sizes={sizes} loading="lazy" decoding="async" />
);
},
// Standard HTML element mapping for consistent E-TIB typography // Standard HTML element mapping for consistent E-TIB typography
h1: (props: any) => <Heading level={1} size="2" className="hidden" {...props} />, // Hidden because Hero handles H1 h1: (props: any) => <Heading level={1} size="2" className="hidden" {...props} />, // Hidden because Hero handles H1
h2: (props: any) => <Heading level={2} size="3" className="mt-16 mb-6 border-b border-neutral-100 pb-4" {...props} />, h2: (props: any) => <Heading level={2} size="3" className="mt-16 mb-6 border-b border-neutral-100 pb-4" {...props} />,

View File

@@ -1,4 +1,6 @@
import { notFound, redirect } from 'next/navigation'; import { notFound, redirect } from 'next/navigation';
import { getImageProps } from 'next/image';
import { ScaleOfImpact } from '@/components/blocks/ScaleOfImpact';
import JsonLd from '@/components/JsonLd'; import JsonLd from '@/components/JsonLd';
import { SITE_URL } from '@/lib/schema'; import { SITE_URL } from '@/lib/schema';
import { import {
@@ -24,6 +26,29 @@ const mdxComponents = {
h2: (props: any) => <Heading level={2} size="3" className="mt-16 mb-6 border-b border-neutral-100 pb-4" {...props} />, h2: (props: any) => <Heading level={2} size="3" className="mt-16 mb-6 border-b border-neutral-100 pb-4" {...props} />,
h3: (props: any) => <Heading level={3} size="4" className="mt-12 mb-4 text-primary" {...props} />, h3: (props: any) => <Heading level={3} size="4" className="mt-12 mb-4 text-primary" {...props} />,
h4: (props: any) => <Heading level={4} size="5" className="mt-8 mb-4 uppercase tracking-widest text-neutral-500" {...props} />, h4: (props: any) => <Heading level={4} size="5" className="mt-8 mb-4 uppercase tracking-widest text-neutral-500" {...props} />,
ScaleOfImpact,
ResponsiveImage: (props: any) => {
let src = props.src;
if (typeof src === 'string' && src.startsWith('/_next/image')) {
try {
const urlParam = new URLSearchParams(src.split('?')[1]).get('url');
if (urlParam) src = decodeURIComponent(urlParam);
} catch (_e) {
// Ignore invalid URL parsing
}
}
const { props: { srcSet, src: finalSrc, sizes } } = getImageProps({
src,
alt: props.alt || '',
width: 1920,
height: 1080,
sizes: '(max-width: 768px) 100vw, (max-width: 1200px) 75vw, 50vw',
quality: 80,
});
return (
<img {...props} src={finalSrc} srcSet={srcSet} sizes={sizes} loading="lazy" decoding="async" />
);
},
p: (props: any) => <p className="text-base md:text-lg text-text-secondary leading-[1.8] mb-6 font-normal max-w-3xl" {...props} />, p: (props: any) => <p className="text-base md:text-lg text-text-secondary leading-[1.8] mb-6 font-normal max-w-3xl" {...props} />,
ul: (props: any) => <ul className="list-none mb-8 space-y-3 text-base md:text-lg text-text-secondary font-normal max-w-3xl" {...props} />, ul: (props: any) => <ul className="list-none mb-8 space-y-3 text-base md:text-lg text-text-secondary font-normal max-w-3xl" {...props} />,
ol: (props: any) => <ol className="list-decimal pl-6 mb-8 space-y-3 text-base md:text-lg text-text-secondary font-normal max-w-3xl" {...props} />, ol: (props: any) => <ol className="list-decimal pl-6 mb-8 space-y-3 text-base md:text-lg text-text-secondary font-normal max-w-3xl" {...props} />,

View File

@@ -1,4 +1,6 @@
import { Container, Heading, Badge } from '@/components/ui'; import { Container, Heading, Badge } from '@/components/ui';
import { getImageProps } from 'next/image';
import { ScaleOfImpact } from '@/components/blocks/ScaleOfImpact';
import { getTranslations, setRequestLocale } from 'next-intl/server'; import { getTranslations, setRequestLocale } from 'next-intl/server';
import { Metadata } from 'next'; import { Metadata } from 'next';
import { getAllReferences } from '@/lib/references'; import { getAllReferences } from '@/lib/references';
@@ -40,6 +42,29 @@ const mdxComponents = {
li: CustomLi, li: CustomLi,
p: (props: any) => <p className="text-neutral-600 text-sm mb-4 leading-relaxed" {...props} />, p: (props: any) => <p className="text-neutral-600 text-sm mb-4 leading-relaxed" {...props} />,
Heading, Heading,
ScaleOfImpact,
ResponsiveImage: (props: any) => {
let src = props.src;
if (typeof src === 'string' && src.startsWith('/_next/image')) {
try {
const urlParam = new URLSearchParams(src.split('?')[1]).get('url');
if (urlParam) src = decodeURIComponent(urlParam);
} catch (_e) {
// Ignore invalid URL parsing
}
}
const { props: { srcSet, src: finalSrc, sizes } } = getImageProps({
src,
alt: props.alt || '',
width: 1920,
height: 1080,
sizes: '(max-width: 768px) 100vw, (max-width: 1200px) 75vw, 50vw',
quality: 80,
});
return (
<img {...props} src={finalSrc} srcSet={srcSet} sizes={sizes} loading="lazy" decoding="async" />
);
},
}; };
interface PageProps { interface PageProps {

View File

@@ -25,7 +25,7 @@ interface CertificatesBlockProps {
hideHeader?: boolean; hideHeader?: boolean;
} }
const defaultCertificates: Certificate[] = [ export const defaultCertificates: Certificate[] = [
{ {
title: 'ISO 14001:2015', title: 'ISO 14001:2015',
description: 'Umweltmanagementsystem', description: 'Umweltmanagementsystem',
@@ -47,6 +47,13 @@ const defaultCertificates: Certificate[] = [
type: 'iso', type: 'iso',
date: '05.12.2025', date: '05.12.2025',
}, },
{
title: 'Betriebshaftpflichtversicherung',
description: 'RheinLand Versicherungen (10 Mio. € Deckung)',
pdfUrl: '/assets/certificates/betriebshaftpflicht.pdf',
type: 'general',
date: '25.03.2026',
},
{ {
title: 'Freistellungsbescheinigung', title: 'Freistellungsbescheinigung',
description: 'Nach § 48 b EStG', description: 'Nach § 48 b EStG',
@@ -68,7 +75,6 @@ const defaultCertificates: Certificate[] = [
type: 'tax', type: 'tax',
date: '13.02.2025', date: '13.02.2025',
}, },
]; ];
export function CertificatesBlock({ badge, title, description, certificates = defaultCertificates, hideHeader = false }: CertificatesBlockProps) { export function CertificatesBlock({ badge, title, description, certificates = defaultCertificates, hideHeader = false }: CertificatesBlockProps) {
@@ -148,7 +154,8 @@ export function CertificatesBlock({ badge, title, description, certificates = de
const wrapperProps = cert.pdfUrl ? { const wrapperProps = cert.pdfUrl ? {
href: encodeURI(cert.pdfUrl), href: encodeURI(cert.pdfUrl),
target: "_blank", target: "_blank",
rel: "noopener noreferrer" rel: "noopener noreferrer",
download: cert.pdfUrl.split('/').pop()
} : {}; } : {};
return ( return (
@@ -201,7 +208,7 @@ export function CertificatesBlock({ badge, title, description, certificates = de
</p> </p>
</div> </div>
<div className={`mt-auto inline-flex items-center text-sm font-bold uppercase tracking-wider transition-all ${ <div className={`mt-auto inline-flex items-center gap-2 text-sm font-bold uppercase tracking-wider transition-all duration-300 ${
cert.pdfUrl ? 'group-hover:gap-3' : '' cert.pdfUrl ? 'group-hover:gap-3' : ''
} ${ } ${
isIso ? 'text-primary-light' : 'text-primary' isIso ? 'text-primary-light' : 'text-primary'
@@ -209,7 +216,7 @@ export function CertificatesBlock({ badge, title, description, certificates = de
{cert.pdfUrl ? ( {cert.pdfUrl ? (
<> <>
<span>Download PDF</span> <span>Download PDF</span>
<Download size={16} className="ml-2 group-hover:translate-y-0.5 transition-transform" /> <Download size={16} className="group-hover:translate-y-0.5 transition-transform" />
</> </>
) : ( ) : (
<span className="text-neutral-400">Nachweis liegt vor</span> <span className="text-neutral-400">Nachweis liegt vor</span>

View File

@@ -23,6 +23,14 @@ layout: "fullBleed"
phone: "+49 1520 7230518", phone: "+49 1520 7230518",
image: "/assets/photos/team/danny.jpg" image: "/assets/photos/team/danny.jpg"
}, },
{
id: "kathrin-lemanski",
name: "Kathrin Lemanski",
position: "Kaufmännische Leitung",
email: "k.lemanski@e-tib.com",
phone: "+49 3561 6857733",
image: "/assets/photos/team/kathrin.jpg"
},
{ {
id: "dirk-schmidt", id: "dirk-schmidt",
name: "Dirk Schmidt", name: "Dirk Schmidt",
@@ -47,22 +55,6 @@ layout: "fullBleed"
phone: "+49 171 3868167", phone: "+49 171 3868167",
image: "/assets/photos/team/martin.jpg" image: "/assets/photos/team/martin.jpg"
}, },
{
id: "kerstin-joseph",
name: "Kerstin Joseph",
position: "Sekretariat / Buchhaltung",
email: "k.joseph@e-tib.com",
phone: "+49 3561 6851692",
image: "/assets/photos/team/kerstin.jpg"
},
{
id: "kathrin-lemanski",
name: "Kathrin Lemanski",
position: "Sachbearbeitung",
email: "k.lemanski@e-tib.com",
phone: "+49 3561 6857733",
image: "/assets/photos/team/kathrin.jpg"
},
{ {
id: "sven-kirbs", id: "sven-kirbs",
name: "Sven Kirbs", name: "Sven Kirbs",
@@ -71,6 +63,21 @@ layout: "fullBleed"
phone: "+49 151 29603652", phone: "+49 151 29603652",
image: "/assets/photos/team/sven.jpg" image: "/assets/photos/team/sven.jpg"
}, },
{
id: "kerstin-joseph",
name: "Kerstin Joseph",
position: "Buchhaltung / Controlling",
email: "k.joseph@e-tib.com",
phone: "+49 3561 6857733",
image: "/assets/photos/team/kerstin.jpg"
},
{
id: "katrin-haigold",
name: "Katrin Haigold",
position: "Buchhaltung / Personalwesen",
email: "k.haigold@e-tib.com",
phone: "+49 3561 6851692"
},
{ {
id: "maik-weichert", id: "maik-weichert",
name: "Maik Weichert", name: "Maik Weichert",

View File

@@ -23,6 +23,14 @@ layout: "fullBleed"
phone: "+49 1520 7230518", phone: "+49 1520 7230518",
image: "/assets/photos/team/danny.jpg" image: "/assets/photos/team/danny.jpg"
}, },
{
id: "kathrin-lemanski",
name: "Kathrin Lemanski",
position: "Commercial Management",
email: "k.lemanski@e-tib.com",
phone: "+49 3561 6857733",
image: "/assets/photos/team/kathrin.jpg"
},
{ {
id: "dirk-schmidt", id: "dirk-schmidt",
name: "Dirk Schmidt", name: "Dirk Schmidt",
@@ -47,22 +55,6 @@ layout: "fullBleed"
phone: "+49 171 3868167", phone: "+49 171 3868167",
image: "/assets/photos/team/martin.jpg" image: "/assets/photos/team/martin.jpg"
}, },
{
id: "kerstin-joseph",
name: "Kerstin Joseph",
position: "Secretariat / Accounting",
email: "k.joseph@e-tib.com",
phone: "+49 3561 6851692",
image: "/assets/photos/team/kerstin.jpg"
},
{
id: "kathrin-lemanski",
name: "Kathrin Lemanski",
position: "Administration",
email: "k.lemanski@e-tib.com",
phone: "+49 3561 6857733",
image: "/assets/photos/team/kathrin.jpg"
},
{ {
id: "sven-kirbs", id: "sven-kirbs",
name: "Sven Kirbs", name: "Sven Kirbs",
@@ -71,6 +63,21 @@ layout: "fullBleed"
phone: "+49 151 29603652", phone: "+49 151 29603652",
image: "/assets/photos/team/sven.jpg" image: "/assets/photos/team/sven.jpg"
}, },
{
id: "kerstin-joseph",
name: "Kerstin Joseph",
position: "Accounting / Controlling",
email: "k.joseph@e-tib.com",
phone: "+49 3561 6857733",
image: "/assets/photos/team/kerstin.jpg"
},
{
id: "katrin-haigold",
name: "Katrin Haigold",
position: "Accounting / Human Resources",
email: "k.haigold@e-tib.com",
phone: "+49 3561 6851692"
},
{ {
id: "maik-weichert", id: "maik-weichert",
name: "Maik Weichert", name: "Maik Weichert",

View File

@@ -39,6 +39,13 @@ layout: "fullBleed"
type: 'iso', type: 'iso',
date: '05.12.2025', date: '05.12.2025',
}, },
{
title: 'Commercial Liability Insurance',
description: 'RheinLand Insurance (€10M coverage)',
pdfUrl: '/assets/certificates/betriebshaftpflicht.pdf',
type: 'general',
date: '25.03.2026',
},
{ {
title: 'Exemption Certificate', title: 'Exemption Certificate',
description: 'According to § 48 b EStG', description: 'According to § 48 b EStG',

View File

@@ -56,6 +56,9 @@ export class GlitchtipErrorReportingService implements ErrorReportingService {
tracesSampleRate: this.options.tracesSampleRate ?? 0.1, tracesSampleRate: this.options.tracesSampleRate ?? 0.1,
replaysOnErrorSampleRate: 1.0, replaysOnErrorSampleRate: 1.0,
replaysSessionSampleRate: 0.1, replaysSessionSampleRate: 0.1,
ignoreErrors: [
'Failed to find Server Action. This request might be from an older or newer deployment.',
],
}); });
} }
return Sentry; return Sentry;

6
lint-results.json Normal file

File diff suppressed because one or more lines are too long

View File

@@ -280,7 +280,7 @@
"TeamGrid": { "TeamGrid": {
"badge": "Persönliche Beratung", "badge": "Persönliche Beratung",
"title": "Ihre Ansprechpartner", "title": "Ihre Ansprechpartner",
"subtitle": "Sprechen Sie direkt mit unseren Experten für Ihr regionales Projekt.", "subtitle": "Sprechen Sie direkt mit unseren Experten für Ihr Projekt.",
"management": "Geschäftsführung", "management": "Geschäftsführung",
"branchETIB": "E-TIB GmbH", "branchETIB": "E-TIB GmbH",
"branchIng": "Ingenieurgesellschaft", "branchIng": "Ingenieurgesellschaft",

View File

@@ -280,7 +280,7 @@
"TeamGrid": { "TeamGrid": {
"badge": "Personal Consultation", "badge": "Personal Consultation",
"title": "Your Contacts", "title": "Your Contacts",
"subtitle": "Speak directly with our experts for your regional project.", "subtitle": "Speak directly with our experts for your project.",
"management": "Management", "management": "Management",
"branchETIB": "E-TIB GmbH", "branchETIB": "E-TIB GmbH",
"branchIng": "Engineering Company", "branchIng": "Engineering Company",

View File

@@ -140,7 +140,7 @@
"prepare": "husky", "prepare": "husky",
"preinstall": "npx only-allow pnpm" "preinstall": "npx only-allow pnpm"
}, },
"version": "2.4.36", "version": "2.4.46",
"pnpm": { "pnpm": {
"onlyBuiltDependencies": [ "onlyBuiltDependencies": [
"@parcel/watcher", "@parcel/watcher",

Binary file not shown.

View File

@@ -0,0 +1,28 @@
import { describe, it, expect } from 'vitest';
import fs from 'fs';
import { defaultCertificates } from '../components/blocks/CertificatesBlock';
import path from 'path';
describe('Certificates & Insurance Integration (DE + EN)', () => {
it('includes the new RheinLand Betriebshaftpflichtversicherung in defaultCertificates (DE)', () => {
const haftpflichtCert = defaultCertificates.find(
(cert) => cert.title === 'Betriebshaftpflichtversicherung'
);
expect(haftpflichtCert).toBeDefined();
expect(haftpflichtCert?.pdfUrl).toBe('/assets/certificates/betriebshaftpflicht.pdf');
expect(haftpflichtCert?.date).toBe('25.03.2026');
});
it('verifies that content/en/zertifikate.mdx includes Commercial Liability Insurance (EN)', () => {
const enMdx = fs.readFileSync(path.join(__dirname, '../content/en/zertifikate.mdx'), 'utf-8');
expect(enMdx).toContain("title: 'Commercial Liability Insurance'");
expect(enMdx).toContain("pdfUrl: '/assets/certificates/betriebshaftpflicht.pdf'");
expect(enMdx).toContain("date: '25.03.2026'");
});
it('verifies that the PDF asset exists in public/assets/certificates/betriebshaftpflicht.pdf', () => {
const filePath = path.join(__dirname, '../public/assets/certificates/betriebshaftpflicht.pdf');
expect(fs.existsSync(filePath)).toBe(true);
});
});

View File

@@ -15,6 +15,6 @@ describe('Sentry Configuration', () => {
// Assert that SENTRY_DSN is defined and not empty // Assert that SENTRY_DSN is defined and not empty
expect(envConfig.SENTRY_DSN).toBeDefined(); expect(envConfig.SENTRY_DSN).toBeDefined();
expect(envConfig.SENTRY_DSN.length).toBeGreaterThan(0); expect(envConfig.SENTRY_DSN.length).toBeGreaterThan(0);
expect(envConfig.SENTRY_DSN).toMatch(/^https:\/\/.+@glitchtip.infra.mintel.me\/\d+$/); expect(envConfig.SENTRY_DSN).toMatch(/^https:\/\/.+@(?:glitchtip|errors)\.infra\.mintel\.me\/\d+$/);
}); });
}); });