build and format
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
import { Card, CardContent } from "@/components/UI/card";
|
||||
import { Carousel, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious } from "@/components/UI/Carousel";
|
||||
import {salons} from "@/data/mockCategories";
|
||||
import { salons } from "@/data/mockCategories";
|
||||
import Image from "next/image";
|
||||
import { easeOut, motion } from "framer-motion";
|
||||
|
||||
@@ -79,7 +79,7 @@ export function CarouselComponent({ title, description }: Props) {
|
||||
transition={{ type: "spring", stiffness: 300 }}
|
||||
>
|
||||
<Card dir="rtl" className="cursor-pointer transition-shadow hover:shadow-xl">
|
||||
<CardContent className="flex h-30 flex-col items-center justify-center gap-3 ">
|
||||
<CardContent className="flex h-30 flex-col items-center justify-center gap-3">
|
||||
<motion.div
|
||||
whileHover={{ rotate: 5 }}
|
||||
transition={{ type: "spring", stiffness: 200 }}
|
||||
|
||||
@@ -49,54 +49,54 @@ export const salons = [
|
||||
{
|
||||
id: 1,
|
||||
salon_name: "سالن همارو",
|
||||
rate : "4",
|
||||
rate: "4",
|
||||
image: "/images/salons/salon.jpg",
|
||||
},
|
||||
{
|
||||
id: 2,
|
||||
salon_name: "سالن بیوتی",
|
||||
rate : "4",
|
||||
rate: "4",
|
||||
image: "/images/salons/salon.jpg",
|
||||
},
|
||||
{
|
||||
id: 3,
|
||||
rate : "4",
|
||||
rate: "4",
|
||||
salon_name: "سالن عروس",
|
||||
image: "/images/salons/salon.jpg",
|
||||
},
|
||||
{
|
||||
id: 4,
|
||||
rate : "4",
|
||||
rate: "4",
|
||||
salon_name: "سالن فیشیال",
|
||||
image: "/images/salons/salon.jpg",
|
||||
},
|
||||
{
|
||||
id: 5,
|
||||
rate : "4",
|
||||
rate: "4",
|
||||
salon_name: "سالن زیبایی",
|
||||
image: "/images/salons/salon.jpg",
|
||||
},
|
||||
{
|
||||
id: 7,
|
||||
rate : "4",
|
||||
rate: "4",
|
||||
salon_name: "سالن همارو",
|
||||
image: "/images/salons/salon.jpg",
|
||||
},
|
||||
{
|
||||
id: 8,
|
||||
rate : "4",
|
||||
rate: "4",
|
||||
salon_name: "سالن عروس",
|
||||
image: "/images/salons/salon.jpg",
|
||||
},
|
||||
{
|
||||
id: 9,
|
||||
rate : "4",
|
||||
rate: "4",
|
||||
salon_name: "سالن بیوتی",
|
||||
image: "/images/salons/salon.jpg",
|
||||
},
|
||||
{
|
||||
id: 10,
|
||||
rate : "4",
|
||||
rate: "4",
|
||||
salon_name: "سالن بیوتی",
|
||||
image: "/images/salons/salon.jpg",
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user