Project instructions
This is a separate local project for developing the planned redesign, based on the site's Eleventy, Nunjucks, Markdown, and Tailwind CSS setup. Keep it separate from the existing calfox project and live site.
Redesign goal
- Build one main site and two subdomain sites from a single Eleventy project.
- Share ordinary pages, assets, and other common files where appropriate; generate market-specific pages and files only for their intended subdomain.
- Keep the three sites' output and domain routing clear. Inspect the current Eleventy and CloudCannon setup before choosing or changing how host-specific output is built or deployed.
Working safely
- The existing live site must not be disrupted. Make redesign changes in this separate project and do not edit the existing site's project, CloudCannon setup, or live domain as part of this work.
- Work locally while the redesign is being developed. Do not publish, deploy, or alter live services unless the user explicitly asks.
- The
.git directory was intentionally removed. The user is working locally at this stage; do not initialize a repository or treat the missing Git metadata as an error.
- The redesign may differ substantially from the current site. Do not assume it must preserve the current design; follow the user's requested direction while protecting the existing live site.
- Before changing a page or component, inspect its related templates, data, and styles so existing behavior is preserved.
- Avoid changing dependencies or site-wide configuration unless the requested work requires it.
Local development
- Start the Eleventy development server with
npm run serve.
npm run css watches and compiles Tailwind CSS; run it when stylesheet changes need to be reflected locally.
- The project currently has no dedicated test script. Do not add tests unless asked.