Compare commits
6 Commits
version_2_
...
version_5_
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9bbe263701 | ||
| 253bf96646 | |||
|
|
c46d47952f | ||
| 725ae37201 | |||
|
|
dad69dac5b | ||
| 0c1d2ac648 |
@@ -38,11 +38,6 @@ const HeroAnimated = ({
|
||||
className="hero-animated-container"
|
||||
onMouseMove={handleMouseMove}
|
||||
>
|
||||
<div className="hero-animated-image-container">
|
||||
<div className="hero-animated-parallax-wrapper" style={parallaxStyle}>
|
||||
<ImageOrVideo imageSrc={imageSrc} videoSrc={videoSrc} className="hero-animated-image" />
|
||||
</div>
|
||||
</div>
|
||||
<div className="hero-animated-content w-content-width mx-auto">
|
||||
<div className="flex flex-col items-center gap-3 md:gap-5">
|
||||
<span className="px-3 py-1 mb-1 text-sm card rounded">{tag}</span>
|
||||
@@ -59,11 +54,16 @@ const HeroAnimated = ({
|
||||
className="max-w-8/10 text-lg md:text-xl leading-tight text-center"
|
||||
/>
|
||||
<div className="flex flex-wrap justify-center gap-3 mt-2">
|
||||
<Button text={primaryButton.text} href={primaryButton.href} variant="primary" animate />
|
||||
<Button text={secondaryButton.text} href={secondaryButton.href} variant="secondary" animate delay={0.1} />
|
||||
<Button text={primaryButton.text} href={primaryButton.href} variant="primary" animate className="btn-3d" />
|
||||
<Button text={secondaryButton.text} href={secondaryButton.href} variant="secondary" animate delay={0.1} className="btn-3d" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div className="hero-animated-image-container">
|
||||
<div className="hero-animated-parallax-wrapper" style={parallaxStyle}>
|
||||
<ImageOrVideo imageSrc={imageSrc} videoSrc={videoSrc} className="hero-animated-image" />
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
);
|
||||
};
|
||||
|
||||
@@ -151,6 +151,17 @@ h6 {
|
||||
font-family: var(--font-manrope), sans-serif;
|
||||
}
|
||||
|
||||
#hero {
|
||||
padding-top: 4rem;
|
||||
}
|
||||
|
||||
.hero-animated-container {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
gap: 2rem;
|
||||
}
|
||||
|
||||
/* WEBILD_CARD_STYLE */
|
||||
/* @cards/gradient-mesh */
|
||||
.card {
|
||||
@@ -183,3 +194,13 @@ h6 {
|
||||
2.10837px 3.16256px 9.48767px color-mix(in srgb, var(--color-accent) 10%, transparent);
|
||||
border: 1px solid var(--color-secondary-cta);
|
||||
}
|
||||
|
||||
.btn-3d {
|
||||
transition: transform 0.1s ease-out, border-bottom-width 0.1s ease-out;
|
||||
border-bottom: 4px solid rgba(0, 0, 0, 0.25);
|
||||
}
|
||||
|
||||
.btn-3d:active {
|
||||
transform: translateY(2px);
|
||||
border-bottom-width: 2px;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user