Free
Hero
Solstra Hero
A hero block extracted from the Solstra template, available in Tailwind CSS.
0
13
A hero block extracted from the Solstra template, available in Tailwind CSS.
<!DOCTYPE html>
<html lang="en">
<head>
<script>
window.FontAwesomeConfig = { autoReplaceSvg: 'nest' };
</script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/js/all.min.js" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Solstra Hero | Tailwind CSS UI Block</title>
<meta name="description" content="A hero block extracted from the Solstra template, available in Tailwind CSS.">
<meta name="keywords" content="Solstra, Tailwind CSS template, HTML website template, SaaS template, software landing page, startup template, dark template, geometric design, pricing page, free template">
<meta name="author" content="Let's templates">
<link rel="canonical" href="">
<meta property="og:type" content="product">
<meta property="og:site_name" content="Let's templates">
<meta property="og:locale" content="en_US">
<meta property="og:url" content="">
<meta property="og:title" content="Solstra | Tailwind CSS SaaS Template">
<meta property="og:description" content="A dark, geometric Tailwind CSS SaaS template with a light serif headline, a brief composer demo, integrations, and features, pricing and contact pages.">
<meta property="og:image" content="">
<meta property="og:image:alt" content="Solstra template preview">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:url" content="">
<meta name="twitter:title" content="Solstra | Tailwind CSS SaaS Template">
<meta name="twitter:description" content="A dark, geometric Tailwind CSS SaaS template with a light serif headline, a brief composer demo, integrations, and features, pricing and contact pages.">
<meta name="twitter:image" content="">
<meta name="twitter:image:alt" content="Solstra template preview">
<script src="https://cdn.tailwindcss.com/3.4.17"></script>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link href="https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;1,300&family=Jost:wght@300;400;500&display=swap" rel="stylesheet">
<script>
tailwind.config = {
theme: {
extend: {
colors: {
coal: { DEFAULT: '#1b1b1b', soft: '#242424', line: '#343434' },
pitch: '#000000',
bone: { DEFAULT: '#ece8df', dim: '#9a968d' },
sun: { DEFAULT: '#d42027', deep: '#8f1318' },
leaf: { DEFAULT: '#86b92c', deep: '#0f8a5f' }
},
fontFamily: {
serif: ['"Cormorant Garamond"', 'serif'],
sans: ['Jost', 'sans-serif']
}
}
}
}
</script>
<style>
@view-transition { navigation: auto; }
html { scroll-behavior: smooth; }
[hidden] { display: none !important; }
.label { font-size: .7rem; letter-spacing: .28em; text-transform: uppercase; }
.disc { border-radius: 9999px; background: linear-gradient(180deg, #e0262d 0%, #8f1318 100%); }
.beam { background: linear-gradient(160deg, #86b92c 0%, #0f8a5f 100%); }
.plane-a { clip-path: polygon(64% 0, 0 0, 0 24%, 31% 60%); }
.beam-a { clip-path: polygon(31% 50%, 31% 60.5%, 60% 100%, 57% 96%); }
.plane-b { clip-path: polygon(92% 0, 66% 0, 80% 58%); }
.beam-b { clip-path: polygon(80% 58%, 60% 100%, 70% 100%); }
input[type=range] { accent-color: #d42027; }
[data-story-link][aria-current] { color: #ece8df; }
[data-story-link][aria-current] .story-rule { width: 3rem; background: #d42027; }
.reveal-ready [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; transition-delay: var(--reveal-delay, 0ms); }
.reveal-ready [data-reveal].is-visible { opacity: 1; transform: none; }
@media (max-width: 767px) {
.plane-a { clip-path: polygon(80% 0, 0 0, 0 19%, 38% 31%); }
.beam-a { clip-path: polygon(38% 25%, 38% 31%, 92% 39%, 88% 37.5%); }
}
</style>
</head>
<body class="bg-coal font-sans font-light text-bone antialiased">
<!-- block:start hero -->
<section id="top" class="relative flex min-h-[54rem] items-end overflow-hidden md:min-h-screen md:items-center">
<div class="plane-a absolute inset-0 bg-pitch" aria-hidden="true"></div>
<div class="beam beam-a absolute inset-0" aria-hidden="true"></div>
<div class="disc absolute left-[14%] top-[11%] h-24 w-24 md:left-[13%] md:top-[30%] md:h-[13vw] md:max-h-56 md:w-[13vw] md:max-w-56" aria-hidden="true"></div>
<div class="relative mx-auto w-full max-w-[1500px] px-6 pb-16 md:px-14 md:pb-0 md:pt-24">
<div class="max-w-xl md:ml-auto md:mr-[4%]">
<h1 class="font-serif text-4xl font-light leading-[1.1] md:text-6xl md:leading-[1.08] lg:text-[4.2rem]"><span class="label mb-5 mr-6 block align-middle font-sans text-bone/60 md:mb-0 md:inline-block md:-translate-y-3">The morning brief</span>Forty alerts arrive overnight. You wake up to one calm page.</h1>
<p class="mt-8 max-w-md text-lg leading-relaxed text-bone/70">Solstra reads your team's tools overnight and writes one calm brief: what changed, what is stuck and what needs you today.</p>
<div class="mt-10 flex flex-wrap items-center gap-8">
<a href="pricing.html" class="label rounded-full bg-bone px-7 py-4 font-normal text-coal hover:bg-sun hover:text-bone">Start free</a>
<a href="#composer" class="label flex items-center gap-4 text-bone/80 hover:text-bone"><span class="h-px w-8 bg-bone/60"></span>Compose a sample</a>
</div>
</div>
</div>
</section>
<!-- block:end hero -->
<script>
// Mobile menu
(() => {
const toggle = document.querySelector("[data-menu-toggle]");
const menu = document.getElementById("mobile-menu");
if (!toggle || !menu) return;
toggle.addEventListener("click", () => {
const open = toggle.getAttribute("aria-expanded") === "true";
toggle.setAttribute("aria-expanded", String(!open));
toggle.querySelector("[data-menu-label]").textContent = open ? "Menu" : "Close";
menu.hidden = open;
document.querySelector("header").classList.toggle("bg-pitch", !open);
});
})();
// Scroll story: marks the step in view
document.querySelectorAll("[data-scroll-story]").forEach((story) => {
const links = story.querySelectorAll("[data-story-link]");
if (!("IntersectionObserver" in window)) return;
const observer = new IntersectionObserver((entries) => {
entries.forEach((entry) => {
if (!entry.isIntersecting) return;
links.forEach((link) => link.toggleAttribute("aria-current", link.getAttribute("href") === `#${entry.target.id}`));
});
}, { rootMargin: "-45% 0px -50% 0px" });
story.querySelectorAll("[data-story-step]").forEach((step) => observer.observe(step));
});
// Brief composer
(() => {
const time = document.querySelector("[data-time]");
if (!time) return;
const sources = [...document.querySelectorAll("[data-source]")];
const sun = document.querySelector("[data-sun]");
const update = () => {
const minutes = Number(time.value);
const clock = `${Math.floor(minutes / 60)}:${String(minutes % 60).padStart(2, "0")}`;
const progress = (minutes - 300) / 300;
sun.style.left = 15 + progress * 55 + "%";
sun.style.top = 78 - Math.sin(progress * Math.PI * 0.75) * 50 + "%";
const active = sources.filter((button) => button.getAttribute("aria-pressed") === "true").map((button) => button.dataset.source);
document.querySelectorAll("[data-brief-item]").forEach((item) => { item.hidden = !active.includes(item.dataset.briefItem); });
document.querySelector("[data-brief-empty]").hidden = active.length > 0;
document.querySelector("[data-time-label]").textContent = clock;
document.querySelector("[data-time-echo]").textContent = clock;
const read = Math.max(1, Math.round(active.length * 0.6));
document.querySelector("[data-brief-summary]").textContent = active.length
? `${active.length} ${active.length === 1 ? "source" : "sources"}, about ${read} ${read === 1 ? "minute" : "minutes"} to read, in your inbox at ${clock}.`
: `No sources picked, so there is nothing to send at ${clock}.`;
};
sources.forEach((button) => button.addEventListener("click", () => {
button.setAttribute("aria-pressed", String(button.getAttribute("aria-pressed") !== "true"));
update();
}));
time.addEventListener("input", update);
update();
})();
// Integration filter
(() => {
const group = document.querySelector("[data-filter]");
if (!group) return;
const items = document.querySelectorAll("[data-filter-grid] [data-category]");
group.querySelectorAll("[data-filter-value]").forEach((button) => {
button.addEventListener("click", () => {
const value = button.dataset.filterValue;
group.querySelectorAll("[data-filter-value]").forEach((other) => other.setAttribute("aria-pressed", String(other === button)));
items.forEach((item) => { item.hidden = value !== "all" && item.dataset.category !== value; });
});
});
})();
// Scroll reveal
(() => {
const items = document.querySelectorAll("[data-reveal]");
const skip = navigator.webdriver || !("IntersectionObserver" in window) || matchMedia("(prefers-reduced-motion: reduce)").matches;
if (!items.length || skip) return;
document.documentElement.classList.add("reveal-ready");
const observer = new IntersectionObserver((entries) => {
entries.forEach((entry) => {
if (!entry.isIntersecting) return;
entry.target.classList.add("is-visible");
observer.unobserve(entry.target);
});
}, { rootMargin: "0px 0px -10% 0px" });
items.forEach((item) => observer.observe(item));
})();
</script>
<p class="lt-built-with" style="margin:0;padding:12px 16px;text-align:center;font:500 11px/1.4 system-ui,-apple-system,sans-serif;color:#9ca3af;">Built with <a href="https://letstemplates.com" style="color:#059669;text-decoration:none;">Let's templates</a></p>
</body>
</html>
SaaS
Unlock the entire library of premium templates and blocks. Renews automatically, cancel anytime.