CHRISPS Design CHRISPS
WordPress site · Mont-Royal, Montréal

A bilingual site with a private age check

AirVape has two counters on Avenue du Mont-Royal Est, inside Mon General and at Maison LeRoy. We built their WordPress site in French and English: a custom block theme with both addresses, hours that update themselves and an 18+ check that never sends a birth date anywhere.

Live at airvape.ca · For adults 18 and over

The AirVape age check on a laptop in French and on a phone in English
2

Languages, French and English

0

Birth dates sent to the server

30 days

Before the age check asks again

1

Small script. The rest is plain HTML

The 18+ check · Vérification 18+

Old enough? Your browser decides

The site carries information about vaping, so it opens on a date-of-birth check for adults 18 and over. The check runs in the visitor's browser. The date of birth is never sent to the shop or stored, and a small cookie remembers a pass for 30 days.

Runs in the browser

No birth date kept

30-day pass

Français and English

The oldEnough function from the AirVape theme's script
Deux langues · Two languages

French first, English at /en/

French is the default at airvape.ca and English lives at /en/, with hreflang tags so search engines send each visitor to their own language. The age check, its error messages and the open or closed sign all speak both.

fr-CA and en-CA

hreflang

Bilingual age check

Bilingual hours

The AirVape age check in French and in English on two phones
Under the hood

A real dialog, not a pop-up

The check is the browser's own modal dialog. It holds keyboard focus, makes the page behind it inert and ignores Esc, so a keypress can't skip it. An impossible date, like 31 February, gets its own message, separate from too young.

Native dialog

Focus trapped

Esc can't skip it

Clear error messages

The AirVape age check opening as a native modal dialog, from the theme's script
Everything in it

Small site, done properly

Hours

A sign that keeps itself

The open or closed sign reads each shop's own hours table in Montréal time and marks today's row. Change the table and the sign follows.

Layout

Two shops, lined up

CSS subgrid keeps the two shops' hours tables and maps level, however long each shop's text runs.

Maps

Readable on a phone

On a small screen the map shows its middle, where the shop and street names are, instead of shrinking past reading size.

Speed

Plain HTML

One small script for the hours and the age check. Everything else on the site is plain HTML.

Type

One font, self-hosted

Outfit is served from the site itself, not from a font service.

Editing

A WordPress block theme

Colours, the font and sizes live in theme.json, so pages are edited in the WordPress block editor.

Privacy · Confidentialité

Your birthday stays with you

The age check needs a date of birth. The site doesn't. The arithmetic happens in the visitor's browser, and the only thing kept is a cookie that says the check passed.

Need a site that does it properly?

AirVape is live at airvape.ca, for adults 18 and over. Tell us what your shop needs and we'll show you what we'd build.