Skip to content

Repository files navigation

Web Dev & Design

Community website for the Web Dev & Design Discord server. Built with Astro, React islands, Tailwind CSS, and Zod-validated content collections.

Stack

Getting started

Requires Node.js 24+.

pnpm install
cp .env.example .env
pnpm dev

Scripts

CommandDescription
pnpm devStart dev server
pnpm buildProduction build
pnpm previewPreview production build
pnpm testRun tests in watch mode
pnpm test:runRun tests once (CI)
pnpm lintLint with ESLint

The Open Graph image at /og-image.png is generated at build time from public/og-image.svg and public/logo.png via a static file endpoint (src/pages/og-image.png.ts).

Environment variables

VariableDescription
PUBLIC_SITE_URLCanonical site URL for meta tags
PUBLIC_DISCORD_INVITE_URLDiscord invite link for CTAs

Pages

  • / — Home with Discord join CTA
  • /learning — Curated resources with search and filter
  • /code-of-conduct — Community guidelines

Deployment

This project includes a wrangler.toml for Cloudflare Pages.

SettingValue
Build commandpnpm build
Output directorydist
Node version24

Set PUBLIC_SITE_URL and PUBLIC_DISCORD_INVITE_URL in Cloudflare Pages environment variables.

For local preview with Wrangler:

pnpm build
pnpm dlx wrangler pages dev dist

About

Community website for the Web Dev & Design Discord server.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages