Files
Alireza HassaniandCursor c84147e765 Add Torob tags, Meshkee SEO routes, and updated static-image slots.
Product pages emit crawler-readable meta, public URLs use id plus Farsi slugs, and the homepage catalog matches the dashboard slot keys.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-01 16:12:26 +03:30

442 lines
15 KiB
TypeScript

import type { StaticImageData } from "next/image";
import { samples } from "./samples";
export type ImageSrc = string | StaticImageData;
export type Product = {
id: string;
name: string;
slug: string;
href?: string;
price: number;
oldPrice?: number;
stock?: number | null;
image: ImageSrc;
};
export type Post = {
id?: string;
slug: string;
title: string;
href?: string;
date: string;
image: ImageSrc;
abstract?: string;
};
export type Category = {
name: string;
english: string;
slug: string;
image: string;
};
export type ParentCategory = {
name: string;
slug: string;
children: { name: string; slug: string }[];
};
export const heroSlides = [
{
image: samples.glenJackson,
title: "بهترین لوازم کمپ",
english: "GEAR FOR THE WILD",
subtitle: "از سالار استور",
button: "شروع به خرید",
href: "/products",
},
{
image: samples.henryXu,
title: "همراه شما در کوهستان",
english: "BUILT FOR THE SUMMIT",
subtitle: "تجهیزات حرفه‌ای کوهنوردی",
button: "مشاهده محصولات",
href: "/products/camping-and-mountaineering",
},
{
image: samples.jesseGardner,
title: "کمپینگ فراموش‌نشدنی",
english: "NIGHTS WORTH THE CLIMB",
subtitle: "چادر، کیسه خواب و بیشتر",
button: "خرید چادر",
href: "/products/sleeping-tent",
},
];
export const heroSides = [
{
image: samples.jiscaLucia,
title: "پوشاک طبیعت‌گردی",
english: "WEAR THE TRAIL",
subtitle: "آماده برای هر مسیر",
href: "/products/clothing",
},
{
image: samples.fabioComparelli,
title: "ماجراجویی ادامه دارد",
english: "KEEP GOING",
subtitle: "لوازم کمپ و کوه",
href: "/products/camping-and-mountaineering",
},
];
export const PLACEHOLDER = {
product: "/images/placeholders/product.png",
blog: "/images/placeholders/blog.png",
about: samples.jiscaLucia,
specialSale: "/images/promo/special-sale.png",
topSelling: "/images/promo/top-selling.png",
slider: heroSlides.map((slide) => slide.image),
sliderSides: heroSides.map((side) => side.image),
banners4: [samples.phillipsJacobe, samples.paulGreen, samples.victorLarracuente, samples.seanBenesh],
banners3: [samples.kevinSchmid, samples.bradenCollum, samples.jesseGardner],
};
export const parentCategories: ParentCategory[] = [
{
name: "پوشاک",
slug: "clothing",
children: [
{ name: "کاپشن", slug: "jacket" },
{ name: "بادگیر", slug: "windbreaker" },
{ name: "گتر", slug: "mountaineering-gaiter" },
{ name: "دستمال سر و گردن", slug: "neck-scarf" },
{ name: "تیشرت", slug: "t-shirt" },
{ name: "بیس لایر", slug: "base-layer" },
{ name: "پانچو", slug: "raincoat" },
{ name: "شلوار", slug: "pants" },
{ name: "کلاه", slug: "hat" },
{ name: "دستکش", slug: "gloves" },
{ name: "جوراب", slug: "socks" },
{ name: "عینک", slug: "glasses" },
{ name: "کیف کمری", slug: "waist-bag" },
{ name: "سویشرت", slug: "sweatshirt" },
],
},
{
name: "کفش",
slug: "shoe",
children: [
{ name: "صندل", slug: "sandal" },
{ name: "کفش کوهنوردی", slug: "shoe" },
{ name: "یخ شکن", slug: "crampons" },
{ name: "لوازم جانبی کفش", slug: "shoe-accessories" },
],
},
{
name: "کمپینگ و کوهنوردی",
slug: "camping-and-mountaineering",
children: [
{ name: "کیسه خواب", slug: "sleeping-bag" },
{ name: "کوله پشتی", slug: "backpack" },
{ name: "چادر خواب", slug: "sleeping-tent" },
{ name: "قاشق چنگال", slug: "spoon-fork" },
{ name: "ظروف", slug: "containers" },
{ name: "باتوم کوهنوردی", slug: "mountaineering-baton" },
{ name: "چاقو", slug: "knife" },
{ name: "کپسول و اجاق گاز", slug: "travel-stove" },
{ name: "فندک و چخماق", slug: "lighter" },
{ name: "چراغ قوه و هدلایت", slug: "flashlight-and-headlights" },
{ name: "زیرانداز", slug: "underlay" },
{ name: "سایه بان", slug: "camping-canopy" },
{ name: "فلاسک", slug: "flask" },
{ name: "بیل و کلنگ", slug: "camping-shovel-and-pickaxe" },
{ name: "صندلی", slug: "camping-chairs" },
{ name: "تبر", slug: "ax" },
{ name: "نظافتی و سلامتی", slug: "cleanliness-and-health" },
{ name: "باتری", slug: "battery" },
{ name: "بالش", slug: "pillow" },
{ name: "امداد و نجات", slug: "amdad-o-ngat" },
{ name: "لوازم جانبی", slug: "accessories" },
{ name: "بخاری", slug: "heater" },
{ name: "کیسه آب و کمل بک", slug: "kamel-beck" },
{ name: "شعله افکن", slug: "flame-thrower" },
{ name: "قطب نما", slug: "compass" },
],
},
{
name: "صخره و یخ",
slug: "rock-and-ice",
children: [
{ name: "طناب", slug: "rope" },
{ name: "کارابین", slug: "carabiner" },
{ name: "یخ شکن", slug: "crampons" },
],
},
];
export const categories: Category[] = [
{ name: "اجاق گاز", english: "STOVE", slug: "travel-stove", image: "/images/categories/stove.png" },
{ name: "تیشرت", english: "T-SHIRT", slug: "t-shirt", image: "/images/categories/tshirt.png" },
{ name: "شلوار", english: "PANTS", slug: "pants", image: "/images/categories/pants.png" },
{ name: "چاقو", english: "KNIFE", slug: "knife", image: "/images/categories/knife.png" },
{ name: "کفش", english: "SHOES", slug: "shoe", image: "/images/categories/shoe.png" },
{ name: "کلاه", english: "HAT", slug: "hat", image: "/images/categories/hat.png" },
{ name: "هدلایت", english: "HEADLAMP", slug: "flashlight-and-headlights", image: "/images/categories/headlamp.png" },
{ name: "ظروف", english: "COOKWARE", slug: "containers", image: "/images/categories/cookware.png" },
{ name: "چادر", english: "TENT", slug: "sleeping-tent", image: "/images/categories/tent.png" },
{ name: "باتوم", english: "POLES", slug: "mountaineering-baton", image: "/images/categories/pole.png" },
{ name: "کیسه خواب", english: "SLEEPING BAG", slug: "sleeping-bag", image: "/images/categories/sleeping-bag.png" },
{ name: "کوله پشتی", english: "BACKPACK", slug: "backpack", image: "/images/categories/backpack.png" },
];
export const specialSaleProducts: Product[] = [
{
id: "1",
name: "چراغ سیار خودرو یین زین مدل YX-B067",
slug: "yin-xin-yx-b067",
price: 490000,
oldPrice: 550000,
image: PLACEHOLDER.product,
},
{
id: "2",
name: "دستمال سر و گردن زمستانی پیچی جیر",
slug: "winter-neck-scarf",
price: 290000,
oldPrice: 400000,
image: PLACEHOLDER.product,
},
{
id: "3",
name: "کیف کمک های اولیه سالار SALAR",
slug: "salar-first-aid-kit",
price: 405000,
oldPrice: 450000,
image: PLACEHOLDER.product,
},
{
id: "4",
name: "قاشق چنگال سفری مدل کارابین دار",
slug: "carabiner-travel-cutlery",
price: 490000,
image: PLACEHOLDER.product,
},
{
id: "5",
name: "قاشق چنگال مسافرتی تاشو مدل ارتشی",
slug: "army-folding-cutlery",
price: 550000,
image: PLACEHOLDER.product,
},
{
id: "6",
name: "گل برف باتوم کوهنوردی",
slug: "trekking-pole-snow-basket",
price: 96800,
oldPrice: 110000,
image: PLACEHOLDER.product,
},
{
id: "7",
name: "کلاه طوفان پلار هپی اوتدور",
slug: "happy-outdoor-storm-cap",
price: 450000,
oldPrice: 560000,
image: PLACEHOLDER.product,
},
{
id: "8",
name: "کلاه پلار نورث فیس",
slug: "north-face-polar-hat",
price: 745000,
oldPrice: 1260000,
image: PLACEHOLDER.product,
},
{
id: "9",
name: "محافظ سرسخمه باتوم مدل کلاسیک",
slug: "classic-pole-tip-protector",
price: 70400,
oldPrice: 80000,
image: PLACEHOLDER.product,
},
{
id: "10",
name: "سرسخمه یدکی باتوم",
slug: "spare-trekking-pole-tip",
price: 176000,
oldPrice: 220000,
image: PLACEHOLDER.product,
},
{
id: "11",
name: "گل سنگ باتوم کوهنوردی",
slug: "trekking-pole-mud-basket",
price: 59500,
oldPrice: 70000,
image: PLACEHOLDER.product,
},
];
export const topSellingProducts: Product[] = [
{
id: "ts-1",
name: "طناب پاراکورد فینو طرح ساده (۲۰متر)",
slug: "paracord-fino-20m",
price: 420000,
stock: 1,
image: PLACEHOLDER.product,
},
{
id: "ts-2",
name: "کلاه زمستانی مدل شکاری طرح پوست",
slug: "hunter-winter-hat",
price: 250000,
stock: 1,
image: PLACEHOLDER.product,
},
{
id: "ts-3",
name: "صندل آب نوردی (ساحلی) نسیم مدل کلمبیا",
slug: "nasim-columbia-sandals",
price: 400000,
stock: 2,
image: PLACEHOLDER.product,
},
{
id: "ts-4",
name: "کلاه روسی طرح پوست",
slug: "russian-hat",
price: 250000,
image: PLACEHOLDER.product,
},
{
id: "ts-5",
name: "کلاه پلار ۵.۱۱",
slug: "polar-hat-511",
price: 350000,
stock: 0,
image: PLACEHOLDER.product,
},
{
id: "ts-6",
name: "پانچو نایلونی اوا EVA (بارانی)",
slug: "eva-raincoat",
price: 350000,
image: PLACEHOLDER.product,
},
{
id: "ts-7",
name: "کلاه پلار نورث فیس",
slug: "north-face-polar-hat",
price: 745000,
oldPrice: 1260000,
image: PLACEHOLDER.product,
},
{
id: "ts-8",
name: "لیوان تاشو لایت مای فایر BACK UP CUP",
slug: "light-my-fire-backup-cup",
price: 0,
stock: 0,
image: PLACEHOLDER.product,
},
{
id: "ts-9",
name: "کارابین پیچ c1 (غیر فنی)",
slug: "carabiner-c1",
price: 130000,
image: PLACEHOLDER.product,
},
{
id: "ts-10",
name: "آفتابه مسافرتی A2",
slug: "travel-aftabeh-a2",
price: 120000,
image: PLACEHOLDER.product,
},
];
export const banners4 = [
{
href: "/products/camping-and-mountaineering",
image: PLACEHOLDER.banners4[0],
title: "کمپینگ و کوهنوردی",
english: "CAMP & CLIMB",
subtitle: "تجهیزات طبیعت‌گردی",
},
{
href: "/products/clothing",
image: PLACEHOLDER.banners4[1],
title: "پوشاک",
english: "TRAIL APPAREL",
subtitle: "لباس مناسب هر مسیر",
},
{
href: "/products/shoe",
image: PLACEHOLDER.banners4[2],
title: "کفش",
english: "FOOTWEAR",
subtitle: "کفش کوه و طبیعت",
},
{
href: "/products/rock-and-ice",
image: PLACEHOLDER.banners4[3],
title: "صخره و یخ",
english: "ROCK & ICE",
subtitle: "تجهیزات فنی صعود",
},
];
export const banners3 = [
{ href: "/products", image: PLACEHOLDER.banners3[0], alt: "همه محصولات سالار استور" },
{ href: "/special-sale", image: PLACEHOLDER.banners3[1], alt: "فروش ویژه سالار استور" },
{ href: "/festival", image: PLACEHOLDER.banners3[2], alt: "جشنواره سالار استور" },
];
export const brands = [
{ name: "Deuter", image: "/images/brands/deuter.png" },
{ name: "The North Face", image: "/images/brands/north-face.png" },
{ name: "Pekvnew", image: "/images/brands/pekvnew.webp" },
{ name: "Scarpa", image: "/images/brands/scarpa.png" },
{ name: "Mammut", image: "/images/brands/mammut.png" },
{ name: "Salewa", image: "/images/brands/salewa.png" },
{ name: "Gerber", image: "/images/brands/gerber.png" },
{ name: "Salomon", image: "/images/brands/salomon.png" },
{ name: "Jack Wolfskin", image: "/images/brands/jack-wolfskin.png" },
{ name: "Armour", image: "/images/brands/armour.png" },
{ name: "Wenger", image: "/images/brands/wenger.png" },
{ name: "Petzl", image: "/images/brands/petzl.png" },
];
export const posts = [
{ slug: "camelbak", title: "کمل بک چیست و چه کاربردی دارد؟", date: "۱۴۰۲/۱۰/۲۳", image: PLACEHOLDER.blog },
{ slug: "mountaineering-side-effects", title: "عوارض کوهنوردی برای زنان و مردان", date: "۱۴۰۲/۱۰/۲۳", image: PLACEHOLDER.blog },
{ slug: "trekking-pole-parts", title: "معرفی اجزای باتوم کوهنوردی", date: "۱۴۰۲/۱۰/۲۳", image: PLACEHOLDER.blog },
{ slug: "sunglasses-guide", title: "نحوه انتخاب عینک آفتابی کوهنوردی", date: "۱۴۰۲/۱۰/۲۳", image: PLACEHOLDER.blog },
{ slug: "sleeping-bag-sleep", title: "نحوه خوابیدن در کیسه خواب", date: "۱۴۰۲/۱۰/۲۳", image: PLACEHOLDER.blog },
{ slug: "avalanche", title: "بهمن چیست و چگونه به وجود می‌آید؟", date: "۱۴۰۲/۱۰/۱۶", image: PLACEHOLDER.blog },
{ slug: "survival-kit", title: "راهنمای ساخت کیت بقا کوهنوردی", date: "۱۴۰۲/۰۹/۲۷", image: PLACEHOLDER.blog },
{ slug: "stove-buying-guide", title: "فاکتورهای مهم در خرید سرشعله کوهنوردی", date: "۱۴۰۲/۰۹/۲۷", image: PLACEHOLDER.blog },
];
export const footerLinks = {
pages: [
{ name: "درباره ما", href: "/aboutus" },
{ name: "تماس با ما", href: "/contactus" },
{ name: "محصولات", href: "/products" },
{ name: "وبلاگ سالار استور", href: "/blog" },
],
support: [
{ name: "سوالات متداول", href: "/frequently-asked-questions" },
{ name: "راهنمای خرید از سالار استور", href: "/shopping-help" },
{ name: "نحوه ارسال و مرجوع", href: "/method-sending-returning" },
{ name: "هزینه‌های ارسال", href: "/shipping-cost" },
],
bestsellers: [
{ name: "گل برف باتوم کوهنوردی", href: "/products/trekking-pole-snow-basket" },
{ name: "کلاه پلار نورث فیس", href: "/products/north-face-polar-hat" },
{ name: "چاقو گربر مدل ۱۱۴", href: "/products/gerber-114" },
{ name: "پانچو یا بارانی نایلونی", href: "/products/eva-raincoat" },
],
};
export const features = [
{ title: "ارسال از ۲ روز کاری", image: "/images/icons/shipping.webp" },
{ title: "ضمانت اصل بودن کالا", image: "/images/icons/guarantee.webp" },
{ title: "پشتیبانی ۷ روز هفته", image: "/images/icons/support.webp" },
{ title: "ارسال به سراسر ایران", image: "/images/icons/nationwide.webp" },
];