refactor: move const, types to shared
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { TExpert } from '@core/types/expert';
|
||||
import { TExpert } from '@shared/types/expert';
|
||||
import expertPhoto from '@public/images/photo/yancen-yana.png';
|
||||
|
||||
export const expertData: TExpert = {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { TRelatedArticles } from '@core/types/relatedArticles';
|
||||
import { ROUTES } from '@core/constants/route';
|
||||
import { TRelatedArticles } from '@shared/types/relatedArticles';
|
||||
import { ROUTES } from '@shared/const/route';
|
||||
|
||||
export const relatedArticlesData: TRelatedArticles[] = [
|
||||
{
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { TSidebar } from '@core/types/sidebar';
|
||||
import { ROUTES } from '@core/constants/route';
|
||||
import { TSidebar } from '@/shared/types/sidebar';
|
||||
import { ROUTES } from '@shared/const/route';
|
||||
|
||||
const sidebarData: TSidebar = {
|
||||
estimate: '3',
|
||||
|
||||
Reference in New Issue
Block a user