2025-06-03 16:57:33 +03:30
|
|
|
import images from '@/assets/images/images';
|
|
|
|
|
import Image from 'next/image';
|
|
|
|
|
import Link from 'next/link';
|
2025-06-09 17:14:44 +03:30
|
|
|
import { IProjectCardProps } from './project';
|
2025-06-03 16:57:33 +03:30
|
|
|
|
|
|
|
|
const projects = [
|
|
|
|
|
{
|
|
|
|
|
title: 'Sustainable Practices Reducing Waste in Industrial Production',
|
2025-06-09 17:14:44 +03:30
|
|
|
imageSrc: images.projectImg_1.src,
|
2025-06-03 16:57:33 +03:30
|
|
|
link: '#',
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
title: 'Advanced Robotics Revolutionizing Industrial Workflows',
|
2025-06-09 17:14:44 +03:30
|
|
|
imageSrc: images.projectImg_1.src,
|
2025-06-03 16:57:33 +03:30
|
|
|
link: '#',
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
title: 'Top Benefits of the Robotics in Manufacturing',
|
2025-06-09 17:14:44 +03:30
|
|
|
imageSrc: images.projectImg_1.src,
|
2025-06-03 16:57:33 +03:30
|
|
|
link: '#',
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
title: 'Leveraging Data Analytics for Smarter Production',
|
2025-06-09 17:14:44 +03:30
|
|
|
imageSrc: images.projectImg_1.src,
|
2025-06-03 16:57:33 +03:30
|
|
|
link: '#',
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
title: 'Reducing Operational Costs Through Automation',
|
2025-06-09 17:14:44 +03:30
|
|
|
imageSrc: '/images/post5.jpg',
|
2025-06-03 16:57:33 +03:30
|
|
|
link: '#',
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
title: 'The Advantages of Customized Manufacturing Solutions',
|
2025-06-09 17:14:44 +03:30
|
|
|
imageSrc: '/images/post6.jpg',
|
2025-06-03 16:57:33 +03:30
|
|
|
link: '#',
|
|
|
|
|
},
|
2025-06-09 17:14:44 +03:30
|
|
|
] as IProjectCardProps[];
|
2025-06-03 16:57:33 +03:30
|
|
|
|
|
|
|
|
export default function ProjectsGrid() {
|
|
|
|
|
return (
|
|
|
|
|
<div className="container mx-auto grid grid-cols-1 gap-6 px-4 py-14 md:grid-cols-2 md:py-28">
|
|
|
|
|
{projects.map((project, index) => (
|
|
|
|
|
<Link
|
|
|
|
|
href={project.link}
|
|
|
|
|
key={index}
|
|
|
|
|
className="overflow-hidden bg-white"
|
|
|
|
|
>
|
|
|
|
|
<div className="relative aspect-[1.09] w-full overflow-hidden rounded-4xl">
|
|
|
|
|
<Image
|
2025-06-09 17:14:44 +03:30
|
|
|
src={project.imageSrc}
|
2025-06-03 16:57:33 +03:30
|
|
|
alt={project.title}
|
|
|
|
|
fill
|
|
|
|
|
className="h-auto w-full object-cover"
|
|
|
|
|
/>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div className="py-7 text-center">
|
|
|
|
|
<h2 className="mb-5 text-xl font-semibold">{project.title}</h2>
|
|
|
|
|
</div>
|
|
|
|
|
</Link>
|
|
|
|
|
))}
|
|
|
|
|
</div>
|
|
|
|
|
);
|
|
|
|
|
}
|