style: standardize button border-radius using --radius-button token
This commit is contained in:
+4
-1
@@ -22,6 +22,9 @@
|
|||||||
/* Ciemniejszy złoty/ochra dla zachowania kontrastu na jasnym tle */
|
/* Ciemniejszy złoty/ochra dla zachowania kontrastu na jasnym tle */
|
||||||
--accent-color: #7B5C35;
|
--accent-color: #7B5C35;
|
||||||
--accent-hover-color: #614828;
|
--accent-hover-color: #614828;
|
||||||
|
|
||||||
|
/* Globalny token dla przycisków prostokątnych (umiarkowane zaokrąglenie, nie pill) */
|
||||||
|
--radius-button: 6px;
|
||||||
}
|
}
|
||||||
|
|
||||||
[data-theme="dark"] {
|
[data-theme="dark"] {
|
||||||
@@ -58,7 +61,7 @@ h1, h2, h3, h4, h5, h6 {
|
|||||||
|
|
||||||
/* Stylizacja elementów interaktywnych dla "premium feel" */
|
/* Stylizacja elementów interaktywnych dla "premium feel" */
|
||||||
.btn-primary {
|
.btn-primary {
|
||||||
@apply inline-flex items-center justify-center rounded-lg px-6 py-3 font-medium text-white transition-all duration-300;
|
@apply inline-flex items-center justify-center rounded-[var(--radius-button)] px-6 py-3 font-medium text-white transition-all duration-300;
|
||||||
background-color: var(--accent-color);
|
background-color: var(--accent-color);
|
||||||
}
|
}
|
||||||
.btn-primary:hover {
|
.btn-primary:hover {
|
||||||
|
|||||||
@@ -29,7 +29,7 @@ export const FinalCTABlock: React.FC<Props> = ({ title, subtitle, buttonText })
|
|||||||
href={process.env.NEXT_PUBLIC_WHATSAPP_LINK || '#'}
|
href={process.env.NEXT_PUBLIC_WHATSAPP_LINK || '#'}
|
||||||
target="_blank"
|
target="_blank"
|
||||||
rel="noopener noreferrer"
|
rel="noopener noreferrer"
|
||||||
className="inline-flex items-center justify-center gap-2.5 px-8 py-4 bg-green-500 hover:bg-green-600 text-white text-base sm:text-lg font-bold rounded-xl transition-colors shadow-sm"
|
className="inline-flex items-center justify-center gap-2.5 px-8 py-4 bg-green-500 hover:bg-green-600 text-white text-base sm:text-lg font-bold rounded-[var(--radius-button)] transition-colors shadow-sm"
|
||||||
>
|
>
|
||||||
<MessageCircle size={22} />
|
<MessageCircle size={22} />
|
||||||
<span>{buttonText}</span>
|
<span>{buttonText}</span>
|
||||||
|
|||||||
@@ -81,7 +81,7 @@ export const HeroBlock: React.FC<Props> = ({ title, subtitle, primaryCta, second
|
|||||||
href={process.env.NEXT_PUBLIC_WHATSAPP_LINK || '#'}
|
href={process.env.NEXT_PUBLIC_WHATSAPP_LINK || '#'}
|
||||||
target="_blank"
|
target="_blank"
|
||||||
rel="noopener noreferrer"
|
rel="noopener noreferrer"
|
||||||
className="px-10 py-5 bg-accent hover:bg-accent/90 text-background font-bold text-lg transition-colors flex items-center justify-center"
|
className="px-10 py-5 bg-accent hover:bg-accent/90 text-background font-bold text-lg transition-colors flex items-center justify-center rounded-[var(--radius-button)]"
|
||||||
>
|
>
|
||||||
{primaryCta}
|
{primaryCta}
|
||||||
</a>
|
</a>
|
||||||
|
|||||||
@@ -110,7 +110,7 @@ export function Header({ navItems = [] }: { navItems?: any[] }) {
|
|||||||
href={process.env.NEXT_PUBLIC_WHATSAPP_NUMBER ? `https://wa.me/${process.env.NEXT_PUBLIC_WHATSAPP_NUMBER}` : '#'}
|
href={process.env.NEXT_PUBLIC_WHATSAPP_NUMBER ? `https://wa.me/${process.env.NEXT_PUBLIC_WHATSAPP_NUMBER}` : '#'}
|
||||||
target="_blank"
|
target="_blank"
|
||||||
rel="noopener noreferrer"
|
rel="noopener noreferrer"
|
||||||
className="flex items-center justify-center gap-2 bg-green-500 hover:bg-green-600 text-white px-8 py-4 rounded-full transition-colors w-full max-w-xs shadow-lg"
|
className="flex items-center justify-center gap-2 bg-green-500 hover:bg-green-600 text-white px-8 py-4 rounded-[var(--radius-button)] transition-colors w-full max-w-xs shadow-lg"
|
||||||
>
|
>
|
||||||
<MessageCircle size={24} />
|
<MessageCircle size={24} />
|
||||||
<span className="font-bold text-lg">WhatsApp</span>
|
<span className="font-bold text-lg">WhatsApp</span>
|
||||||
|
|||||||
Reference in New Issue
Block a user