Skip to content

About

Site for our wedding invitation, React

Resources

Stars

0 stars

Watchers

1 watching

Forks

Repository files navigation

Wedding invitation

Adri & Peti's wedding invitation: two static pages, /hu/ and /en/, with no JavaScript in the browser.

The pages are written in TSX and rendered to indented HTML at build time by a small local JSX runtime (src/jsx/jsx-runtime.ts), not React. Each HTML entry (index.html, hu/index.html, en/index.html) is a one-line stub naming the page in src/pages/ that renders it; the render-pages plugin in vite.config.ts fills it in, and Vite handles the CSS and images. The text for both languages lives in src/content.ts.

npm install
npm run dev     # development server
npm run build   # type-check, then static output in dist/

The built site in dist/ is committed so the output can be read and diffed; run npm run build and commit it along with source changes. The deployment builds from source regardless.

Deployed on Coolify (server hub) from the Dockerfile, which builds the site and serves dist/ with Caddy at https://wedding.peterszarvas.hu.

About

Site for our wedding invitation, React

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages