add hero redesgin

This commit is contained in:
zoronjiermin committed 2026-05-04 22:14:46 +02:00
1 parent 283a7a5214
commit 3a66eaaf4a
7 files changed
+343 -188

No files matched your search

@@ -6,45 +6,60 @@ function HeroSection({
heroImageRef,
setHeadlinePrimaryRef,
setHeadlineSecondaryRef,
setWordmarkRef,
setDescriptionRef,
setActionsRef,
setScrollRef,
overlayRef,
overlayTextRef,
}) {
return (
<header className="hero" id="home">
<div className="hero-media" ref={heroImageWrapRef}>
<img
src="/atmos-hero-image.png"
alt="Atmos perfume bottle in a material-led campaign scene"
className="hero-media__image"
ref={heroImageRef}
loading="eager"
decoding="async"
fetchPriority="high"
/>
<section className="hero" id="home" aria-labelledby="hero-heading">
<div className="hero-material" ref={heroImageWrapRef} aria-hidden="true">
<div className="hero-material__texture" ref={heroImageRef} />
</div>
<div className="hero-wordmark" aria-hidden="true">
<div className="hero-wordmark__mask">
<img
src="/atmos-hero-wordmark.svg"
alt=""
className="hero-wordmark__image"
ref={setWordmarkRef}
/>
</div>
</div>
<figure className="hero-product">
<div className="hero-product__inner" ref={setDescriptionRef}>
<img
src="/blasse-seide-hero-product.webp"
alt="Blasse Seide Parfumflakon auf einer dunklen Produktkarte"
className="hero-product__image"
loading="eager"
decoding="async"
fetchPriority="high"
/>
</div>
</figure>
<div className="hero-content">
<h1 className="hero-title">
<span className="hero-title-line">
<h1 className="hero-copy" id="hero-heading">
<span className="hero-copy-line">
<span className="reveal-line" ref={setHeadlinePrimaryRef}>
{"D\u00DCFTE ALS"}
{"Konzeptionelle D\u00FCfte"}
</span>
</span>
<span className="hero-title-line">
<span className="hero-copy-line">
<span className="reveal-line" ref={setHeadlineSecondaryRef}>
AUSDRUCK
{"zwischen Materialit\u00E4t,"}
</span>
</span>
<span className="hero-copy-line">
<span className="reveal-line">Raum und Charakter.</span>
</span>
</h1>
<p className="hero-text" ref={setDescriptionRef}>
{
"Konzeptionelle D\u00FCfte zwischen Materialit\u00E4t, Raum und Charakter."
}
</p>
<div className="hero-actions" ref={setActionsRef}>
<a href="#dufte" className="btn btn-primary">
{"Aktuelle D\u00FCfte"}
@@ -55,12 +70,17 @@ function HeroSection({
</div>
</div>
<div className="hero-scroll" aria-hidden="true" ref={setScrollRef}>
<span className="hero-scroll__line" />
<span className="hero-scroll__label">SCROLL RUNTER</span>
</div>
<IntroOverlay
overlayRef={overlayRef}
overlayTextRef={overlayTextRef}
logoSrc="/atmos-logo-dark.svg"
/>
</header>
</section>
);
}