Overview
Nutrela is a fresh, animated HTML5 template for healthy eateries, meal plan services and juice bars. Signika headlines and Open Sans text keep it bright and easy to read. Underneath, it runs real nutrition logic. Every calorie is worked out from the macros, and a bowl builder redraws the bowl with each choice. Weekly plans are priced by the meal, and delivery days follow each zone's cut-off. It ships with light and dark mode and WebGL layers - leaf veins growing in from the edges and a leaf breathing in light in the footer.
What’s included
- 31 HTML pages, 3 unique home page designs
- Light and dark mode on one switch, remembered between visits, with no flash on load
- WebGL layers tinted by the theme colours: leaf veins and a breathing leaf
- Real nutrition logic from one data block: macros, bowl builder, plan pricing and delivery days
- A calorie calculator that suggests the nearest calorie band
- One bag for dishes, drinks, pantry products, bowls and cleanses
- Three scroll moments that never pin the page
- prefers-reduced-motion support for accessibility
- CSS-variable design tokens for both themes
- Working PHP form handler with optional invisible reCAPTCHA v3
- Fully responsive, zero console errors
- Well-commented code with a numbered JS index
- Documentation included
Getting Started
Thank you for choosing Nutrela. Follow the steps below to get your site live.
1. Open locally
Unzip the package and open nutrela/index.html in any modern browser (Chrome, Firefox, Edge, Safari). No build tools or server are required — every engine on the site works straight from the files.
2. Deploy to a server
Upload the contents of the nutrela/ folder to your hosting with an FTP client (such as FileZilla) or your hosting control panel. Open your domain and the template loads at once.
3. Customise
Custom styles live in assets/css/style.css and assets/css/responsive.css. Colours and fonts are CSS variables — see Colors & Fonts. Prices, hours and items live in one data block in assets/js/main.js (module 09, Nutrela Data) — see JavaScript Guide.
File Structure
404.html | Page Not Found |
about.html | About Us |
account.html | My Account |
blog-details.html | Journal Details |
blog.html | Journal |
bowl-builder.html | Build A Bowl |
cart.html | Cart |
checkout.html | Checkout |
coming-soon.html | Coming Soon |
contact.html | Contact Us |
delivery.html | Delivery Days |
dish-details.html | Dish Details |
faq.html | FAQ |
forgot-password.html | Forgot Password |
gallery.html | Gallery |
homepage-2.html | Home 02 |
homepage-3.html | Home 03 |
index.html | Home 01 |
login.html | Login |
meal-plans.html | Meal Plans & Pricing |
menu.html | Our Menu |
our-process.html | Our Process |
plan-details.html | Plan Details |
product-single.html | Product Details |
register.html | Register |
shop.html | Pantry Shop |
start-plan.html | Start Your Plan |
team-details.html | Team Member |
team.html | Our Team |
what-we-offer.html | What We Offer |
wishlist.html | Wishlist |
Folder Structure
nutrela/
├── *.html (the pages)
├── sendmail.php
├── documentation/
└── assets/
├── css/ fontawesome-all.css, plugins, responsive.css, responsive.rtl.css, style.css, style.rtl.css
├── fonts/ theme-icons
├── img/ bands, blog, bowl, cutouts, drinks, faces, flags, gallery, hero, icons, logo, menu, menu-shots, partners, shop
├── js/ main.js, plugins
└── webfonts/ fa-brands-400.ttf, fa-brands-400.woff2, fa-regular-400.ttf, fa-regular-400.woff2, fa-solid-900.ttf, fa-solid-9
Colors & Fonts
The design is driven by CSS variables declared at the top of style.css. Change a token once and every section, button and card updates.
--nu-teal--nu-teal-deep--nu-ink--nu-salmon--nu-lilac--nu-mint--nu-sky--nu-blush--nu-lime--nu-leaf--nu-sun--nu-evergreen--nu-evergreen-deep--nu-product--nu-bg--nu-surfaceFonts
Open Sans and Signika are loaded from Google Fonts in the <head> of every page. To change a font, replace the Google Fonts link and the font variables in style.css.
Light & Dark Mode
Every header (and the mobile menu) has a theme switch. The choice is saved in the browser under the key nutrela-theme and applied by a one-line script in the <head> before the page paints, so a visitor never sees a flash. The switch sets data-theme on the <html> tag.
- Tokens — the other theme’s colours sit in their own
[data-theme]block right after:rootinstyle.css. Change a colour there. - WebGL layers — the layers read their colours from CSS custom properties (
--gl-1to--gl-3,--gl-alpha), so a theme change repaints them. - Start in the other theme — add
data-theme="dark"to a page’s<html>tag; the switch still works and is still remembered.
JavaScript Guide
All custom behaviour lives in assets/js/main.js, split into numbered modules listed in the index at the top of the file. Plugins are in assets/js/plugins/ and load before it. Module 09 (Nutrela Data) is the one data block the pages and engines read: change a price, an hour or an item there and every page that shows it follows.
01 | Preloader |
02 | Sticky Header |
03 | Offcanvas Menu |
04 | Scroll Reveals |
05 | Back To Top |
06 | Anchor Scroll |
07 | Light & Dark Mode, Direction |
08 | WebGL Layers |
09 | Nutrela Data |
10 | Kitchen Clock & Delivery Days |
11 | Custom Select |
12 | Counters & Rings |
13 | Hero Sliders |
14 | Card Sliders |
15 | Accordion |
16 | Filter Tabs |
17 | Grid Search |
18 | Newsletter |
19 | Choice Cards |
20 | Bowl From Above |
21 | Nutrition Rings |
22 | Fruit Cut-Outs |
23 | Contact Form |
24 | Bag, Wishlist & Checkout |
25 | Account Forms |
26 | Article Tools |
27 | Demo Forms |
28 | Launch Countdown |
29 | Menu Filters |
30 | Bowl Builder |
31 | Meal Plan Pricing |
32 | Start Your Plan |
33 | Delivery Checker |
34 | Juice Cleanse |
35 | My Account |
36 | Dish Details |
37 | FAQ Search |
Images
The package ships with placeholder images at their real dimensions. Replace them with your own photos using the same file names, or update the src attributes. Images are grouped inside assets/img/:
img/bands/ | 3 files: 1920×1100, 1920×1137 |
img/blog/ | 9 files: 600×600, 1300×990, 1300×979, 900×556, 1300×975, 1300×988 |
img/bowl/ | 29 files: 800×800, 1000×1000, 300×300 |
img/cutouts/ | 8 files: 540×464, 520×297, 480×351, 620×327, 500×301, 480×374 |
img/drinks/ | 16 files: 610×880, 1300×979 |
img/faces/ | 8 files: 600×600 |
img/flags/ | 6 files: SVG |
img/gallery/ | 12 files: 800×546, 1300×979, 610×880, 600×600, 1300×975 |
img/hero/ | 9 files: 1920×1100, 1920×1101, 610×610, 975×975, 979×979, 610×880 |
img/icons/ | 48 files: 128×128 |
img/logo/ | 6 files: 64×64, 200×600, 326×120, 256×256 |
img/menu/ | 24 files: 800×546, 1300×979, 600×450, 1300×1099, 600×600, 610×880 |
img/menu-shots/ | 3 files: 979×979 |
img/partners/ | 5 files: 150×150, 504×150, 145×150, 463×150, 263×150 |
img/shop/ | 12 files: 1300×1300, 600×600, 1300×979, 610×609, 675×556, 620×620 |
img/team/ | 8 files: 600×722, 600×600 |
Contact Form
The contact form posts to sendmail.php, a lightweight AJAX mail handler; the success or error message appears under the button without a reload. The other forms on the site are demo forms: they confirm on screen and are ready to connect to your own systems.
1. Set your email address
$email = 'example@example.com';
2. Upload to a PHP host
The form needs a server with PHP mail() support (virtually every shared host). It will not send from your own computer.
3. Optional: enable Google reCAPTCHA v3
Invisible reCAPTCHA v3 is built into the handler and stays dormant until the form sends a token. Create v3 keys in the reCAPTCHA admin console, replace YOUR_RECAPTCHA_V3_SECRET_KEY in sendmail.php, and load the reCAPTCHA script with your site key on the contact page.
Credits
This template is built with the following open-source libraries and resources.
- Bootstrap 5.3.3
- jQuery 3.7.1
- Swiper 11
- GSAP 3 + ScrollTrigger
- Fancybox 3.5
- Font Awesome Free
- Google Fonts: Open Sans, Signika
All plugin files and icon fonts are loaded locally. The only external requests are the Google Fonts stylesheet, map embeds and video popups.
Support
Questions or help with the template? Contact us at metropolitanhost.com. We answer the same business day, 9am–6pm ET.