Compare commits
15 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 19c8cec1d3 | |||
| 2a9f414e87 | |||
| 652bd92321 | |||
| 3ea8f21294 | |||
| 3a216b3961 | |||
| 38ff51d95c | |||
| 616a3a5377 | |||
| ea9135af56 | |||
| aaec77598e | |||
| 6b2dad26ec | |||
| 606fdf9a9f | |||
| 22e579761a | |||
| 7762b1e23b | |||
| 8c2e9bb11d | |||
| a5c997330c |
4
.gitignore
vendored
@@ -40,3 +40,7 @@ next-env.d.ts
|
||||
# turborepo
|
||||
.turbo
|
||||
.turbo-test
|
||||
|
||||
# scratch
|
||||
scratch/
|
||||
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
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 { getTranslations, setRequestLocale } from 'next-intl/server';
|
||||
import { Metadata } from 'next';
|
||||
@@ -55,13 +56,16 @@ const mdxComponents = {
|
||||
GrowthChart,
|
||||
DeepDrillAnimation,
|
||||
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) {}
|
||||
} catch (_e) {
|
||||
// Ignore invalid URL parsing
|
||||
}
|
||||
}
|
||||
const { props: { srcSet, src: finalSrc, sizes } } = getImageProps({
|
||||
src,
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
import { notFound, redirect } from 'next/navigation';
|
||||
import { getImageProps } from 'next/image';
|
||||
import { ScaleOfImpact } from '@/components/blocks/ScaleOfImpact';
|
||||
import JsonLd from '@/components/JsonLd';
|
||||
import { SITE_URL } from '@/lib/schema';
|
||||
import {
|
||||
@@ -25,13 +26,16 @@ const mdxComponents = {
|
||||
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} />,
|
||||
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) {}
|
||||
} catch (_e) {
|
||||
// Ignore invalid URL parsing
|
||||
}
|
||||
}
|
||||
const { props: { srcSet, src: finalSrc, sizes } } = getImageProps({
|
||||
src,
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
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 { Metadata } from 'next';
|
||||
import { getAllReferences } from '@/lib/references';
|
||||
@@ -41,13 +42,16 @@ const mdxComponents = {
|
||||
li: CustomLi,
|
||||
p: (props: any) => <p className="text-neutral-600 text-sm mb-4 leading-relaxed" {...props} />,
|
||||
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) {}
|
||||
} catch (_e) {
|
||||
// Ignore invalid URL parsing
|
||||
}
|
||||
}
|
||||
const { props: { srcSet, src: finalSrc, sizes } } = getImageProps({
|
||||
src,
|
||||
|
||||
BIN
assets/certificates/260325_Rheinland Haftpflichtversicherung.pdf
Normal file
@@ -25,7 +25,7 @@ interface CertificatesBlockProps {
|
||||
hideHeader?: boolean;
|
||||
}
|
||||
|
||||
const defaultCertificates: Certificate[] = [
|
||||
export const defaultCertificates: Certificate[] = [
|
||||
{
|
||||
title: 'ISO 14001:2015',
|
||||
description: 'Umweltmanagementsystem',
|
||||
@@ -47,6 +47,13 @@ const defaultCertificates: Certificate[] = [
|
||||
type: 'iso',
|
||||
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',
|
||||
description: 'Nach § 48 b EStG',
|
||||
@@ -68,7 +75,6 @@ const defaultCertificates: Certificate[] = [
|
||||
type: 'tax',
|
||||
date: '13.02.2025',
|
||||
},
|
||||
|
||||
];
|
||||
|
||||
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 ? {
|
||||
href: encodeURI(cert.pdfUrl),
|
||||
target: "_blank",
|
||||
rel: "noopener noreferrer"
|
||||
rel: "noopener noreferrer",
|
||||
download: cert.pdfUrl.split('/').pop()
|
||||
} : {};
|
||||
|
||||
return (
|
||||
@@ -201,7 +208,7 @@ export function CertificatesBlock({ badge, title, description, certificates = de
|
||||
</p>
|
||||
</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' : ''
|
||||
} ${
|
||||
isIso ? 'text-primary-light' : 'text-primary'
|
||||
@@ -209,7 +216,7 @@ export function CertificatesBlock({ badge, title, description, certificates = de
|
||||
{cert.pdfUrl ? (
|
||||
<>
|
||||
<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>
|
||||
|
||||
@@ -9,7 +9,7 @@ layout: "fullBleed"
|
||||
badge="Unternehmen"
|
||||
title="Unser Team"
|
||||
subtitle="Die Experten hinter der E-TIB Gruppe"
|
||||
backgroundImage={{ url: '/assets/photos/DJI_0048.JPG' }}
|
||||
backgroundImage={{ url: '/assets/photos/E-TIB_Gruppenfoto.jpg', focalY: 25 }}
|
||||
alignment="center"
|
||||
/>
|
||||
|
||||
@@ -68,15 +68,15 @@ layout: "fullBleed"
|
||||
name: "Kerstin Joseph",
|
||||
position: "Buchhaltung / Controlling",
|
||||
email: "k.joseph@e-tib.com",
|
||||
phone: "+49 3561 6857733",
|
||||
image: "/assets/photos/team/kerstin.jpg"
|
||||
phone: "+49 3561 6857733"
|
||||
},
|
||||
{
|
||||
id: "katrin-haigold",
|
||||
name: "Katrin Haigold",
|
||||
position: "Buchhaltung / Personalwesen",
|
||||
email: "k.haigold@e-tib.com",
|
||||
phone: "+49 3561 6851692"
|
||||
phone: "+49 3561 6851692",
|
||||
image: "/assets/photos/team/katrin-heigold.jpg"
|
||||
},
|
||||
{
|
||||
id: "maik-weichert",
|
||||
|
||||
@@ -9,7 +9,7 @@ layout: "fullBleed"
|
||||
badge="Company"
|
||||
title="Our Team"
|
||||
subtitle="The Experts behind the E-TIB Group"
|
||||
backgroundImage={{ url: '/assets/photos/DJI_0048.JPG' }}
|
||||
backgroundImage={{ url: '/assets/photos/E-TIB_Gruppenfoto.jpg', focalY: 25 }}
|
||||
alignment="center"
|
||||
/>
|
||||
|
||||
@@ -68,15 +68,15 @@ layout: "fullBleed"
|
||||
name: "Kerstin Joseph",
|
||||
position: "Accounting / Controlling",
|
||||
email: "k.joseph@e-tib.com",
|
||||
phone: "+49 3561 6857733",
|
||||
image: "/assets/photos/team/kerstin.jpg"
|
||||
phone: "+49 3561 6857733"
|
||||
},
|
||||
{
|
||||
id: "katrin-haigold",
|
||||
name: "Katrin Haigold",
|
||||
position: "Accounting / Human Resources",
|
||||
email: "k.haigold@e-tib.com",
|
||||
phone: "+49 3561 6851692"
|
||||
phone: "+49 3561 6851692",
|
||||
image: "/assets/photos/team/katrin-heigold.jpg"
|
||||
},
|
||||
{
|
||||
id: "maik-weichert",
|
||||
|
||||
@@ -39,6 +39,13 @@ layout: "fullBleed"
|
||||
type: 'iso',
|
||||
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',
|
||||
description: 'According to § 48 b EStG',
|
||||
|
||||
@@ -8,7 +8,7 @@ services:
|
||||
- infra
|
||||
- default
|
||||
labels:
|
||||
- "caddy=http://${TRAEFIK_HOST:-etib.localhost}"
|
||||
- "caddy=http://${TRAEFIK_HOST:-etib.localhost}, http://e-tib.localhost"
|
||||
- "caddy.reverse_proxy=http://etib-app:3001"
|
||||
extra_hosts:
|
||||
- "host.docker.internal:host-gateway"
|
||||
@@ -77,7 +77,7 @@ services:
|
||||
|
||||
networks:
|
||||
default:
|
||||
name: ${PROJECT_NAME:-e-tib}-internal
|
||||
name: ${COMPOSE_PROJECT_NAME:-etib}-dev-internal
|
||||
infra:
|
||||
external: true
|
||||
|
||||
|
||||
@@ -1,7 +1,8 @@
|
||||
{
|
||||
"/assets/photos/DJI_0048.JPG": "data:image/webp;base64,UklGRjIAAABXRUJQVlA4ICYAAADwAQCdASoKAAcABUB8JYwCdH8AGDNIbaAA92kbyv6vgOVMTIAAAA==",
|
||||
"/assets/videos/web/hero-bahnkreuzung-poster.jpg": "data:image/webp;base64,UklGRiQAAABXRUJQVlA4IBgAAAAwAQCdASoKAAYABUB8JaQAA3AA/vDUoAA=",
|
||||
"/assets/videos/web/hero-bohrung-poster.jpg": "data:image/webp;base64,UklGRjIAAABXRUJQVlA4ICYAAACwAQCdASoKAAYABUB8JZACdAEOO2gAAN5Rr3co8j7CDYNKNCAAAA==",
|
||||
"/assets/videos/web/hero-kabelpflug-poster.jpg": "data:image/webp;base64,UklGRiQAAABXRUJQVlA4IBgAAAAwAQCdASoKAAYABUB8JaQAA3AA/vDUoAA=",
|
||||
"/assets/videos/web/hero-messe-poster.jpg": "data:image/webp;base64,UklGRiQAAABXRUJQVlA4IBgAAAAwAQCdASoKAAYABUB8JaQAA3AA/vDUoAA="
|
||||
"/assets/photos/DJI_0048.JPG": "data:image/webp;base64,UklGRjIAAABXRUJQVlA4ICYAAADwAQCdASoKAAcABUB8JYwCdH8AGDXtwwAA92kbyv6vgOVMTIAAAA==",
|
||||
"/assets/photos/E-TIB_Gruppenfoto.jpg": "data:image/webp;base64,UklGRiwAAABXRUJQVlA4ICAAAACQAQCdASoKAAUABUB8JZQCdAEOgwAA4XqSiWtFZ0AAAA==",
|
||||
"/assets/videos/web/hero-bahnkreuzung-poster.jpg": "data:image/webp;base64,UklGRi4AAABXRUJQVlA4ICIAAACQAQCdASoKAAYABUB8JQAAXKXv4AAA/UZNt5FbP3v64AAA",
|
||||
"/assets/videos/web/hero-bohrung-poster.jpg": "data:image/webp;base64,UklGRjIAAABXRUJQVlA4ICYAAACwAQCdASoKAAYABUB8JZACdAEOI+oAAN5Rr3co8j7CDYNKNCAAAA==",
|
||||
"/assets/videos/web/hero-kabelpflug-poster.jpg": "data:image/webp;base64,UklGRjIAAABXRUJQVlA4ICYAAADQAQCdASoKAAYABUB8JagCw7EOwCTyAAD9QIvsqI74a4qbWwAAAA==",
|
||||
"/assets/videos/web/hero-messe-poster.jpg": "data:image/webp;base64,UklGRi4AAABXRUJQVlA4ICIAAABQAQCdASoKAAYABUB8JQBOgC6gAP7hJjEBwUoIEPzDKgAA"
|
||||
}
|
||||
@@ -56,6 +56,9 @@ export class GlitchtipErrorReportingService implements ErrorReportingService {
|
||||
tracesSampleRate: this.options.tracesSampleRate ?? 0.1,
|
||||
replaysOnErrorSampleRate: 1.0,
|
||||
replaysSessionSampleRate: 0.1,
|
||||
ignoreErrors: [
|
||||
'Failed to find Server Action. This request might be from an older or newer deployment.',
|
||||
],
|
||||
});
|
||||
}
|
||||
return Sentry;
|
||||
|
||||
6
lint-results.json
Normal file
@@ -100,7 +100,7 @@
|
||||
"xlsx-cli": "^1.1.3"
|
||||
},
|
||||
"scripts": {
|
||||
"dev": "bash -c 'bash scripts/registry-auth.sh && [ -f .env ] || (cp .env.example .env && sed -i.bak \"s/TRAEFIK_HOST=e-tib.com/TRAEFIK_HOST=etib.localhost/\" .env && rm -f .env.bak && echo \"✅ Created .env from .env.example\"); trap \"COMPOSE_PROJECT_NAME=etib docker compose -f docker-compose.dev.yml down\" EXIT INT TERM; docker network create infra 2>/dev/null || true && COMPOSE_PROJECT_NAME=etib docker compose -f docker-compose.dev.yml down && COMPOSE_PROJECT_NAME=etib docker compose -f docker-compose.dev.yml up etib-app etib-proxy --remove-orphans'",
|
||||
"dev": "bash -c 'bash scripts/registry-auth.sh && [ -f .env ] || (cp .env.example .env && sed -i.bak \"s/TRAEFIK_HOST=e-tib.com/TRAEFIK_HOST=etib.localhost/\" .env && rm -f .env.bak && echo \"✅ Created .env from .env.example\"); trap \"COMPOSE_PROJECT_NAME=etib docker compose -f docker-compose.dev.yml down\" EXIT INT TERM; docker network create infra 2>/dev/null || true && COMPOSE_PROJECT_NAME=etib docker compose -f docker-compose.dev.yml down && COMPOSE_PROJECT_NAME=etib docker compose -f docker-compose.dev.yml up --build etib-app etib-proxy --remove-orphans'",
|
||||
"dev:local": "bash -c 'bash scripts/registry-auth.sh && next dev --webpack --port 3100 --hostname 0.0.0.0'",
|
||||
"dev:infra": "COMPOSE_PROJECT_NAME=etib docker compose -f docker-compose.dev.yml up -d etib-proxy",
|
||||
"build": "next build",
|
||||
@@ -140,7 +140,7 @@
|
||||
"prepare": "husky",
|
||||
"preinstall": "npx only-allow pnpm"
|
||||
},
|
||||
"version": "2.4.39",
|
||||
"version": "2.4.47",
|
||||
"pnpm": {
|
||||
"onlyBuiltDependencies": [
|
||||
"@parcel/watcher",
|
||||
|
||||
BIN
public/assets/certificates/betriebshaftpflicht.pdf
Normal file
BIN
public/assets/photos/E-TIB_Gruppenfoto.jpg
Normal file
|
After Width: | Height: | Size: 390 KiB |
|
Before Width: | Height: | Size: 117 KiB After Width: | Height: | Size: 44 KiB |
|
Before Width: | Height: | Size: 300 KiB After Width: | Height: | Size: 49 KiB |
|
Before Width: | Height: | Size: 103 KiB After Width: | Height: | Size: 56 KiB |
BIN
public/assets/photos/team/katrin-heigold.jpg
Normal file
|
After Width: | Height: | Size: 60 KiB |
|
Before Width: | Height: | Size: 65 KiB After Width: | Height: | Size: 46 KiB |
|
Before Width: | Height: | Size: 63 KiB After Width: | Height: | Size: 52 KiB |
|
Before Width: | Height: | Size: 75 KiB After Width: | Height: | Size: 45 KiB |
|
Before Width: | Height: | Size: 650 KiB After Width: | Height: | Size: 59 KiB |
@@ -5,6 +5,7 @@ import sharp from 'sharp';
|
||||
const PUBLIC_DIR = path.join(process.cwd(), 'public');
|
||||
const IMAGES_TO_PROCESS = [
|
||||
'/assets/photos/DJI_0048.JPG',
|
||||
'/assets/photos/E-TIB_Gruppenfoto.jpg',
|
||||
'/assets/videos/web/hero-bahnkreuzung-poster.jpg',
|
||||
'/assets/videos/web/hero-bohrung-poster.jpg',
|
||||
'/assets/videos/web/hero-kabelpflug-poster.jpg',
|
||||
|
||||
28
tests/certificates.test.ts
Normal 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);
|
||||
});
|
||||
});
|
||||
61
tests/team-images.test.ts
Normal file
@@ -0,0 +1,61 @@
|
||||
import { describe, it, expect } from 'vitest';
|
||||
import fs from 'fs';
|
||||
import path from 'path';
|
||||
|
||||
describe('Team Images and Team Page Content', () => {
|
||||
const publicTeamPhotosDir = path.join(process.cwd(), 'public', 'assets', 'photos', 'team');
|
||||
const publicPhotosDir = path.join(process.cwd(), 'public', 'assets', 'photos');
|
||||
const deTeamPath = path.join(process.cwd(), 'content', 'de', 'team.mdx');
|
||||
const enTeamPath = path.join(process.cwd(), 'content', 'en', 'team.mdx');
|
||||
|
||||
it('should verify all required team photos exist in public/assets/photos/team/', () => {
|
||||
const requiredMemberImages = [
|
||||
'danny.jpg',
|
||||
'dirk.jpg',
|
||||
'kathrin.jpg',
|
||||
'katrin-heigold.jpg',
|
||||
'maik.jpg',
|
||||
'martin.jpg',
|
||||
'oliver.jpg',
|
||||
'sven.jpg',
|
||||
];
|
||||
|
||||
for (const imgName of requiredMemberImages) {
|
||||
const imgPath = path.join(publicTeamPhotosDir, imgName);
|
||||
expect(fs.existsSync(imgPath), `Expected image ${imgName} to exist`).toBe(true);
|
||||
}
|
||||
});
|
||||
|
||||
it('should verify team group photo exists in public/assets/photos/', () => {
|
||||
const groupPhotoPath = path.join(publicPhotosDir, 'E-TIB_Gruppenfoto.jpg');
|
||||
expect(fs.existsSync(groupPhotoPath), 'Expected E-TIB_Gruppenfoto.jpg to exist').toBe(true);
|
||||
});
|
||||
|
||||
it('should verify DE and EN team.mdx use E-TIB_Gruppenfoto.jpg in HeroSection', () => {
|
||||
const deContent = fs.readFileSync(deTeamPath, 'utf8');
|
||||
const enContent = fs.readFileSync(enTeamPath, 'utf8');
|
||||
|
||||
expect(deContent).toContain("url: '/assets/photos/E-TIB_Gruppenfoto.jpg'");
|
||||
expect(enContent).toContain("url: '/assets/photos/E-TIB_Gruppenfoto.jpg'");
|
||||
});
|
||||
|
||||
it('should verify Frau Joseph (Kerstin Joseph) has no image property in team.mdx', () => {
|
||||
const deContent = fs.readFileSync(deTeamPath, 'utf8');
|
||||
const enContent = fs.readFileSync(enTeamPath, 'utf8');
|
||||
|
||||
// Parse kerstin-joseph block and ensure no image line exists for kerstin-joseph
|
||||
const deKerstinBlock = deContent.match(/id:\s*"kerstin-joseph"[\s\S]*?\}/)?.[0] || '';
|
||||
const enKerstinBlock = enContent.match(/id:\s*"kerstin-joseph"[\s\S]*?\}/)?.[0] || '';
|
||||
|
||||
expect(deKerstinBlock).not.toContain('image:');
|
||||
expect(enKerstinBlock).not.toContain('image:');
|
||||
});
|
||||
|
||||
it('should verify Katrin Heigold has image set in team.mdx', () => {
|
||||
const deContent = fs.readFileSync(deTeamPath, 'utf8');
|
||||
const enContent = fs.readFileSync(enTeamPath, 'utf8');
|
||||
|
||||
expect(deContent).toContain('/assets/photos/team/katrin-heigold.jpg');
|
||||
expect(enContent).toContain('/assets/photos/team/katrin-heigold.jpg');
|
||||
});
|
||||
});
|
||||