refactor: move const, types to shared

This commit is contained in:
2025-07-04 13:37:52 +03:00
parent 62e0687358
commit a400d34a40
19 changed files with 24 additions and 23 deletions

View File

@@ -1,7 +1,7 @@
import s from './styles.module.scss';
import { Button, Input, PhoneInput } from '@shared/ui';
import Image from 'next/image';
import { TExpert } from '@core/types/expert';
import { TExpert } from '@/shared/types/expert';
import { Button, Input, PhoneInput } from '@shared/ui';
type ConsultationProps = TExpert;

View File

@@ -1,6 +1,6 @@
import s from './styles.module.scss';
import Link from 'next/link';
import { TRelatedArticles } from '@core/types/relatedArticles';
import { TRelatedArticles } from '@shared/types/relatedArticles';
import { CallbackForm } from '@/entities';
type RelatedArticlesProps = {

View File

@@ -1,7 +1,7 @@
import s from './styles.module.scss';
import Link from 'next/link';
import { Button } from '@shared/ui';
import { TSidebar } from '@core/types/sidebar';
import { TSidebar } from '@shared/types/sidebar';
type SidebarProps = TSidebar;