356 lines
9.9 KiB
TypeScript
356 lines
9.9 KiB
TypeScript
import { categoryPath } from "@/lib/category-path";
|
|
|
|
export type Product = {
|
|
id: string | number;
|
|
nameFa: string;
|
|
nameEn: string;
|
|
price: string;
|
|
image: string;
|
|
/** Second photo revealed on card hover (slides in from the left). */
|
|
imageHover?: string;
|
|
href?: string;
|
|
};
|
|
|
|
export type Category = {
|
|
id: string;
|
|
nameFa: string;
|
|
nameEn: string;
|
|
image: string;
|
|
href?: string;
|
|
};
|
|
|
|
export type Feature = {
|
|
id: string;
|
|
title: string;
|
|
subtitle: string;
|
|
icon: string;
|
|
};
|
|
|
|
export const NAV_LINKS = [
|
|
{ label: "محصولات", href: "/products", hasDropdown: true },
|
|
{ label: "دستهبندیها", href: "/categories" },
|
|
{ label: "فروش ویژه", href: "/products?sale=1" },
|
|
{ label: "تماس با ما", href: "/contact" },
|
|
{ label: "درباره ما", href: "/about" },
|
|
] as const;
|
|
|
|
export const MEGA_MENU_TABS = [
|
|
{
|
|
id: "coat",
|
|
nameFa: "پالتو و کت",
|
|
nameEn: "Coats",
|
|
href: categoryPath({ id: "coat", nameEn: "Coats", nameFa: "پالتو و کت" }),
|
|
image: "/images/home/products/coat-blue.jpg",
|
|
links: [
|
|
{
|
|
label: "پالتو",
|
|
href: categoryPath({ id: "coat", nameEn: "Coats", nameFa: "پالتو و کت" }),
|
|
},
|
|
{
|
|
label: "کت",
|
|
href: categoryPath({ id: "coat", nameEn: "Coats", nameFa: "پالتو و کت" }),
|
|
},
|
|
{
|
|
label: "کت و شلوار",
|
|
href: categoryPath({ id: "coat", nameEn: "Coats", nameFa: "پالتو و کت" }),
|
|
},
|
|
{
|
|
label: "کت و دامن",
|
|
href: categoryPath({
|
|
id: "skirts",
|
|
nameEn: "Skirts",
|
|
nameFa: "دامن",
|
|
}),
|
|
},
|
|
],
|
|
},
|
|
{
|
|
id: "shirts",
|
|
nameFa: "پیراهن",
|
|
nameEn: "Shirts",
|
|
href: categoryPath({ id: "shirts", nameEn: "Shirts", nameFa: "پیراهن" }),
|
|
image: "/images/home/products/coat-navy.jpg",
|
|
links: [
|
|
{
|
|
label: "پیراهن",
|
|
href: categoryPath({ id: "shirts", nameEn: "Shirts", nameFa: "پیراهن" }),
|
|
},
|
|
{
|
|
label: "شومیز",
|
|
href: categoryPath({ id: "shirts", nameEn: "Shirts", nameFa: "پیراهن" }),
|
|
},
|
|
{
|
|
label: "تی شرت",
|
|
href: categoryPath({ id: "shirts", nameEn: "Shirts", nameFa: "پیراهن" }),
|
|
},
|
|
],
|
|
},
|
|
{
|
|
id: "pants",
|
|
nameFa: "شلوار",
|
|
nameEn: "Pants",
|
|
href: categoryPath({ id: "pants", nameEn: "Pants", nameFa: "شلوار" }),
|
|
image: "/images/home/products/coat-check.jpg",
|
|
links: [
|
|
{
|
|
label: "شلوار",
|
|
href: categoryPath({ id: "pants", nameEn: "Pants", nameFa: "شلوار" }),
|
|
},
|
|
{
|
|
label: "شلوار جین",
|
|
href: categoryPath({ id: "pants", nameEn: "Pants", nameFa: "شلوار" }),
|
|
},
|
|
],
|
|
},
|
|
{
|
|
id: "skirts",
|
|
nameFa: "دامن",
|
|
nameEn: "Skirts",
|
|
href: categoryPath({ id: "skirts", nameEn: "Skirts", nameFa: "دامن" }),
|
|
image: "/images/home/products/coat-beige.jpg",
|
|
links: [
|
|
{
|
|
label: "دامن",
|
|
href: categoryPath({ id: "skirts", nameEn: "Skirts", nameFa: "دامن" }),
|
|
},
|
|
{
|
|
label: "کت و دامن",
|
|
href: categoryPath({ id: "skirts", nameEn: "Skirts", nameFa: "دامن" }),
|
|
},
|
|
],
|
|
},
|
|
{
|
|
id: "bags",
|
|
nameFa: "کیف",
|
|
nameEn: "Bags",
|
|
href: categoryPath({ id: "bags", nameEn: "Bags", nameFa: "کیف" }),
|
|
image: "/images/home/banners/hero.jpg",
|
|
links: [
|
|
{
|
|
label: "کیف دستی",
|
|
href: categoryPath({ id: "bags", nameEn: "Bags", nameFa: "کیف" }),
|
|
},
|
|
{
|
|
label: "کوله",
|
|
href: categoryPath({ id: "bags", nameEn: "Bags", nameFa: "کیف" }),
|
|
},
|
|
],
|
|
},
|
|
{
|
|
id: "leather",
|
|
nameFa: "چرم",
|
|
nameEn: "Leather",
|
|
href: "/products?collection=leather",
|
|
image: "/images/home/banners/leather.png",
|
|
links: [
|
|
{ label: "کالکشن چرم", href: "/products?collection=leather" },
|
|
{
|
|
label: "کیف چرم",
|
|
href: categoryPath({ id: "bags", nameEn: "Bags", nameFa: "کیف" }),
|
|
},
|
|
],
|
|
},
|
|
] as const;
|
|
|
|
export const ABOUT = {
|
|
titleFa: "درباره ما",
|
|
titleEn: "About Us",
|
|
lead: "مانا کالکشن برای بانویی که خودش انتخاب میکند.",
|
|
body: "ما با تمرکز روی کیفیت، دوخت و جزئیات، کالکشنهایی میسازیم که هم معاصر باشند و هم ماندگار. از چرم تا پالتوهای فصل، هر قطعه با دقت انتخاب و ارائه میشود تا تجربه خرید ساده، شفاف و لذتبخش باشد.",
|
|
image: "/images/home/banners/hero.jpg",
|
|
imageSecondary: "/images/home/products/coat-beige.jpg",
|
|
} as const;
|
|
|
|
export const CATEGORIES: Category[] = [
|
|
{
|
|
id: "shirts",
|
|
nameFa: "پیراهن",
|
|
nameEn: "Shirts",
|
|
image: "/images/home/categories/cat-6.png",
|
|
href: categoryPath({ id: "shirts", nameEn: "Shirts", nameFa: "پیراهن" }),
|
|
},
|
|
{
|
|
id: "coat",
|
|
nameFa: "کت",
|
|
nameEn: "Coat",
|
|
image: "/images/home/categories/cat-2.png",
|
|
href: categoryPath({ id: "coat", nameEn: "Coat", nameFa: "کت" }),
|
|
},
|
|
{
|
|
id: "sunglasses",
|
|
nameFa: "عینک",
|
|
nameEn: "Glasses",
|
|
image: "/images/home/categories/cat-4.png",
|
|
href: categoryPath({
|
|
id: "sunglasses",
|
|
nameEn: "Glasses",
|
|
nameFa: "عینک",
|
|
}),
|
|
},
|
|
{
|
|
id: "bags",
|
|
nameFa: "کیف",
|
|
nameEn: "Bags",
|
|
image: "/images/home/categories/cat-3.png",
|
|
href: categoryPath({ id: "bags", nameEn: "Bags", nameFa: "کیف" }),
|
|
},
|
|
{
|
|
id: "pants",
|
|
nameFa: "شلوار",
|
|
nameEn: "Pants",
|
|
image: "/images/home/categories/cat-1.png",
|
|
href: categoryPath({ id: "pants", nameEn: "Pants", nameFa: "شلوار" }),
|
|
},
|
|
{
|
|
id: "skirts",
|
|
nameFa: "دامن",
|
|
nameEn: "Skirts",
|
|
image: "/images/home/categories/cat-5.png",
|
|
href: categoryPath({ id: "skirts", nameEn: "Skirts", nameFa: "دامن" }),
|
|
},
|
|
];
|
|
|
|
export const SALE_PRODUCTS: Product[] = [
|
|
{
|
|
id: "p1",
|
|
nameFa: "پالتو فوتر آبی",
|
|
nameEn: "Footer Blue Palto",
|
|
price: "6.900.000",
|
|
image: "/images/home/products/coat-blue.jpg",
|
|
imageHover: "/images/home/products/coat-beige.jpg",
|
|
},
|
|
{
|
|
id: "p2",
|
|
nameFa: "پالتو فوتر آبی",
|
|
nameEn: "Footer Blue Palto",
|
|
price: "6.900.000",
|
|
image: "/images/home/products/coat-beige.jpg",
|
|
imageHover: "/images/home/products/coat-navy.jpg",
|
|
},
|
|
{
|
|
id: "p3",
|
|
nameFa: "پالتو فوتر آبی",
|
|
nameEn: "Footer Blue Palto",
|
|
price: "6.900.000",
|
|
image: "/images/home/products/coat-navy.jpg",
|
|
imageHover: "/images/home/products/coat-check.jpg",
|
|
},
|
|
{
|
|
id: "p4",
|
|
nameFa: "پالتو فوتر آبی",
|
|
nameEn: "Footer Blue Palto",
|
|
price: "6.900.000",
|
|
image: "/images/home/products/coat-check.jpg",
|
|
imageHover: "/images/home/products/coat-blue.jpg",
|
|
},
|
|
{
|
|
id: "p5",
|
|
nameFa: "پالتو فوتر آبی",
|
|
nameEn: "Footer Blue Palto",
|
|
price: "6.900.000",
|
|
image: "/images/home/products/coat-blue.jpg",
|
|
imageHover: "/images/home/products/coat-navy.jpg",
|
|
},
|
|
{
|
|
id: "p6",
|
|
nameFa: "پالتو فوتر آبی",
|
|
nameEn: "Footer Blue Palto",
|
|
price: "6.900.000",
|
|
image: "/images/home/products/coat-beige.jpg",
|
|
imageHover: "/images/home/products/coat-check.jpg",
|
|
},
|
|
];
|
|
|
|
export const AUTUMN_PRODUCTS: Product[] = SALE_PRODUCTS;
|
|
|
|
export const FEATURES: Feature[] = [
|
|
{
|
|
id: "support",
|
|
title: "پشتیبانی آنلاین",
|
|
subtitle: "شنبه تا پنج شنبه | 10:00 الی 20:00",
|
|
icon: "/images/home/features/support.svg",
|
|
},
|
|
{
|
|
id: "return",
|
|
title: "تعویض و مرجوعی",
|
|
subtitle: "تا هفت روز پس از دریافت",
|
|
icon: "/images/home/features/return.svg",
|
|
},
|
|
{
|
|
id: "authentic",
|
|
title: "ضمانت اصالت کالا",
|
|
subtitle: "تضمین کیفیت و اصالت",
|
|
icon: "/images/home/features/authentic.svg",
|
|
},
|
|
{
|
|
id: "shipping",
|
|
title: "ارسال رایگان",
|
|
subtitle: "برای خرید های بالای 4 میلیون",
|
|
icon: "/images/home/features/shipping.svg",
|
|
},
|
|
];
|
|
|
|
export const BLACK_ITEMS = [
|
|
{
|
|
id: "coat",
|
|
image: "/images/home/black/coat.png",
|
|
alt: "پالتو مشکی",
|
|
nameFa: "پالتو",
|
|
nameEn: "Coat",
|
|
},
|
|
{
|
|
id: "pants",
|
|
image: "/images/home/black/pants.png",
|
|
alt: "شلوار مشکی",
|
|
nameFa: "شلوار",
|
|
nameEn: "Pants",
|
|
},
|
|
{
|
|
id: "shirt",
|
|
image: "/images/home/black/shirt.png",
|
|
alt: "پیراهن مشکی",
|
|
nameFa: "پیراهن",
|
|
nameEn: "Shirt",
|
|
},
|
|
{
|
|
id: "bag",
|
|
image: "/images/home/black/bag.png",
|
|
alt: "کیف مشکی",
|
|
nameFa: "کیف",
|
|
nameEn: "Bag",
|
|
},
|
|
] as const;
|
|
|
|
export const FOOTER_STORE_LINKS = [
|
|
{ label: "کالکشن پاییزه", href: "/products?collection=autumn" },
|
|
{ label: "فروش ویژه", href: "/products?sale=1" },
|
|
{ label: "پر فروش ترین ها", href: "/products?sort=popular" },
|
|
{ label: "درباره ما", href: "/about" },
|
|
{ label: "تماس با ما", href: "/contact" },
|
|
] as const;
|
|
|
|
export const FOOTER_CATEGORIES_COL1 = [
|
|
"پالتو",
|
|
"پیراهن",
|
|
"شومیز",
|
|
"تی شرت",
|
|
"کت و دامن",
|
|
"کت و شلوار",
|
|
] as const;
|
|
|
|
export const FOOTER_CATEGORIES_COL2 = [
|
|
"کیف",
|
|
"عینک",
|
|
"جوراب",
|
|
"تی شرت",
|
|
"کت و دامن",
|
|
"کت و شلوار",
|
|
] as const;
|
|
|
|
export const SOCIAL_LINKS = [
|
|
{ id: "instagram", href: "https://www.instagram.com/manacollection", icon: "/images/home/social/instagram.svg", label: "اینستاگرام" },
|
|
{ id: "telegram", href: "#", icon: "/images/home/social/telegram.svg", label: "تلگرام" },
|
|
{ id: "whatsapp", href: "#", icon: "/images/home/social/whatsapp.svg", label: "واتساپ" },
|
|
{ id: "linkedin", href: "#", icon: "/images/home/social/linkedin.svg", label: "لینکدین" },
|
|
] as const;
|