Compare commits
4 Commits
version_3_
...
version_5_
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e9e582d543 | ||
| 5189fba3e2 | |||
|
|
be75e69bf6 | ||
| 9abaace63e |
@@ -45,9 +45,9 @@ const HeroSplit = ({
|
||||
className="max-w-8/10 text-lg md:text-xl leading-tight text-center md:text-left"
|
||||
/>
|
||||
|
||||
<div className="flex flex-wrap max-md:justify-center gap-3 mt-3">
|
||||
<Button text={primaryButton.text} href={primaryButton.href} variant="primary"/>
|
||||
<Button text={secondaryButton.text} href={secondaryButton.href} variant="secondary"animationDelay={0.1} />
|
||||
<div className="flex flex-wrap max-md:justify-center mt-3">
|
||||
<Button text={primaryButton.text} href={primaryButton.href} variant="primary" className="rounded-r-none" />
|
||||
<Button text={secondaryButton.text} href={secondaryButton.href} variant="secondary" className="rounded-l-none" animationDelay={0.1} />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -165,40 +165,24 @@ h6 {
|
||||
|
||||
.primary-button {
|
||||
/* WEBILD_PRIMARY_BUTTON */
|
||||
/* @primaryButtons/depth-layers */
|
||||
/* @primaryButtons/full */
|
||||
background: var(--color-primary-cta);
|
||||
border-top: 1px solid color-mix(in srgb, var(--color-primary-cta) 80%, #fff);
|
||||
border-bottom: 1px solid color-mix(in srgb, var(--color-primary-cta) 80%, #000);
|
||||
box-shadow: 0 4px 6px rgba(0,0,0,0.1), 0 1px 3px rgba(0,0,0,0.08);
|
||||
transition: transform 0.2s ease-out, box-shadow 0.2s ease-out;
|
||||
}
|
||||
|
||||
.primary-button:hover {
|
||||
transform: translateY(-2px);
|
||||
box-shadow: 0 7px 14px rgba(0,0,0,0.1), 0 3px 6px rgba(0,0,0,0.08);
|
||||
}
|
||||
|
||||
.primary-button:active {
|
||||
transform: translateY(1px);
|
||||
box-shadow: 0 2px 4px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.08);
|
||||
}
|
||||
|
||||
.secondary-button {
|
||||
/* WEBILD_SECONDARY_BUTTON */
|
||||
/* @secondaryButtons/layered */
|
||||
/* @secondaryButtons/full */
|
||||
background: var(--color-secondary-cta);
|
||||
border-top: 1px solid color-mix(in srgb, var(--color-secondary-cta) 80%, #fff);
|
||||
border-bottom: 1px solid color-mix(in srgb, var(--color-secondary-cta) 80%, #000);
|
||||
box-shadow: 0 4px 6px rgba(0,0,0,0.1), 0 1px 3px rgba(0,0,0,0.08);
|
||||
transition: transform 0.2s ease-out, box-shadow 0.2s ease-out;
|
||||
}
|
||||
|
||||
.secondary-button:hover {
|
||||
transform: translateY(-2px);
|
||||
box-shadow: 0 7px 14px rgba(0,0,0,0.1), 0 3px 6px rgba(0,0,0,0.08);
|
||||
}
|
||||
|
||||
.secondary-button:active {
|
||||
transform: translateY(1px);
|
||||
box-shadow: 0 2px 4px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.08);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user