split category fetching from menu items
This commit is contained in:
@@ -20,9 +20,10 @@ export function CategoryPageHero({ title, description, badge }: CategoryPageHero
|
||||
|
||||
<div className="flex items-start gap-8">
|
||||
<div className="flex-1">
|
||||
{badge && (
|
||||
<div className="inline-block px-4 py-1.5 bg-blue-50 text-blue-600 rounded-full text-sm mb-6">{badge}</div>
|
||||
)}
|
||||
<div className="inline-block px-4 py-1.5 bg-blue-50 text-blue-600 rounded-full text-sm mb-6">
|
||||
{badge || 'Каталог решений'}
|
||||
</div>
|
||||
|
||||
{title && <h1 className="text-5xl lg:text-6xl mb-6 leading-tight text-gray-900">{title}</h1>}
|
||||
{description && <p className="text-xl text-gray-600 max-w-3xl leading-relaxed">{description}</p>}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user