denshooter 1c49289386 perf: remove TipTap/ProseMirror from client bundle, lazy-load below-fold sections
TipTap (ProseMirror) was causing:
- chunks 1007 (85 KiB) and 3207 (58 KiB) in the initial bundle
- Array.prototype.at/flat/flatMap, Object.fromEntries/hasOwn polyfills
  (ProseMirror bundles core-js for these — the 12 KiB legacy JS flag)
- 2+ seconds of main thread blocking on mobile

Fix: move HTML conversion to the server (API route) and pass the
resulting HTML string to the client, eliminating the need to import
richTextToSafeHtml (and transitively TipTap) in any client component.

Changes:
- app/api/content/page/route.ts: call richTextToSafeHtml server-side,
  add html: string to response alongside existing content
- app/components/RichTextClient.tsx: accept html string, remove all
  TipTap imports — TipTap/ProseMirror now has zero client bundle cost
- app/components/About.tsx, Contact.tsx: use cmsHtml from API
- app/legal-notice/page.tsx, privacy-policy/page.tsx: same
- app/components/ClientWrappers.tsx: change static imports of About,
  Projects, Contact, Footer to next/dynamic so their JS is in
  separate lazy-loaded chunks, not in the initial bundle

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-06 14:57:36 +01:00
2026-01-08 11:31:57 +01:00
2026-03-04 13:00:34 +01:00
2026-01-22 10:05:43 +01:00
2026-01-22 20:56:35 +01:00
2026-03-04 13:00:34 +01:00
2026-01-08 16:27:40 +01:00
2026-03-04 13:00:34 +01:00
2026-02-15 22:04:26 +01:00
2025-09-05 23:31:53 +00:00
2025-01-30 12:37:43 +01:00

Quick links

  • Ops / setup / deployment / testing: docs/OPERATIONS.md
  • Locale System & Translations: docs/LOCALE_SYSTEM.md

Dennis Konkol Portfolio - Modern Dark Theme

Ein modernes, responsives Portfolio mit dunklem Design, coolen Animationen und einem integrierten Admin-Dashboard.

Features

  • Dunkles Theme mit Glassmorphism-Effekten
  • Responsive Design für alle Geräte
  • Smooth Animationen mit Framer Motion
  • Admin Dashboard für Content-Management
  • E-Mail-System mit schönen Templates
  • Analytics Dashboard mit Performance-Metriken
  • Redis Caching für optimale Performance

🛠️ Technologien

  • Frontend: Next.js 15, TypeScript, Tailwind CSS, Framer Motion
  • Backend: PostgreSQL, Redis, Prisma ORM
  • Deployment: Docker, Nginx
  • Analytics: Umami Analytics

🚀 Quick Start

# Dependencies installieren
npm install

# Development Environment starten
npm run dev

📁 Verfügbare Scripts

npm run dev          # Vollständiges Dev-Environment (Docker + Next.js)
npm run dev:simple   # Nur Next.js (ohne Docker)
npm run build        # Production Build
npm run start        # Production Server

🌐 URLs

📖 Dokumentation

S
Description
Personal portfolio website
Readme 23 MiB
Languages
TypeScript 78.2%
JavaScript 11.8%
Shell 8.4%
PowerShell 0.6%
CSS 0.6%
Other 0.4%