refactor: create article model

This commit is contained in:
2025-07-03 16:26:00 +03:00
parent 9ef1ec4617
commit 62e0687358
12 changed files with 191 additions and 75 deletions

7
src/core/types/expert.ts Normal file
View File

@@ -0,0 +1,7 @@
import { StaticImageData } from 'next/image';
export type TExpert = {
position: string;
name: string;
photo: string | StaticImageData;
};

View File

@@ -0,0 +1,5 @@
export type TRelatedArticles = {
title: string;
description: string;
link: string;
};

10
src/core/types/sidebar.ts Normal file
View File

@@ -0,0 +1,10 @@
export type TSidebar = {
estimate: string;
relatedTitle?: string;
related?: {
title: string;
link: string;
}[];
warrantiesTitle?: string;
warranties?: string[];
};