Loading WebGL Shader...

Back to Next.js Projects
Next.js Project

Alpenblick Media

A fully static, performance-optimized media company website deployed to Cloudflare Pages.

View Live Demo

Overview

Built for performance from the ground up. This project demonstrates modern React architecture, type-safe data patterns, and a custom image optimization pipeline - all designed to deliver the fastest possible experience within the constraints of edge hosting. The build output includes 58 pre-rendered pages covering all routes and content.

The Challenge

Cloudflare Pages is purely static, so there is no server to handle Next.js image optimization at runtime. Rather than accept unoptimized images, this project implements a build-time pipeline using Sharp and Worker Threads that generates WebP variants at multiple breakpoints, paired with a custom loader and blur-up placeholder component.

Key Highlights

Static export with 58 pre-rendered pages on Cloudflare edge
Dynamic routes via generateStaticParams for magazines, digital platforms & events
Progressive image loading with blur-up placeholders from static assets

Technology Stack

Next.js (App Router)
16.1.6
Static export, file-based routing, metadata API
React
19.2.4
Server and Client Components
TypeScript
5.x
Strict type safety across the codebase
Tailwind CSS
3.4.1
Utility-first styling, custom alpine palette
shadcn/ui + Radix
Latest
Accessible, composable UI primitives
Framer Motion
11.15.0
Declarative animations and transitions
Sharp
0.33.5
Build-time image processing and WebP conversion
Cloudflare Pages
Global edge deployment via Wrangler