'use client'; import s from './styles.module.scss'; import Link from 'next/link'; import { Button } from '@shared/ui'; import { TSidebar } from '@shared/types/sidebar'; import { useModal } from '@core/providers/modal-provider'; import { ConsultationModal } from '@/feature/article'; import { CONTACTS } from '@shared/const/contacts'; type SidebarProps = { pageName?: string } & TSidebar; function Sidebar({ estimate = '3', offer, relatedTitle, related, warrantiesTitle, warranties, pageName, }: SidebarProps) { const modal = useModal(); const openModal = () => modal.showModal(); const callTo = `tel:${CONTACTS.PHONE}`; return ( ); } export { Sidebar };