A one-page website template for agencies, studios, freelancers and startups. It is plain HTML5, CSS3 and vanilla JavaScript, with no build step, no frameworks and no jQuery. Open index.html and it works.
Chrome, Edge, Firefox, Safari 15.4+ and Samsung Internet (desktop and mobile)
Aurora is plain HTML, CSS and JavaScript. Your web server does not need PHP, Node.js or a database.
What's in the download
aurora-template/
├── index.html ← the one-page website
├── 404.html ← animated "page not found" page
├── assets/
│ ├── css/style.css ← all styles, in 17 commented sections
│ ├── js/main.js ← all interactions (vanilla JS)
│ └── img/favicon.svg ← logo / favicon
├── documentation/ ← this guide (works offline) + PDF
├── README.md
├── CHANGELOG.md
└── LICENSE.txt
Quick start
Unzip aurora-template-v1.0.0.zip.
Double-click aurora-template/index.html. It opens in your browser with no installation.
Open the aurora-template folder in your code editor and start changing text, colours and images.
Save the file and refresh the browser to see the change.
Tip: In VS Code, the free Live Server extension reloads the page automatically each time you save.
How the files fit together
index.html holds all the content. Each part of the page is a <section> with an id, which the menu links to:
Section
id / class in index.html
Header and menu
header#header
Hero
#home
Logo marquee
.marquee
Services
#services
Stats band
.stats
Portfolio
#work
Process timeline
#process
Pricing
#pricing
Testimonials
#testimonials
FAQ
#faq
Contact
#contact
Footer
footer.footer
To remove a section, delete its <section> and the matching link in the menu (nav#nav) and footer. To reorder sections, move the whole <section> block. No JavaScript changes are needed: every script checks that its element exists first.
Putting it online
Upload the contents of the aurora-template folder (not the documentation, unless you want it public). Keep index.html, 404.html and assets/ together.
Host
How
cPanel / Hostinger
File Manager → public_html/ → upload the files (or upload a zip and extract it there).
Netlify, GitHub Pages and Cloudflare Pages use 404.html automatically. On Apache / cPanel, add this line to a .htaccess file next to index.html:
ErrorDocument 404 /404.html
On Nginx, add error_page 404 /404.html; to the server block.
Page tour
Hero
A particle network that reacts to the mouse, floating gradient blobs, typing text and an orbiting dashboard card. The particle animation pauses when the hero is off-screen to save battery.
Services
Six service cards with 3D tilt and a spotlight that follows the mouse.
Stats
Counters animate from zero when they scroll into view.
Portfolio
The portfolio grid. The buttons above it filter by category with an animation.Filtered to Apps.
Process
A four-step timeline whose line fills as you scroll.
Pricing
Three plans with a highlighted "Most popular" card (light theme).The Monthly / Yearly switch changes every price at once.
Testimonials and FAQ
The slider autoplays, pauses on hover, and supports swiping on touch screens.The FAQ keeps one answer open at a time.
Contact
Floating labels and validation messages.The success message. To receive the messages by email, see Contact form email.
Footer
The footer with links, social icons and a back-to-top button.
Mobile
Every section adapts from 320px phones upwards. On small screens the menu becomes a full-screen panel opened by the ☰ button.
404 page
404.html uses the same styles, theme and logo as the main page.
Edit the heading, text and button in 404.html. See Putting it online for how to make your host use it.
Logo & favicon
The demo uses the CodeSanthai logo, an inline SVG that changes colour with the theme. It appears in the preloader, header and footer of index.html, and at the top of 404.html:
Change the name: edit the text in logo__text. Text inside <b> uses the accent colour. Update aria-label too.
Use an image: replace <svg class="logo__mark">…</svg> with <img class="logo__mark" src="assets/img/logo.svg" alt="">.
Logo colours:--logo-bag, --logo-code, --logo-slash and --logo-accent in section 1 of style.css (one set for dark, one for light).
Browser-tab icon: replace assets/img/favicon.svg.
Colours
Every colour is set in section 1 (THEME TOKENS) of assets/css/style.css. Change these three and the whole site updates, including gradients, buttons, icons and particles:
Background, text and border colours are set separately for each theme: --bg, --bg-alt, --surface, --border, --text and --muted. The light-theme values are in the [data-theme="light"] block just below.
Other tokens: --radius (card corners), --header-h (header height) and --ease (animation curve).
Fonts
Headings use Space Grotesk and body text uses Inter, both from Google Fonts. To change them:
Edit the list in data-words. Keep the double quotes inside the single quotes. The text between the tags is shown first and to search engines.
Counters
<span class="counter" data-target="250">0</span>
Change data-target to the final number.
Services
Each service is an <article> card inside #services. Copy one to add a service; the grid adjusts automatically. The icons are inline SVG, so you can paste any SVG icon in their place.
Portfolio items
Each item is an <article class="work"> with a category used by the filter:
Categories are web, app and brand, matching the filter buttons' data-filter. To add a category, add a button with a new data-filter value and use the same value in data-cat.
To show a real screenshot instead of the gradient artwork, replace the <span class="work__shape"> inside .work__media with:
The currency symbol is plain text next to the price; change ₹ to your currency. Edit the "Save 20%" badge text next to the switch to match your discount. The highlighted plan has the plan--featured class and a plan__badge ("Most popular"): move both to another card to highlight that one.
Testimonials & FAQ
Testimonials
Each testimonial is a <blockquote class="quote"> inside #slider. Add or remove them freely: the dots are created automatically. Avatars show initials on a gradient; set the colours with --c1 and --c2 on .quote__avatar.
FAQ
Each question is a <details class="faq__item"> with a <summary>. Add open to the one that should start open. Opening one closes the others.
Contact form email
The form checks every field and shows a success message, but a static website cannot send email on its own. Pick one option:
Option
What to do
Formspree (free tier)
Create a form at formspree.io. In main.js, find Contact form and uncomment the fetch("https://formspree.io/f/XXXX", …) line, replacing XXXX with your form ID.
Web3Forms (free)
The same idea: get an access key at web3forms.com and post the form to their API.
Your own PHP
On PHP hosting, post the form to your own mail.php.
Keep the name attributes on the fields (name, email, budget, message): the services use them as the email's field names.
Dark & light themes
The light theme.
On a first visit the site follows the visitor's system setting. The moon / sun button in the header switches theme, and the choice is remembered in the browser (localStorage, key aurora-theme) for both pages.
To force one theme: delete the prefers-color-scheme line near the top of main.js, set data-theme="dark" or "light" on the <html> tag, and remove the theme button from the header.
Turning effects off
Effect
How to remove it
Preloader
Delete <div class="preloader" id="preloader"> in index.html.
Cursor glow, 3D tilt, magnetic buttons
Delete the Pointer effects block in main.js. They only run on devices with a mouse.
Particle network
Delete the Hero particle network block in main.js and the <canvas id="particles"> element.
Reveal on scroll
Remove the reveal class from an element.
Visitors who turn on Reduce motion in their system settings automatically get a calm version: no particles, typing, tilt or long animations (section 17 of style.css).
One file with clearly labelled blocks: theme, preloader, header and progress bar, mobile menu, active link, reveal on scroll, typing, counters, timeline, portfolio filter, pricing toggle, testimonials slider, FAQ, contact form, back to top, pointer effects and particle network. Each block checks that its element exists, so deleting a section never breaks the others.
Accessibility & performance
Keyboard navigation for the menu, filters, pricing switch, slider and FAQ, with visible focus styles.
ARIA labels on icon buttons; the pricing switch uses role="switch"; form messages are announced with aria-live.
Respects prefers-reduced-motion and prefers-color-scheme.
No jQuery and no frameworks. The particle animation pauses when it is off-screen and the pointer effects run only on devices with a mouse.
Troubleshooting
Problem
Fix
Styles or scripts are missing online
Upload the whole assets/ folder next to index.html, keeping its sub-folders. File names are case-sensitive on most servers.
Fonts look different
The Google Fonts <link> needs an internet connection. Check it is still in the <head>.
Animations don't play
Your system has Reduce motion turned on; this is intended. Check also that main.js is loaded (browser console, F12).
The theme is stuck
The saved choice wins. Click the theme button, or clear the site's data in the browser.
No. Aurora is plain HTML, CSS and JavaScript. If you can edit HTML, you can customise it.
Can I add more pages?
Yes. Copy index.html to a new file, keep the header and footer, and replace the sections in <main>. Change menu links from #services to index.html#services on the new page.
Can I use it with WordPress or React?
It is not a WordPress theme or React app, but the HTML and CSS can be moved into either. Most buyers use it as a static site.
Can I build a client website with it?
Yes, the Regular licence covers one website for you or one client. See Support & licence.
Credits
Fonts: Space Grotesk and Inter from Google Fonts (SIL Open Font License 1.1).
Icons: hand-written inline SVG.
All other code is original.
All names, testimonials, prices and numbers in the demo are placeholder content. Replace them with your own.
Changelog
1.0.0 15 Nov 2026
First release: animated one-page template, light and dark themes, CodeSanthai logo, a 404 page and full HTML/PDF documentation.
Regular licence: one website for you or one client. Extended licence: unlimited websites for you or your clients. Neither licence allows reselling or sharing the template itself. Full terms are in LICENSE.txt.