Prismatic homepage
  • CSS 66.4%
  • HTML 20.5%
  • JavaScript 6.6%
  • PHP 6.5%
Find a file
Andrew Gioia 845af3cb8f
All checks were successful
Deploy site / deploy (push) Successful in 20s
Adds second server-side check to try to prevent against spam form submissions
2026-10-28 09:59:41 -04:00
.forgejo/workflows Adds contact form submission handling with new server script to actually handle the email send 2026-10-22 14:01:31 -04:00
dist Adds newsletter signup handling, updates display of alert messages 2026-10-22 16:03:13 -04:00
scripts Reorganizes assets for better management, adds synthwave background effect to footer 2026-07-29 12:24:22 -04:00
server Adds second server-side check to try to prevent against spam form submissions 2026-10-28 09:59:41 -04:00
src Adds newsletter signup handling, updates display of alert messages 2026-10-22 16:03:13 -04:00
AGENTS.md Replaces dvh and dvw with lvh and lvw for better viewport handling 2026-07-23 14:57:16 -04:00
index.html Adds newsletter signup handling, updates display of alert messages 2026-10-22 16:03:13 -04:00
package-lock.json Actually fixes the package lock issue 2026-07-29 14:11:34 -04:00
package.json Updates package.json version 2026-10-22 14:02:41 -04:00
README.md Adds project readme, updates server readme with bug fix 2026-10-22 14:22:57 -04:00
vite.config.js Reorganizes assets for better management, adds synthwave background effect to footer 2026-07-29 12:24:22 -04:00

Prismatic

Marketing website for Prismatic, a software and game company founded by Michael and Andrew Gioia.

The site is built with minimal HTML, CSS, and JS. Vite handles local development and production builds.

Project structure

.
├── index.html              Homepage markup
├── src/
│   ├── css/                Stylesheets
│   ├── fonts/              Self-hosted webfonts
│   ├── img/                Images and project artwork
│   └── js/                 Minimal browser JavaScript
├── scripts/                Build support scripts
├── server/                 PHP contact endpoint and server setup
├── .forgejo/workflows/     Build and deployment automation
└── vite.config.js          Vite build configuration

Working on the site

Requirements

  • Node.js 22
  • npm

PHP is not required for local frontend development. The contact endpoint runs separately on api.gioia.dev.

Development

Install dependencies:

npm install

Start the Vite development server:

npm run dev

Vite will print the local URL, normally http://localhost:5173/.

Production build

Build the site into dist/:

npm run build

Preview the production build locally:

npm run preview

The primary website is hosted by Render. Static assets retain their source organization when built, including css/, fonts/, img/, and js/ directories.

Contact endpoint

The contact form posts to https://api.gioia.dev/prismatic/contact. A small PHP endpoint validates submissions and sends them through the gioia.email SMTP server using msmtp.

The endpoint is deployed separately from the Render website. See server/README.md for its infrastructure and configuration instructions. SMTP credentials live only on the server and must never be committed to this repository.

Code guidelines

Project conventions and implementation principles are documented in AGENTS.md.