85 lines
2.9 KiB
TypeScript
85 lines
2.9 KiB
TypeScript
"use client";
|
|
|
|
import { motion } from "framer-motion";
|
|
import { ArrowUpRight } from "lucide-react";
|
|
|
|
import { Button } from "@/components/ui/button";
|
|
import { Card, CardContent } from "@/components/ui/card";
|
|
import { cn } from "@/lib/utils";
|
|
|
|
type ServiceProps = {
|
|
title: string;
|
|
image: string;
|
|
url: string;
|
|
};
|
|
|
|
const services: ServiceProps[] = [
|
|
{
|
|
title: "پیادهسازی سامانه مدیریت ارتباط با مشتری",
|
|
image:
|
|
"/block-media/shadcnblocks/block/photos/simone-hutsch-6jEVl7xPH3E-unsplash.jpg",
|
|
url: "",
|
|
},
|
|
{
|
|
title: "اتوماسیون بازاریابی",
|
|
image:
|
|
"/block-media/shadcnblocks/block/photos/simone-hutsch-gDmVqxZt1hg-unsplash.jpg",
|
|
url: "",
|
|
},
|
|
];
|
|
|
|
interface Services11Props {
|
|
className?: string;
|
|
}
|
|
|
|
const Services11 = ({ className }: Services11Props) => {
|
|
return (
|
|
<section dir="rtl" lang="fa" className={cn("py-32", className)}>
|
|
<div className="container grid grid-cols-1 gap-10 lg:grid-cols-3">
|
|
<div className="flex flex-col justify-between lg:col-span-1">
|
|
<div>
|
|
<h2 className="mb-4 text-xl font-medium text-foreground md:text-2xll">
|
|
خدمات رشد B2B
|
|
</h2>
|
|
<p className="w-72 text-base tracking-tight text-muted-foreground">
|
|
سامانه مدیریت ارتباط با مشتری و اتوماسیون بازاریابی را طوری پیاده میکنیم که سرنخ واجد
|
|
شرایط وارد پایپلاین شود و فروش با داده تمیز کار کند.
|
|
</p>
|
|
</div>
|
|
<Button variant="outline" className="mt-8 w-fit">
|
|
مشاهده همه خدمات
|
|
<ArrowUpRight className="ms-2 h-4 w-4 rtl:rotate-180" />
|
|
</Button>
|
|
</div>
|
|
|
|
<div className="grid grid-cols-1 gap-6 sm:grid-cols-2 lg:col-span-2">
|
|
{services.map((service, idx) => (
|
|
<motion.a
|
|
key={idx}
|
|
href={service.url}
|
|
whileHover={{ opacity: 0.8 }}
|
|
className="group block overflow-hidden rounded-xl"
|
|
>
|
|
<Card className="relative aspect-[3/4] overflow-hidden border-none bg-muted p-0">
|
|
<img
|
|
src={service.image}
|
|
alt={service.title}
|
|
className="absolute inset-0 h-full w-full object-cover"
|
|
/>
|
|
<CardContent className="absolute inset-0 flex flex-col justify-start p-6">
|
|
<div className="pe-4 font-semibold text-white">
|
|
{service.title}
|
|
</div>
|
|
</CardContent>
|
|
<ArrowUpRight className="absolute top-6 end-6 h-6 w-6 text-white transition-transform group-hover:scale-110 rtl:rotate-180" />
|
|
</Card>
|
|
</motion.a>
|
|
))}
|
|
</div>
|
|
</div>
|
|
</section>
|
|
);
|
|
};
|
|
|
|
export { Services11 };
|