Skip to content

Repository files navigation

# Idle Fusion — Website

Marketing and app-landing site for Idle Fusion, an independent app and web development studio.

## Development

Use Node.js 24 for the verification scripts.

```sh
npm ci
npm run dev       # Astro development server
npm run build     # Production site in dist/
npm run preview   # Preview the built site
npm test          # Build, check routes/contact, and capture desktop/mobile screenshots
```

`npm test` starts its own temporary local preview server and closes it when finished. Contact delivery is simulated: tests exercise the existing Worker without sending real emails. Screenshots and audit reports are written to the ignored `artifacts/redesign/` directory.

To browse the release locally:

```sh
npm run preview -- --host 127.0.0.1 --port 4323
python3 -m http.server 4322 --bind 127.0.0.1 --directory artifacts/redesign
```

Open the site at http://127.0.0.1:4323/ and the screenshot gallery at http://127.0.0.1:4322/. The static Astro server does not run `/api/contact`; actual delivery uses the deployed Worker and its existing Resend configuration.

## Structure

- `src/layouts/SiteLayout.astro` and `src/styles/site.css`: blue, black, and white business website.
- `src/layouts/BaseLayout.astro` and `src/styles/global.css`: existing product themes and supporting pages.
- `src/data/apps.ts`: app directory, visibility, and shared navigation metadata.
- `src/data/projects.ts`: portfolio and case-study content.
- `src/pages/`: public routes; dedicated app pages remain at their existing URLs.
- `src/components/ContactForm.astro`: direct-send inquiry form.
- `worker.ts`: contact endpoint and static-asset serving.
- `public/`: existing product artwork and other static assets.

Each app retains its own layout, colors, artwork, and light/dark treatment. Shared navigation and discovery connect those pages to the business site. See `docs/redesign-proposal.md` for release scope and `docs/app-design-review.md` for the app-by-app review.

## Deployment

The existing `npm run deploy` command builds the site and deploys the Cloudflare Worker with static assets to `idlefusion.com` and `www.idlefusion.com`. Configuration is in `wrangler.toml`. The contact endpoint uses the existing `RESEND_API_KEY` secret; no new infrastructure or secret is introduced by the redesign.

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages