feat: enhance RichTextEditor with color/bg pickers, active states, and code toggle; fix hero subtitle typography
Deploy Canina / deploy (push) Has been cancelled
Deploy Canina / deploy (push) Has been cancelled
This commit is contained in:
1 parent
79c72517c2
commit
ad0d98f846
2 files changed
+426
-71
No files matched your search
@@ -138,8 +138,8 @@ export default function Hero({ banners = [], onShopNavigate }: { banners?: Banne
|
||||
{titleParts[1] && <span className="text-canina-blue ">{titleParts[1]}</span>}
|
||||
</h1>
|
||||
|
||||
<p
|
||||
className="text-sm lg:text-xl text-medical-gray-600 mb-3 sm:mb-5 max-w-2xl mx-auto lg:mx-0 leading-relaxed font-vazir animate-fade-in"
|
||||
<div
|
||||
className="text-sm lg:text-xl text-medical-gray-600 mb-3 sm:mb-5 max-w-2xl mx-auto lg:mx-0 leading-relaxed font-vazir animate-fade-in [&_p]:text-sm [&_p]:lg:text-xl [&_p]:leading-relaxed [&_p]:my-0 [&_span]:text-inherit"
|
||||
dangerouslySetInnerHTML={{
|
||||
__html: subtitle
|
||||
}}
|
||||
|
||||
Reference in new issue
Block a user