Wire Meshkee catalog: products, blog, mega menu, and product search.
Catalog-only (no cart); search targets store items and products pages. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
co-authored by
Cursor
parent
cfa21cbee9
commit
8e14748b48
+26
-10
@@ -1,3 +1,15 @@
|
||||
export type Product = {
|
||||
id: string;
|
||||
title: string;
|
||||
brand: string;
|
||||
price?: number;
|
||||
oldPrice?: number;
|
||||
discount?: number;
|
||||
image: string;
|
||||
href?: string;
|
||||
inStock?: boolean;
|
||||
};
|
||||
|
||||
export const site = {
|
||||
name: "فروشگاه برادران برقعی",
|
||||
nameEn: "Burgheii Brothers Store",
|
||||
@@ -56,7 +68,7 @@ export const branches = [
|
||||
|
||||
export const navLinks = [
|
||||
{ href: "/", label: "خانه" },
|
||||
{ href: "/#parts", label: "قطعات" },
|
||||
{ href: "/products", label: "محصولات" },
|
||||
{ href: "/blog", label: "مقالات" },
|
||||
{ href: "/about", label: "درباره ما" },
|
||||
{ href: "/contact", label: "ارتباط با ما" },
|
||||
@@ -370,17 +382,21 @@ export const threeBannerRow = [
|
||||
];
|
||||
|
||||
/** Placeholder products with white backgrounds until Meshkee store items are wired. */
|
||||
export const sampleProducts = [
|
||||
{ id: "p-vacuum", title: "قطعات جاروبرقی", image: "/images/categories/vacuum.jpg" },
|
||||
{ id: "p-blender", title: "قطعات مخلوط کن", image: "/images/categories/blender.jpg" },
|
||||
{ id: "p-grinder", title: "تیغ و شبکه چرخ گوشت", image: "/images/categories/meat-grinder.jpg" },
|
||||
{ id: "p-microwave", title: "قطعات ماکروویو", image: "/images/categories/microwave.png" },
|
||||
{ id: "p-kettle", title: "قطعات چای ساز", image: "/images/categories/kettle.jpg" },
|
||||
{ id: "p-iron", title: "قطعات اتو", image: "/images/categories/iron.jpg" },
|
||||
{ id: "p-bearing", title: "بلبرینگ", image: "/images/categories/bearing.jpg" },
|
||||
{ id: "p-collector", title: "کلکتور", image: "/images/categories/collector.jpg" },
|
||||
export const sampleProducts: Product[] = [
|
||||
{ id: "p-vacuum", title: "قطعات جاروبرقی", brand: "Vacuum", image: "/images/categories/vacuum.jpg", href: "/products" },
|
||||
{ id: "p-blender", title: "قطعات مخلوط کن", brand: "Blender", image: "/images/categories/blender.jpg", href: "/products" },
|
||||
{ id: "p-grinder", title: "تیغ و شبکه چرخ گوشت", brand: "Grinder", image: "/images/categories/meat-grinder.jpg", href: "/products" },
|
||||
{ id: "p-microwave", title: "قطعات ماکروویو", brand: "Microwave", image: "/images/categories/microwave.png", href: "/products" },
|
||||
{ id: "p-kettle", title: "قطعات چای ساز", brand: "Kettle", image: "/images/categories/kettle.jpg", href: "/products" },
|
||||
{ id: "p-iron", title: "قطعات اتو", brand: "Iron", image: "/images/categories/iron.jpg", href: "/products" },
|
||||
{ id: "p-bearing", title: "بلبرینگ", brand: "Bearing", image: "/images/categories/bearing.jpg", href: "/products" },
|
||||
{ id: "p-collector", title: "کلکتور", brand: "Collector", image: "/images/categories/collector.jpg", href: "/products" },
|
||||
];
|
||||
|
||||
export const consumablesFallback = sampleProducts.slice(0, 4);
|
||||
export const refrigeratorPartsFallback = sampleProducts.slice(2, 6);
|
||||
export const washingMachinePartsFallback = sampleProducts.slice(4, 8);
|
||||
|
||||
export const blogPosts = [
|
||||
{
|
||||
slug: "meat-grinder-blades",
|
||||
|
||||
Reference in New Issue
Block a user