Commit Graph

9 Commits

Author SHA1 Message Date
01cb13ee8b Mobile responsiveness fixes based on multi-model consensus
Changes verified and validated by 4 AI models:
- google/gemini-3-flash-preview
- openai/gpt-5.2
- openai/gpt-5.1-codex-max
- google/gemini-3-pro-preview

Fixes applied:
1. _article.css: Fix clamp() formula for title scaling
   - Previous formula never scaled below 30px on mobile
   - Now uses clamp(1.5rem, 5vw + 1rem, var(--font-size-4xl))

2. _header.css: WCAG 2.5.5 touch target compliance
   - Added min-height: 44px to nav-link for both desktop and mobile
   - Ensures all navigation links meet 44x44px minimum

3. _header.css: Reduced-motion support for nav transitions
   - Added @media (prefers-reduced-motion: reduce) block
   - Disables all nav animations for motion-sensitive users

4. _variables.css: Breakpoint documentation
   - Documents canonical breakpoints for consistency
   - Notes that CSS variables cannot be used in @media queries

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-23 13:38:19 +00:00
1f7099a3ed Add Swiss IT disaster articles and homepage article cards
Created 6 new investigative articles covering Swiss IT failures from 2020-2024:
- INSIEME: CHF 116M tax software failure (2020-03)
- Swiss E-Voting: Security flaw cancellation (2020-08)
- SECO Corruption: CHF 99M contract scandal (2021-02)
- Juris X: Zürich's 16-year software odyssey (2022-06)
- Swisscom: 8-hour emergency services outage (2024-07)
- Credit Suisse: 3,000 applications integration nightmare (2024-11)

Added article-card shortcode and CSS for homepage layout.
Updated homepage to display all investigations with featured cards.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-23 10:26:19 +00:00
b2a6be2db7 Add archive.is links as alternative to archive.org
Sources now have dual archive links where available:
- INSIEME NZZ: archive.org + archive.is
- Juris X NZZ: archive.org + archive.is

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-21 09:28:36 +00:00
6b1b0aa192 Add About, Privacy, Terms, and 404 pages
About page:
- Swiss Finish + Peter Principle analysis
- Documented Swiss IT disasters with verified sources
- Archive.org links for source verification
- Includes: INSIEME (CHF 116M), Juris X, Soprano, SECO scandal,
  Swiss E-Voting, FIS Heer, Credit Suisse legacy IT, Swisscom outage

Privacy page:
- Satirical take on data collection (we don't)
- Static site, no tracking, no database

Terms page:
- Satirical terms of service
- Disclaimer matching the site's tone

404 page:
- Custom error page with IT disaster references
- Links back to working content

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-21 09:11:10 +00:00
04797e7c9f Optimize Hugo build based on context7 docs review
Performance improvements:
- Use partialCached for footer and accessibility-panel
- Use js.Build with ESBuild for better JS minification
- Remove duplicate FOUC prevention code from accessibility.js
- Move footer link handler into main JS bundle

Security improvements:
- Add crossorigin="anonymous" to CSS link for SRI compliance
- Add integrity hash and crossorigin to script tag

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-21 08:55:43 +00:00
89fa8e4262 Fix article date to December 15th, 2025
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-21 08:30:11 +00:00
b96d9e5cdb Update default accessibility preferences
- Theme: dark
- Dyslexia font: enabled
- Line spacing: loose
- Reading width: wide
- Enhanced focus: off (default)
- Font size: 100% (level 3)
- Reduced motion: system

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-21 08:24:35 +00:00
bda1791fa5 Complete frontend overhaul with WCAG 2.2 accessibility
Design System:
- Custom Hugo theme "swissfini" with editorial aesthetic
- CSS custom properties for comprehensive theming
- Light, Dark, and High Contrast themes
- Print-optimized styles

Accessibility Self-Service Controls:
- Font size adjustment (5 levels: 75%-150%)
- Theme toggle (Light/Dark/High Contrast/System)
- Dyslexia-friendly font (OpenDyslexic)
- Line spacing control (4 levels)
- Reduced motion toggle
- Reading width control (3 levels)
- Enhanced focus indicators
- All preferences persisted via localStorage

Templates & Components:
- Base layout with skip-links and accessibility panel
- Article template with drop caps and blockquotes
- Irony box and conclusion shortcodes
- Responsive header with mobile navigation

Content:
- Migrated SCION vs SD-WAN analysis from HTML
- Homepage teaser with paywall-style CTA

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-21 07:18:22 +00:00
23d86a3a1a Initial Hugo project setup
- Hugo v0.139.4 extended
- WCAG 2.2 accessibility-focused frontend overhaul
- Satirical editorial site for swissfini.sh

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-21 07:02:01 +00:00