Back to Projects
Active

Kanzlei Henkel Website

Static law firm website with legal content taken from official sources

Period
September 2026 — Present
Industry
Legal servicesWeb development
Roles
FrontendDevOpsArchitect
Status
Active

Overview

A new website for a Hanover law firm specialising in commercial, corporate and tax law. Seventeen topic pages explain matters such as asset deals, share deals or mergers with a structure diagram, a short summary, the relevant provisions and an FAQ. Every legal statement is checked against the official source and carries a date for the legal status. Technically it is a purely static Astro site without a server that ships hardly any JavaScript. It replaces the Angular site from 2019.

Tech Stack

Languages & Technologies
TypeScript
Frameworks
AstroTailwind CSSVitestPlaywrightaxe-core
Infrastructure
ApacheDockerLighthouseClaude Code
Concepts & Patterns
SSGSEOJSON-LD Structured DataContent Security PolicyAccessibilityProgressive EnhancementDesign tokensResponsive Design

Architecture Highlights

  • The Apache configuration is generated by the build: Content Security Policy with hashes, redirects for old addresses, caching
  • An export check fails the build if sitemap, robots.txt, llms.txt and structured data disagree

Key Features

  • Switchable structure diagrams that work without JavaScript
  • Light, dark or system setting, without a flash while loading

Challenges & Solutions

  • With Next.js every page carried the React runtime, and the main content appeared after about 2.5 s on a phone. After the switch to Astro it takes about 1.5 s, and the JavaScript per page dropped from about 146 KB to under 1 KB
  • The old site's service worker would have kept showing visitors the old version. A successor worker unregisters it and reloads open tabs