refactor: create article model
This commit is contained in:
7
src/core/types/expert.ts
Normal file
7
src/core/types/expert.ts
Normal file
@@ -0,0 +1,7 @@
|
||||
import { StaticImageData } from 'next/image';
|
||||
|
||||
export type TExpert = {
|
||||
position: string;
|
||||
name: string;
|
||||
photo: string | StaticImageData;
|
||||
};
|
||||
5
src/core/types/relatedArticles.ts
Normal file
5
src/core/types/relatedArticles.ts
Normal file
@@ -0,0 +1,5 @@
|
||||
export type TRelatedArticles = {
|
||||
title: string;
|
||||
description: string;
|
||||
link: string;
|
||||
};
|
||||
10
src/core/types/sidebar.ts
Normal file
10
src/core/types/sidebar.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
export type TSidebar = {
|
||||
estimate: string;
|
||||
relatedTitle?: string;
|
||||
related?: {
|
||||
title: string;
|
||||
link: string;
|
||||
}[];
|
||||
warrantiesTitle?: string;
|
||||
warranties?: string[];
|
||||
};
|
||||
Reference in New Issue
Block a user