philly-js-club / philly-js-club-website

The website for Philly JS. Powered by React, Remix, and TypeScript. 🔔✨
https://phillyjs.com
MIT License
9 stars 13 forks source link

fix: change Ad page to client-only #68

Closed JoshuaKGoldberg closed 6 months ago

JoshuaKGoldberg commented 11 months ago

PR Checklist

Overview

Per the comment: we deploy to static pages, so this must be a client-only component. I think. Right?

Extracts month & year URL parsing into shared helpers so both the meta and component can call them.

https://react.dev/reference/react/use-client