62 lines
1.7 KiB
TypeScript
62 lines
1.7 KiB
TypeScript
|
|
import images from '@/assets/images/images';
|
||
|
|
|
||
|
|
export interface IPostCardProps {
|
||
|
|
id: string;
|
||
|
|
title: string;
|
||
|
|
fa_title?: string;
|
||
|
|
imageSrc: string;
|
||
|
|
link: string;
|
||
|
|
}
|
||
|
|
|
||
|
|
export const posts: IPostCardProps[] = [
|
||
|
|
{
|
||
|
|
id: '1',
|
||
|
|
title: 'Sustainable Practices Reducing Waste in Industrial Production',
|
||
|
|
fa_title: 'روشهای پایدار برای کاهش ضایعات در تولید صنعتی',
|
||
|
|
imageSrc: images.blogImg_1.src,
|
||
|
|
link: '#',
|
||
|
|
},
|
||
|
|
{
|
||
|
|
id: '2',
|
||
|
|
title: 'Advanced Robotics Revolutionizing Industrial Workflows',
|
||
|
|
fa_title: 'رباتیک پیشرفته و تحول فرآیندهای صنعتی',
|
||
|
|
imageSrc: images.blogImg_1.src,
|
||
|
|
link: '#',
|
||
|
|
},
|
||
|
|
{
|
||
|
|
id: '3',
|
||
|
|
title: 'Top Benefits of the Robotics in Manufacturing',
|
||
|
|
fa_title: 'مزایای اصلی استفاده از رباتیک در تولید',
|
||
|
|
imageSrc: images.blogImg_1.src,
|
||
|
|
link: '#',
|
||
|
|
},
|
||
|
|
{
|
||
|
|
id: '4',
|
||
|
|
title: 'Leveraging Data Analytics for Smarter Production',
|
||
|
|
fa_title: 'استفاده از تحلیل داده برای تولید هوشمندتر',
|
||
|
|
imageSrc: images.blogImg_1.src,
|
||
|
|
link: '#',
|
||
|
|
},
|
||
|
|
{
|
||
|
|
id: '5',
|
||
|
|
title: 'Reducing Operational Costs Through Automation',
|
||
|
|
fa_title: 'کاهش هزینهها با اتوماسیون',
|
||
|
|
imageSrc: '/images/post5.jpg',
|
||
|
|
link: '#',
|
||
|
|
},
|
||
|
|
{
|
||
|
|
id: '6',
|
||
|
|
title: 'The Advantages of Customized Manufacturing Solutions',
|
||
|
|
fa_title: 'مزایای راهحلهای سفارشیسازی در تولید',
|
||
|
|
imageSrc: '/images/post6.jpg',
|
||
|
|
link: '#',
|
||
|
|
},
|
||
|
|
];
|
||
|
|
|
||
|
|
export function generatePosts(): IPostCardProps[] {
|
||
|
|
return [...posts, ...posts, ...posts].map((e, i) => ({
|
||
|
|
...e,
|
||
|
|
id: String(i + 1),
|
||
|
|
}));
|
||
|
|
}
|