Marketing website for Veltrax — AI-enabled decision infrastructure for capital providers.
- Astro 5.x with React components
- Tailwind CSS 4.x (oatmeal-mist theme from TailwindPlus)
- TailwindPlus Elements for interactive components
- Static output, deployed to Cloudflare Pages
yarn install
yarn devDev server runs at http://localhost:4321.
| Command | Description |
|---|---|
yarn dev |
Start development server |
yarn build |
Build for production |
yarn preview |
Preview production build |
yarn type-check |
Run TypeScript type checking |
yarn lint |
Lint with ESLint |
yarn format |
Format with Prettier |
yarn test |
Run tests |
yarn deploy |
Build and deploy to Cloudflare Pages |
The site is deployed to Cloudflare Pages (project: decaltra). The functions/_middleware.ts Pages Function adds basic auth and is bundled automatically.
yarn deployThis runs scripts/deploy.mjs, which loads .env, checks Cloudflare auth, builds the site, and deploys dist/ via yarn wrangler pages deploy. The script is pure Node and works on macOS, Linux, and Windows.
You need either of the following before running yarn deploy:
CLOUDFLARE_API_TOKENin a local.envfile (recommended), or- An interactive login:
yarn wrangler login
The deploy script auto-loads .env from the project root before checking for the token. .env is gitignored. Create one like:
# .env
CLOUDFLARE_API_TOKEN=your-token-hereIf neither the token nor an active wrangler login is present, yarn deploy aborts with an error.
src/
├── components/
│ ├── elements/ # Base UI components (button, link, container, etc.)
│ ├── icons/ # SVG icon components
│ ├── sections/ # Page section components (hero, features, footer, etc.)
│ └── pages/ # Page content components & shared layout parts (Navbar, Footer)
├── layouts/
│ └── Layout.astro # Main HTML layout
├── pages/ # Astro page routes
│ ├── index.astro
│ ├── about.astro
│ ├── privacy-policy.astro
│ ├── 404.astro
│ └── services/
│ └── meridian.astro
└── styles/
└── global.css # Tailwind config & theme (mist palette, fonts)
/— Home/about— About DecAltra/services/meridian— Meridian: AI-Assisted Credit Memo Intelligence/privacy-policy— Privacy Policy
Proprietary. The TailwindPlus theme components are licensed under the Tailwind Plus license.