Appearance
Project structure
All templates follow the same layout, so once you know one you know them all. This is a typical multi-section website (the hooma real-estate template):
text
<slug>/
├── index.html Page shell: <title>, meta description, favicon, Google Fonts
├── package.json Scripts (dev, build, preview) and dependencies
├── vite.config.js Vite config: React + Tailwind plugins, base: './'
├── .nvmrc Node version (22)
├── README.md Setup guide for this template
├── LICENSE.md Your licence (key and order number in your ZIP)
├── CHANGELOG.md What changed in each version
├── brand/
│ ├── BRAND.md Colours, fonts and logo: how to change them
│ └── tokens.json The colour and font tokens, machine-readable
├── docs/
│ ├── CUSTOMISE.md Short customisation guide
│ └── DEPLOY.md Short deploy guide
├── prompts/
│ ├── IMAGE-PROMPTS.md A prompt for every image (human-readable)
│ ├── image-prompts.json The same prompts, machine-readable
│ └── COPYWRITING.md A prompt for every section's text
└── src/
├── main.jsx Entry point: mounts <App />, loads index.css
├── App.jsx Page layout: navbar, sections, footer
├── sections.config.js ★ The list of sections: turn on/off, reorder
├── index.css ★ Tailwind import + @theme tokens (colours, fonts)
├── data/
│ └── content.js ★ Text, prices, lists, links, brand name
├── lib.js Photo map and short imports for components
├── store.jsx Shared state (wishlist, cart, filters…)
├── assets/
│ └── gen/ ★ Local images (.webp + .jpg/.png pairs)
├── components/
│ ├── layout/ Navbar, Footer, modals, drawers
│ ├── sections/ One file per page section (Hero.jsx, Contact.jsx…)
│ └── ui/ Small building blocks (Buttons, Container, Logo…)
└── shared/ Helpers: images.js (Unsplash), Reveal, scroll motion,
WebP fallbackThe files marked ★ are the ones you will edit most.
Variations by template type
| Type | Differences |
|---|---|
| Landing page / multi-section site | As above. Sections live in src/components/sections/. |
| Mobile app UI | The "sections" are screens in src/components/screens/. sections.config.js marks each screen as root (before sign-in), tab (bottom tab) or push (opens on top, with a back button). |
| Dashboard | The "sections" are pages in src/pages/. sections.config.js also says where each page appears in the sidebar (nav) and the phone dock (dock). Pages use hash URLs such as #/team/42. |
Some templates also have src/data/photos.js (the photo map), src/lib/ or src/state/ folders. The idea is the same: data in src/data/, layout in src/components/ (or src/pages/), styles in src/index.css.
How the pieces fit together
index.htmlloadssrc/main.jsx.main.jsximportsindex.css(Tailwind + your theme) and rendersApp.jsx.App.jsxtakes every section fromsections.config.jswithenabled: trueand renders them in order, between the navbar and the footer.- Each section component reads its text and images from
src/data/content.js(and photos fromlib.js).
So, to change what the site says, edit src/data/. To change which sections appear, edit sections.config.js. To change how it looks, edit index.css tokens or the component's Tailwind classes.
Single page, no server routing
Websites are a single index.html with anchor links (#properties, #contact). Apps and dashboards switch screens in the browser with hash URLs (#/settings). That means:
- no server rewrites or redirects are needed on any host;
- the build works from a domain root and from a sub-folder, because
vite.config.jsusesbase: './'.