How to replace the demo products with your own and add a page to Vendra
Edit the catalogue file, name the images, rebuild, and see every page update; then add a new page in the HTML edition and carry it over to the React edition.

Every product, category, post, review, order and FAQ entry in Vendra comes from one file, src/data/catalog.js. Change it, run npm run build, and the home pages, the shop, the product page, search and the cart all update.
Products
A product is one line in the RAW array:
// [slug, name, demo, category, price, compareAt, rating, reviews, badge, colors, sizes]
['linen-overshirt', 'Relaxed Linen Overshirt', 'fashion', 'men', 89, 0, 4.7, 128, 'new', ['sand', 'olive', 'ink'], ['S', 'M', 'L', 'XL']],
slug: the URL key; the product page isproduct.html?item=linen-overshirtand the images are named after it.demo: which shop the product belongs to;category: a slug from theCATEGORIESarray (name, demo, icon, count).priceandcompareAt: the price and, for a sale, the old price (0 for none). The percentage off is worked out for you.badge:'new','sale'or empty.colors: keys of theCmap above the array, which turns them into a name and a hex swatch; add your own colours there.sizes: any strings. A product with more than one colour or size shows “Choose options” and opens the quick view instead of adding straight to the cart.
The id and SKU are numbered from the position in the array, the blurb and the specification table come from the per-demo BLURB and SPECS maps, and the stock figure is derived; change those maps, or the PRODUCTS mapping below them, to supply your own.
Images
Images follow the slug, in public/assets/img/products/: <slug>.jpg is the main photo, <slug>-2.jpg the hover or lifestyle photo, -3.jpg and -4.jpg the rest of the gallery. Drop your photos in with those names. Until they arrive, npm run build && npm run placeholders writes a neutral placeholder for every image a built page references and cannot find; real photography later simply overwrites them.
Categories, posts, reviews, orders, FAQ
The same file holds CATEGORIES, POSTS (the journal), REVIEWS, ORDERS (the demo account pages), FAQ and the AISLES tiles of the grocery and electronics home pages. The shop names and taglines are in DEMOS. Edit them in place; the shapes are self-explanatory.
Where products appear on a page
Inside a page, a product grid is one line of Handlebars with the products helper and the card partial:
{{#each (products demo="tech" category="audio" limit=4)}}{{> card}}{{/each}}
The helper filters the catalogue by demo and category; the partial renders the card with its data attribute, so the cart, wishlist, compare and quick view work on it without further wiring.
Adding a page
- Copy an existing page in
src/that is closest to what you need, for exampleabout.htmlfor a content page, and save it under a new name, such assrc/lookbook.html. The partials it includes (head, header, footer, overlays, scripts) come along. - Add an entry to
PAGESinsrc/data/pages.jswith at least atitle; it may also setdemo,header(classic, center, search, overlay, bold) andnav. A page without an entry gets the defaults. - Link to it from the navigation in
src/partials/nav.hbsor the footer. - Run
npm run build; the page comes out asdist/lookbook.html, with the stylesheet, the script and the Content Security Policy like every other page.
Blocks you can reuse on any page are bound by data attributes, for example data-vd-rail for a product carousel, data-vd-countdown, data-vd-tabs, data-vd-counter or data-vd-demo-form; the full list is in the Components section of documentation/index.html and on the components page.
The same page in the React edition
The React page components are generated from the built HTML. After npm run build in the parent folder, run npm run generate in react/: the new page becomes react/src/pages/LookbookPage.jsx and a route for /lookbook and /lookbook.html is added to the route table. If you prefer to write the component by hand, do not regenerate afterwards, or keep it outside the generated files.
Pages that need a script of their own (the shop, product, cart, checkout, wishlist and compare pages) are keyed by <body data-page="…"> in src/js/pages/index.js. A content page needs none.