Project Overview
Zaira is a static HTML template designed for news/magazine-style websites, built on Bootstrap 5. It offers multiple homepage layout variations, blog pages, author profiles, contact pages, and more. Features include dark mode toggle, responsive navigation, and scroll-to-top functionality, making it ideal for quickly building news or personal blog sites.
Tech Stack
- Bootstrap 5.1.3 (responsive framework)
- jQuery 3.x (DOM manipulation and interactions)
- Slick Carousel (carousel component)
- Google Fonts (Inter + Manrope fonts)
- Font Awesome 6 (icon library)
- PHP (only for contact.html form backend, mail.php)
Project Structure
text
zairahtml-10/
├── Documentation/ # Official documentation (HTML format)
│ └── index.html
└── zaira/ # Main template (LTR version)
├── index.html # Homepage (6 layout variations: index ~ index-6)
├── blog.html
├── blog-details.html
├── contact.html
├── about.html
├── author.html
└── assets/
├── css/ # Stylesheets (style.css, responsive.css, etc.)
├── fonts/ # Font Awesome font files
└── js/
└── main.js # Core interaction logic
Key Files
zaira/index.html— Main homepage entry point, default layoutzaira/assets/css/style.css— Global styles and CSS variable definitionszaira/assets/js/main.js— Preloader, navigation, theme toggle, carousel, and other interactionszaira/assets/mail.php— Contact form backend processing scriptzaira/contact.html— Contact page with formDocumentation/index.html— Official template usage documentation
Quick Start
- Open
zaira/index.htmldirectly in a browser to preview; - For a local server, use VS Code's Live Server extension or run
npx serve; - To enable the contact form, deploy
mail.phpto a PHP-supported server.
Usage Tips
- The template includes 6 homepage layout variations that can be selected or combined based on content needs;
- Dark mode remembers user preferences via
localStorage, with the toggle button located in thetg_theme_togglerfunction inmain.js.
