Files
website/data/home.ts
T

293 lines
6.9 KiB
TypeScript

export const navLinks = [
{ href: "/businesses", label: "Categories", hasMenu: true },
{ href: "/#vision", label: "vision" },
{ href: "/about", label: "about us" },
{ href: "/contact", label: "contact us" },
] as const;
export type MegaLink = { label: string; href: string };
export type MegaGroup = {
title: string;
links: MegaLink[];
};
export type MegaTab = {
id: string;
label: string;
icon: string;
groups: MegaGroup[];
featured: {
title: string;
image: string;
imageClass?: string;
};
};
const placeholders = (count: number): MegaLink[] =>
Array.from({ length: count }, () => ({
label: "Subcategory 1",
href: "/businesses",
}));
export const megaMenuTabs: MegaTab[] = [
{
id: "industry",
label: "Industry",
icon: "/images/icons/gear.svg",
groups: [
{
title: "Materials",
links: [
{ label: "Metals", href: "/businesses" },
{ label: "Plastics", href: "/businesses" },
{ label: "Chemicals", href: "/businesses" },
],
},
{
title: "Category",
links: placeholders(5),
},
{
title: "Category",
links: placeholders(6),
},
{
title: "Category",
links: placeholders(5),
},
],
featured: {
title: "Iranian industry",
image: "/images/categories/industry.png",
imageClass: "drum",
},
},
{
id: "stores",
label: "Stores",
icon: "/images/icons/cart.svg",
groups: [
{
title: "Wearables",
links: [
{ label: "Clothes", href: "/businesses" },
{ label: "Shoes", href: "/businesses" },
{ label: "Accessories", href: "/businesses" },
],
},
{
title: "Category",
links: placeholders(5),
},
{
title: "Category",
links: placeholders(6),
},
{
title: "Category",
links: placeholders(5),
},
],
featured: {
title: "Persian unique style",
image: "/images/categories/clothes.png",
imageClass: "dress",
},
},
{
id: "wholesellers",
label: "Whole sellers",
icon: "/images/icons/gear.svg",
groups: [
{
title: "Apparel",
links: [
{ label: "Clothes", href: "/businesses" },
{ label: "Shoes", href: "/businesses" },
{ label: "Textiles", href: "/businesses" },
],
},
{
title: "Category",
links: placeholders(5),
},
{
title: "Category",
links: placeholders(6),
},
{
title: "Category",
links: placeholders(5),
},
],
featured: {
title: "Wholesale market",
image: "/images/categories/shoes.png",
imageClass: "shoes",
},
},
{
id: "services",
label: "Services",
icon: "/images/icons/home-outline.svg",
groups: [
{
title: "Business",
links: [
{ label: "Logistics", href: "#services" },
{ label: "Consulting", href: "#services" },
{ label: "Support", href: "#services" },
],
},
{
title: "Category",
links: placeholders(5),
},
{
title: "Category",
links: placeholders(6),
},
{
title: "Category",
links: placeholders(5),
},
],
featured: {
title: "Professional services",
image: "/images/categories/services.png",
imageClass: "notebook",
},
},
];
export const featuredCategories = [
{
title: "industry",
description: "Some description about the title",
image: "/images/categories/industry.png",
imageClass: "industry",
},
{
title: "Food",
description: "Some description about the title",
image: "/images/categories/food.png",
imageClass: "food",
},
{
title: "Fruits",
description: "Some description about the title",
image: "/images/categories/fruits.png",
imageClass: "fruits",
},
{
title: "Clothes",
description: "Some description about the title",
image: "/images/categories/clothes.png",
imageClass: "clothes",
},
{
title: "Home Furniture",
description: "Some description about the title",
image: "/images/categories/chair.png",
imageClass: "chair",
},
{
title: "Shoes",
description: "Some description about the title",
image: "/images/categories/shoes.png",
imageClass: "shoes",
},
{
title: "Home appliances",
description: "Some description about the title",
image: "/images/categories/washer.png",
imageClass: "washer",
},
{
title: "Services",
description: "Some description about the title",
image: "/images/categories/services.png",
imageClass: "services",
},
];
export type Producer = {
slug: string;
name: string;
tagline: string;
products: string;
since: string;
description: string;
typeIcon: "cart" | "gear";
typeLabel: string;
category: string;
cover: string;
logo: string;
logoClass?: string;
};
export const featuredProducers: Producer[] = [
{
slug: "sani-khani",
name: "sani khani",
tagline: "Lorem Ipsum",
products: "921",
since: "2021",
description: "we will show your business to verity of visitor around the world.",
typeIcon: "cart",
typeLabel: "Store",
category: "Home Appliances",
cover: "/images/producers/cover-laundry.png",
logo: "/images/producers/logo-sani.png",
logoClass: "wide",
},
{
slug: "arad-charta",
name: "Arad charta",
tagline: "we produce bread materials",
products: "3",
since: "2021",
description: "we will show your business to verity of visitor around the world.",
typeIcon: "gear",
typeLabel: "Industry",
category: "Food",
cover: "/images/producers/cover-bakery.png",
logo: "/images/producers/logo-arad.png",
},
{
slug: "simode",
name: "Simode",
tagline: "Clothes whole seller",
products: "121",
since: "2021",
description: "we will show your business to verity of visitor around the world.",
typeIcon: "gear",
typeLabel: "Whole Seller",
category: "Clothes",
cover: "/images/producers/cover-clothes.png",
logo: "/images/producers/logo-simode.png",
logoClass: "round",
},
{
slug: "ayoubi-gallery",
name: "ayoubi gallery",
tagline: "An elegant jewellery store",
products: "121",
since: "2021",
description: "we will show your business to verity of visitor around the world.",
typeIcon: "gear",
typeLabel: "Store",
category: "Jewellery",
cover: "/images/producers/cover-jewelry.png",
logo: "/images/producers/logo-ayoubi.png",
logoClass: "square",
},
];
export const aboutBullets = [
"Excepteur sint occaecat cupidatat non proident",
"veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo con",
"Excepteur sint occaecat cupidatat non proident",
];