Skip to content

robzwolf/honeycomb

Repository files navigation

Honeycomb

Vercel

Nicely tile hexagon badges!

Deployed using Vercel to https://honeycomb.robbie.dev/

Works best in Google Chrome on desktop. Firefox has issues with dragging to reorder. Untested on other browsers.

Quick Start

Local Development

npm install

# If you have Vercel CLI installed
cp .env.development .env
vercel dev

# If you don't have Vercel CLI installed
npm run dev

Production

npm run build
npm run start

PNG Generation

Handled using Vercel serverless functions.

More info on getting Playwright to work with Vercel:

Credit

Hexagon maths and layout comes from this tutorial: https://dev.to/afif/responsive-hexagon-grid-without-media-query-57g7