This dark hero corporate homepage is a Bootstrap 6 company website template with a charcoal hero, a soft blue glow and a dashboard-style product visual, followed by light, easy-to-read sections. Built for a fictional IT services company, Lumetra Systems, it works as a business website theme for any tech or consulting firm.
How it works
Everything sits inside .lmt-page, which pins data-bs-theme="light"; the navbar and footer use data-bs-theme="dark".
- Navbar:
navbar lg:navbar-expand sticky-topshows the links inline on desktop and inside a<dialog class="drawer drawer-end">on phones. The script keepsaria-expandedon.lmt-togglerin sync and closes the drawer after a link is tapped. - Hero:
.lmt-herolayers a radial glow and a faint grid behind the headline, two calls to action and the.lmt-trustfacts. - Dashboard visual:
[data-lmt-dash]holds KPI tiles, an inline SVG chart and a status list. The[data-lmt-range]buttons switch between 24 hours, 7 days and 30 days; the script readsLMT_RANGES, updates the figures and redraws[data-lmt-line]and[data-lmt-area]. - Body sections: client wordmarks, about, six services, values, a blue
.lmt-figuresband, a four-step.lmt-process, case studies, leadership, testimonials and insights. Each<time data-lmt-days>shows a date counted back from today, without a year. - FAQ: an exclusive accordion built from native
<details>elements sharingname="lmt-faq". - Contact: a static SVG map with the office address and a
data-bs-validateform. Empty fields show:user-invalidstyles; a valid form shows the[data-lmt-success]alert after a short simulated send.
Customization
--lmt-charcoaland--lmt-blueon.lmt-page: change the hero and accent colours across buttons, icons and the figures band.--lmt-headand--lmt-body: swap the Manrope and Inter font pairing.LMT_RANGESinscript.js: replace the sample KPIs and chart points with your own numbers.data-lmt-dayson each<time>: set how many days ago a news item was published.- Replace the
setTimeoutin the form handler withfetch()to your own endpoint. - The footer credit links to WebDevSnippets; you can keep it or remove it.
Photos come from Unsplash; replace them with your own images.
Use cases
- IT and managed service providers: present services, SLAs and results on one page.
- SaaS and software companies: use the dashboard visual to hint at the product.
- Consulting and engineering firms: adapt the case studies and process steps.
Accessibility
The range buttons use aria-pressed and the KPI area is an aria-live region. The chart has a text label, decorative icons are hidden from screen readers, and buttons and menu links are at least 44 px tall on phones. A skip link jumps to the content, and smooth scrolling is off for prefers-reduced-motion.
Bootstrap 6 notes
Built on 6.0.0-alpha.1, so alpha APIs can still change. The mobile menu uses Drawer instead of Offcanvas, the FAQ uses the <details> accordion instead of Collapse, responsive classes use prefixes such as lg:col-6 and md:col-4, and the contact form uses form-field, .check and data-bs-validate instead of the Bootstrap 5 needs-validation pattern.