fix: migrate all hardcoded eyebrow labels and text to CMS to fix locale bleeding
This commit is contained in:
@@ -21,6 +21,7 @@ const iconMap: Record<string, LucideIcon> = {
|
||||
}
|
||||
|
||||
export interface ServicesDetailedProps {
|
||||
eyebrow?: string | null
|
||||
title: string
|
||||
subtitle?: string | null
|
||||
services?: Array<{
|
||||
@@ -31,8 +32,7 @@ export interface ServicesDetailedProps {
|
||||
}> | null
|
||||
}
|
||||
|
||||
export const ServicesDetailedBlock: React.FC<ServicesDetailedProps> = ({
|
||||
title,
|
||||
export const ServicesDetailedBlock: React.FC<ServicesDetailedProps> = ({ eyebrow, title,
|
||||
subtitle,
|
||||
services,
|
||||
}) => {
|
||||
@@ -40,9 +40,11 @@ export const ServicesDetailedBlock: React.FC<ServicesDetailedProps> = ({
|
||||
<section className="py-12 md:py-16">
|
||||
<div className="container-premium">
|
||||
<div className="max-w-3xl mb-12">
|
||||
<div className="font-mono text-sm md:text-base font-bold text-accent tracking-widest uppercase mb-4">
|
||||
// Usługi
|
||||
</div>
|
||||
{eyebrow && (
|
||||
<div className="font-mono text-sm md:text-base font-bold text-accent tracking-widest uppercase mb-4">
|
||||
// {eyebrow}
|
||||
</div>
|
||||
)}
|
||||
<h2 className="font-heading text-3xl sm:text-4xl md:text-5xl font-extrabold text-foreground tracking-tight text-balance">
|
||||
{title}
|
||||
</h2>
|
||||
|
||||
Reference in New Issue
Block a user