mirror of
https://github.com/Lapikud/tipilan.git
synced 2026-05-08 18:08:32 +00:00
Button style changes, created secondary class
This commit is contained in:
@@ -144,7 +144,39 @@ body {
|
|||||||
justify-content: center;
|
justify-content: center;
|
||||||
gap: 8px;
|
gap: 8px;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
transition: opacity 0.2s;
|
transition: background-color 0.1s, color 0.1s;
|
||||||
|
|
||||||
|
&:hover {
|
||||||
|
background-color: var(--color-text-light);
|
||||||
|
}
|
||||||
|
|
||||||
|
&:active {
|
||||||
|
background-color: var(--color-primary);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@utility btn-secondary-lg {
|
||||||
|
background-color: color-mix(in srgb, var(--color-primary) 20%, transparent);
|
||||||
|
color: var(--color-text-light);
|
||||||
|
box-shadow: inset 0 0 0 4px var(--color-primary);
|
||||||
|
padding: 16px;
|
||||||
|
min-width: 56px;
|
||||||
|
display: inline-flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
gap: 8px;
|
||||||
|
cursor: pointer;
|
||||||
|
transition: background-color 0.2s, color 0.2s;
|
||||||
|
|
||||||
|
&:hover {
|
||||||
|
background-color: var(--color-primary);
|
||||||
|
color: var(--color-bg-dark);
|
||||||
|
}
|
||||||
|
|
||||||
|
&:active {
|
||||||
|
background-color: color-mix(in srgb, var(--color-primary) 20%, transparent);
|
||||||
|
color: var(--color-text-light);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* ===== Scrollbar hidden utility ===== */
|
/* ===== Scrollbar hidden utility ===== */
|
||||||
|
|||||||
@@ -104,7 +104,7 @@ export default function EndSection() {
|
|||||||
<h2 className="text-h1 text-text-light text-center text-shadow-teaser">
|
<h2 className="text-h1 text-text-light text-center text-shadow-teaser">
|
||||||
{t("teaser.sponsors.cta")}
|
{t("teaser.sponsors.cta")}
|
||||||
</h2>
|
</h2>
|
||||||
<a href="mailto:tipilan@ituk.ee" className="btn-primary-lg text-btn-lg hover:opacity-80" style={{ backgroundColor: "#FFAB00", color: "#1a1a1a" }}>
|
<a href="mailto:tipilan@ituk.ee" className="btn-secondary-lg text-btn-lg">
|
||||||
{t("teaser.sponsors.contactButton")}
|
{t("teaser.sponsors.contactButton")}
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -37,7 +37,7 @@ export default function HeroSection({ onScrollDown }: HeroSectionProps) {
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
{/* Center content */}
|
{/* Center content */}
|
||||||
<div className="relative z-[1] flex flex-col items-center justify-center h-full gap-8 lg:gap-16 px-6">
|
<div className="relative z-1 flex flex-col items-center justify-center h-full gap-8 lg:gap-16 px-6">
|
||||||
{/* Logo */}
|
{/* Logo */}
|
||||||
<Image
|
<Image
|
||||||
src="/tipilan-logo.svg"
|
src="/tipilan-logo.svg"
|
||||||
@@ -94,8 +94,7 @@ export default function HeroSection({ onScrollDown }: HeroSectionProps) {
|
|||||||
</a>
|
</a>
|
||||||
<a
|
<a
|
||||||
href="mailto:tipilan@ituk.ee"
|
href="mailto:tipilan@ituk.ee"
|
||||||
className="btn-primary-lg text-btn-lg hover:opacity-80 text-center"
|
className="btn-secondary-lg text-btn-lg text-center"
|
||||||
style={{ backgroundColor: "#FFAB00", color: "#1a1a1a" }}
|
|
||||||
>
|
>
|
||||||
{t("teaser.sponsors.contactButton")}
|
{t("teaser.sponsors.contactButton")}
|
||||||
</a>
|
</a>
|
||||||
|
|||||||
Reference in New Issue
Block a user