case study · ski slope website

A ski slope site that tells you at a glance whether to go today

A new website for Sport Dolina Bytom, a ski slope in the middle of the Silesian metropolis. Live lift status and weather, a slope webcam, a price list with a visit cost calculator and two animated header variants for the client to choose from. Everything is edited in a simple CMS, in Polish and English.

Client
Sport Dolina, Bytom (Poland)
Scope
Design, frontend, CMS, content migration, integrations
Stack
Astro 5 · Payload CMS 3 · Postgres · three.js
Languages
Polish, English
The new Sport Dolina website on desktop and phone: header with a 3D slope at night, slope status bar and live webcam preview
Home page on desktop (“3D slope” variant) and phone (“Cinematic” variant). The slope status in the screenshots is sample data from the test version.

01 / starting point

A skier has one question: can I ski there today?

The previous site was WordPress with a theme and plugins. The content was there, but answering the key questions meant piecing things together from several places, and the page loaded far more than it showed.

  1. 01A heavy home page

    About 96 requests on desktop, including 17 stylesheets, 18 scripts and 18 font files.

  2. 02Jumping layout on phones

    Layout shifts during loading at CLS 0.22, above the “needs improvement” threshold of Core Web Vitals.

  3. 03Conditions, not news

    Is the lift running, how much snow is there, what's the weather: this should be visible on the first screen, not in the latest post.

  4. 04Prices to add up

    A lift pass, rental, sledging and a lesson for several people means a dozen line items. A family should be able to work out the cost of a visit without pen and paper.

  5. 05Content to keep and to clean up

    Descriptions, photos and prices were migrated. A post full of SEO-spam style links was not migrated, and its URL redirects to the news section.

  6. 06Run without a developer

    Slope staff need to change the status, prices and news from a phone in seconds, without assembling pages from blocks.

02 / metrics

More features, four times fewer requests on phones

Home page measured in Chromium (Playwright): the old sportdolina.pl and the new test version, desktop and phone.

98 → 21
requests on phones on the home page
2.3 → 1.0MB
transfer on phones on first visit
17 → 2
stylesheets on desktop
0.22 → 0
CLS on phones (layout shifts during loading)
25
price items in the CMS, 17 of them feed the calculator
10min
weather refresh from Open-Meteo, no API key
~130KB
3D scene (gzip), loaded only when needed
2
languages shared routing and field translations in the admin
sportdolina.pl (WordPress)new websitefull width = old site's result
Requests · phone98
21
Transfer · phone2.3 MB
1.0 MB
Requests · desktop96
32
Transfer · desktop2.8 MB
1.6 MB

Median of two runs, measured from the server. Load times are left out, because from a single location they aren't meaningful. Desktop transfer is mostly high-resolution photos.

03 / header

Two header variants, and the choice is the client's

Instead of arguing for a single vision, two complete variants were built. On the test version a button in the header switches between them. The default variant is chosen in the admin, where the switch can also be turned off.

3D slope three.js · procedural scene · camera fly-through on scroll

sportdolina / ?hero=webgl
3D slope variant: a lit ski slope at night generated in WebGL with forest, lift and skiers, with conditions and a webcam preview below
3D slope. The slope, forest, lift and skiers are generated in code, with no models to download. The scene loads dynamically. Without WebGL or with reduced motion, the page shows a static frame or a photo.

Cinematic drone photo · falling snow in 2D canvas

sportdolina / ?hero=cinematic
Cinematic variant: drone photo of the slope at sunset with falling snow, same text layout and conditions bar
Cinematic. A real drone photo of the slope and a light snow effect. Same layout, status bar and webcam preview, so switching variants doesn't touch the rest of the page.

04 / live

Status, weather and webcam in one place

Conditions now section: status Open until 20:00, temperature, snow, wind, status of the lift, sledging, rental and ski school, and a slope webcam preview
Conditions now. Temperature, snow and wind, the status of every attraction and the slope webcam. The data in the screenshot is sample data.

Status set with one click

Staff pick a mode: automatic by opening hours, open, closed or off-season. Plus the status of the lift, sledging, rental and ski school, snow depth and a note of the day. The status bar stays on screen while moving between pages.

Weather with no key and no waiting

Temperature, feels-like and wind come from Open-Meteo. The server keeps the response in memory for 10 minutes and refreshes it in the background, so the page never waits for an external API.

Third-party services only on demand

The webcamera.pl stream and Google Maps load after a click. Until the visitor needs them, the page doesn't fetch their scripts or send them any data.

05 / prices

The visit calculator uses the same price list

A price item in the admin just needs a calculator key, e.g. “2 h pass” or “full set rental”. Changing a price in the CMS instantly changes the calculator's result too.

Price list in cards: lift, service, sledging, ski school, next to a dark Visit calculator panel with group size, lift pass and rental options
Prices and calculator. Group size, lift pass, card deposit, sledging, rental and a lesson. The result is an estimate for the whole group.
Phone: visit calculator with group size buttons and lift pass chips
Phone: full-screen menu with numbered items and a call-the-slope button
On phones: a thumb-friendly calculator and a full-screen menu with a call button.

06 / admin

A CMS organised around running a slope, not building pages

Payload CMS with an admin grouped the way slope staff think. Saving in the admin immediately purges the site cache, so a status change shows up on the next refresh.

Slope

  • Live status: mode, attractions, snow, piste, lights, note of the day
  • Price list in groups, linked to the calculator
  • Opening hours that drive the automatic status

Content

  • News, pages and home page sections
  • Header variant and test switch
  • Google reviews: imported via the Places API daily and on demand, with older ones added by hand

Settings & languages

  • Contact, Booksy lesson booking, webcam, rules, map, SEO
  • “Polski / English” switch in the admin
  • An empty English field falls back to Polish, so nothing disappears before translation

07 / rest of the site

08 / delivery

From the old site to the test version

  1. Architecture

    Three services in Docker: a server-rendered Astro frontend, Payload CMS and Postgres on an internal network. Caddy routes the admin and API to the CMS and everything else to the frontend, and blocks internal endpoints.

  2. Content migration

    An import script moved descriptions, photos, news and prices from the existing site. Old URLs lead to their new counterparts via 301 redirects.

  3. Motion in moderation

    GSAP and Lenis for scrolling, page transitions without full reloads. With “reduce motion” enabled, the 3D scene, snow and pinned sections give way to static views.

  4. Backups & maintenance

    A database dump and the media go into the server's daily backup. The frontend rebuilds with a single script, and CMS migrations run on their own.

  5. Before launch

    Left for the client to decide: the header variant, real slope status instead of sample data, and replacing a few stock photos with their own.

stack

  • Astro 5 (SSR)
  • Payload CMS 3
  • Postgres 17
  • three.js
  • GSAP
  • Lenis
  • Canvas 2D
  • Open-Meteo API
  • Google Places API
  • Booksy
  • Docker Compose
  • Caddy
  • Playwright

Test version ahead of the move to sportdolina.pl. The slope status in the screenshots is sample data, and some photos are stock images to be replaced. The Google reviews section isn't shown in the screenshots because it contains reviewers' personal data. Measured in November 2026.

next step

Facing a similar challenge?

Tell me what you want to achieve. I'll come back with a concrete proposal, a quote and a delivery plan.