← Showcase
02
0Home 1Showcase 2Blog 3Playground
Showcase — 02

Rastafari Zürich

Showcase site for a barber and afro hair salon in Zürich specialising in dreadlocks, twists, braids, and cuts — built entirely with vanilla JS, CSS, and HTML.

Visit zuerich-rastafari.ch ↗
Year
2025
Role
Design & Dev
Stack
HTML, CSS, Vanilla JS
Type
Business Showcase

Project

Rastafari Zürich needed an online presence that reflected the craft and culture of the salon — a place known for dreadlocks, Afro styles, twists, and precision cuts. The goal was a clean, fast, and visually distinctive site with zero dependencies.

No frameworks, no build tools. Every interaction is written in plain JavaScript and every layout is hand-coded CSS — a deliberate choice to keep the site lightweight, maintainable, and fully owned by the client.

Features

Technical Details

The entire site is a single-page layout driven by anchor-based navigation. Smooth scrolling is handled natively with scroll-behavior: smooth and a small JS offset correction for the sticky header.

The gallery uses a pure CSS column layout with column-count for a masonry-style grid without any JavaScript overhead. Images are served in WebP format with JPEG fallbacks for older browsers.

Structure

index.html       — single page, all sections
style.css        — layout, components, animations
script.js        — nav behaviour, scroll effects
/images          — WebP gallery assets + logo

Performance

No JavaScript framework means the page is interactive the moment the HTML parses. Images use loading="lazy" and explicit width/height attributes to eliminate layout shift. Lighthouse scores consistently 95+ across all categories.

Typography

Archivo Black — Headings & Display
Rastafari Zürich
Archivo — Body & UI
Dreadlocks, twists, braids & cuts.
IBM Plex Mono — Labels & Accents
services · gallery · contact

Stack

HTML CSS Vanilla JS WebP
← Back to Showcase