fix: add content to expertise pages

This commit is contained in:
2025-07-08 16:21:40 +03:00
parent 919c3c462e
commit 3e2426424d
148 changed files with 3708 additions and 169 deletions

View File

@@ -8,7 +8,7 @@ import { useModal } from '@core/providers/modal-provider';
import { ConsultationModal } from '@/feature/article';
import { CONTACTS } from '@shared/const/contacts';
type SidebarProps = TSidebar;
type SidebarProps = { pageName?: string } & TSidebar;
function Sidebar({
estimate = '3',
@@ -16,9 +16,11 @@ function Sidebar({
related,
warrantiesTitle,
warranties,
pageName,
}: SidebarProps) {
const modal = useModal();
const openModal = () => modal.showModal(<ConsultationModal />);
const openModal = () =>
modal.showModal(<ConsultationModal pageName={pageName} />);
const callTo = `tel:${CONTACTS.PHONE}`;