diff --git a/src/app/core/content/content-service-led.spec.ts b/src/app/core/content/content-service-led.spec.ts index ae3567a..2db9258 100644 --- a/src/app/core/content/content-service-led.spec.ts +++ b/src/app/core/content/content-service-led.spec.ts @@ -95,6 +95,35 @@ describe('service-led content contracts', () => { expect(de.pitch.profile.join('\n')).toContain('ausgesuchtes Fachnetzwerk'); }); + it('keeps About profile seniority anchored to 2019 instead of a computed duration', () => { + const duration = /\b(sieben|seven|\d+)\s+(Jahre|Jahren|years)\b/i; + + for (const locale of APP_LOCALES) { + const about = SITE_CONTENT_DATA[locale].pages.about; + const profile = about.sections.find((section) => section.id === 'profile'); + const blob = [ + about.title, + about.description, + about.hero.headline, + about.hero.proof ?? '', + about.hero.playfulLine ?? '', + ...(about.hero.body ?? []), + ...about.sections.flatMap((section) => [section.headline, ...(section.body ?? [])]), + ...about.ctas.map((cta) => cta.label), + ].join('\n'); + + expect(profile?.body, `${locale} profile body`).toHaveLength(2); + expect(blob, locale).not.toMatch(duration); + } + + expect(SITE_CONTENT_DATA.de.pages.about.sections[0].body?.[0]).toBe( + 'Berufliche Erfahrung mit dem Bau und Betrieb von Webanwendungen seit 2019. Die Arbeit umfasst Fullstack-Entwicklung, DevOps, direkten Kundenkontakt vom ersten Anforderungsworkshop bis in den Produktivbetrieb sowie Personal- und Teamverantwortung.', + ); + expect(SITE_CONTENT_DATA.en.pages.about.sections[0].body?.[0]).toBe( + 'Professional work on building and operating web applications goes back to 2019. It covers fullstack development, DevOps, direct customer contact from the first requirements workshop through to production, and personnel and team responsibility.', + ); + }); + it('keeps device and workstation wording out of headings, nav labels and offering titles', () => { for (const locale of APP_LOCALES) { const site = SITE_CONTENT_DATA[locale]; diff --git a/src/app/core/content/de/pages.ts b/src/app/core/content/de/pages.ts index 0dc724d..402f6e3 100644 --- a/src/app/core/content/de/pages.ts +++ b/src/app/core/content/de/pages.ts @@ -106,7 +106,7 @@ export const ABOUT_DE: PageCopy = { id: 'profile', headline: 'Berufliches Profil', body: [ - 'Rund sieben Jahre berufliche Erfahrung mit dem Bau und Betrieb von Webanwendungen. Die Arbeit umfasst Fullstack-Entwicklung, DevOps, direkten Kundenkontakt vom ersten Anforderungsworkshop bis in den Produktivbetrieb sowie Personal- und Teamverantwortung.', + 'Berufliche Erfahrung mit dem Bau und Betrieb von Webanwendungen seit 2019. Die Arbeit umfasst Fullstack-Entwicklung, DevOps, direkten Kundenkontakt vom ersten Anforderungsworkshop bis in den Produktivbetrieb sowie Personal- und Teamverantwortung.', 'Heimspiel ist Java (8/11/17/21, Maven, Spring Boot, Spring Data JPA, WebFlux, JUnit). Dazu kommen C# / .NET Core / .NET 8 (ASP.NET Core, Entity Framework, xUnit) und Angular (TypeScript, RxJS-zeitige SPA-Arbeit, Ngrx, SCSS).', ], }, diff --git a/src/app/core/content/en/pages.ts b/src/app/core/content/en/pages.ts index be3c82c..c59fc1e 100644 --- a/src/app/core/content/en/pages.ts +++ b/src/app/core/content/en/pages.ts @@ -106,7 +106,7 @@ export const ABOUT_EN: PageCopy = { id: 'profile', headline: 'Professional profile', body: [ - 'About seven years of professional experience building and operating web applications. The work covers fullstack development, DevOps, direct customer contact from the first requirements workshop through to production, and personnel and team responsibility.', + 'Professional work on building and operating web applications goes back to 2019. It covers fullstack development, DevOps, direct customer contact from the first requirements workshop through to production, and personnel and team responsibility.', 'Home ground is Java (8/11/17/21, Maven, Spring Boot, Spring Data JPA, WebFlux, JUnit). Alongside that sit C# / .NET Core / .NET 8 (ASP.NET Core, Entity Framework, xUnit) and Angular (TypeScript, RxJS-era SPA work, Ngrx, SCSS).', ], },