Files
gunbuilder-next-tailwind/src/mock/product.ts
T

972 lines
24 KiB
TypeScript

export interface Product {
id: string;
name: string;
description: string;
longDescription?: string;
image_url: string;
images?: string[]; // Multiple product images
brand: {
id: string;
name: string;
logo?: string;
};
category: {
id: string;
name: string;
};
specifications?: {
weight?: string;
length?: string;
material?: string;
finish?: string;
caliber?: string;
capacity?: string;
compatibility?: string[];
};
restrictions?: {
nfa?: boolean;
sbr?: boolean;
suppressor?: boolean;
stateRestrictions?: string[];
};
offers: Array<{
price: number;
url: string;
vendor: {
name: string;
logo?: string;
};
inStock?: boolean;
shipping?: string;
}>;
reviews?: Array<{
id: string;
rating: number;
comment: string;
user: string;
date: string;
}>;
relatedProducts?: string[]; // Product IDs
compatibility?: string[]; // Compatible part types
}
export const mockProducts: Product[] = [
{
id: '1',
name: 'Faxon 16" Gunner Barrel - 5.56 NATO',
description: 'Lightweight, high-performance AR-15 barrel.',
longDescription: 'The Faxon 16" Gunner Profile barrel offers the perfect balance of weight and performance. The Gunner profile reduces weight while maintaining accuracy and heat dissipation. Features a 1:8 twist rate for optimal bullet stabilization with a wide range of ammunition.',
image_url: '/window.svg',
images: [
'/window.svg',
'/window.svg',
'/window.svg'
],
brand: {
id: 'b1',
name: 'Faxon Firearms',
logo: '/window.svg'
},
category: {
id: 'c1',
name: 'Barrel'
},
specifications: {
weight: '1.5 lbs',
length: '16 inches',
material: '4150 Chrome Moly Steel',
finish: 'Nitride',
caliber: '5.56 NATO / .223 Remington',
compatibility: ['AR-15', 'M4', 'M16']
},
restrictions: {
nfa: false,
sbr: false,
suppressor: false,
stateRestrictions: []
},
offers: [
{
price: 189.99,
url: 'https://primaryarms.com/faxon-16-gunner-barrel',
vendor: {
name: 'Primary Arms',
logo: '/window.svg'
},
inStock: true,
shipping: 'Free shipping on orders over $150'
},
{
price: 199.99,
url: 'https://brownells.com/faxon-16-gunner-barrel',
vendor: {
name: 'Brownells',
logo: '/window.svg'
},
inStock: true,
shipping: '$9.99 flat rate'
}
],
reviews: [
{
id: 'r1',
rating: 5,
comment: 'Excellent barrel! Lightweight and accurate. Perfect for my lightweight build.',
user: 'AR_Builder_2023',
date: '2024-01-15'
},
{
id: 'r2',
rating: 4,
comment: 'Great quality, good accuracy. Only complaint is the finish could be more durable.',
user: 'GunGuy99',
date: '2024-01-10'
}
],
relatedProducts: ['2', '3', '4'],
compatibility: ['Upper Receiver', 'Gas Block', 'Gas Tube', 'Muzzle Device']
},
{
id: '2',
name: 'BCM M4 Upper Receiver',
description: 'Forged upper with M4 feed ramps.',
longDescription: 'The BCM M4 Upper Receiver is forged from 7075-T6 aluminum and features M4 feed ramps for reliable feeding. Includes forward assist and dust cover. Mil-spec design ensures compatibility with standard AR-15 parts.',
image_url: '/window.svg',
images: [
'/window.svg',
'/window.svg',
'/window.svg'
],
brand: {
id: 'b2',
name: 'BCM',
logo: '/window.svg'
},
category: {
id: 'c2',
name: 'Upper Receiver'
},
specifications: {
weight: '0.8 lbs',
material: '7075-T6 Aluminum',
finish: 'Type III Hardcoat Anodized',
compatibility: ['AR-15', 'M4', 'M16']
},
restrictions: {
nfa: false,
sbr: false,
suppressor: false,
stateRestrictions: []
},
offers: [
{
price: 129.99,
url: 'https://rainierarms.com/bcm-m4-upper',
vendor: {
name: 'Rainier Arms',
logo: '/window.svg'
},
inStock: true,
shipping: 'Free shipping'
}
],
reviews: [
{
id: 'r3',
rating: 5,
comment: 'BCM quality is unmatched. Perfect fit and finish.',
user: 'TacticalTom',
date: '2024-01-20'
}
],
relatedProducts: ['1', '5', '6'],
compatibility: ['Barrel', 'Handguard', 'BCG', 'Charging Handle']
},
{
id: '3',
name: 'SilencerCo Omega 300 Suppressor',
description: 'Multi-caliber rifle suppressor with excellent sound reduction.',
longDescription: 'The SilencerCo Omega 300 is a versatile, lightweight suppressor designed for multiple calibers including .308, .300 Win Mag, and .223. Features a titanium tube with stainless steel baffles for durability and performance.',
image_url: '/window.svg',
images: [
'/window.svg',
'/window.svg'
],
brand: {
id: 'b3',
name: 'SilencerCo',
logo: '/window.svg'
},
category: {
id: 'c3',
name: 'Suppressor'
},
specifications: {
weight: '14 oz',
length: '7.2 inches',
material: 'Titanium / Stainless Steel',
finish: 'Cerakote',
caliber: '.308, .300 Win Mag, .223',
compatibility: ['AR-15', 'AR-10', 'Bolt Actions']
},
restrictions: {
nfa: true,
sbr: false,
suppressor: true,
stateRestrictions: ['CA', 'NY', 'IL']
},
offers: [
{
price: 899.99,
url: 'https://silencershop.com/omega-300',
vendor: {
name: 'SilencerShop',
logo: '/window.svg'
},
inStock: true,
shipping: 'Free shipping'
}
],
reviews: [
{
id: 'r4',
rating: 5,
comment: 'Excellent sound reduction and build quality. Worth the wait for the stamp.',
user: 'SuppressorGuy',
date: '2024-01-18'
}
],
relatedProducts: ['1', '2'],
compatibility: ['Muzzle Device', 'Barrel']
},
{
id: '4',
name: 'Toolcraft BCG - Nitride',
description: 'Mil-spec bolt carrier group with nitride finish.',
longDescription: 'The Toolcraft BCG features a properly staked gas key, shot peened bolt, and nitride finish for durability. Built to mil-spec standards for reliable performance in any AR-15.',
image_url: '/window.svg',
images: [
'/window.svg',
'/window.svg'
],
brand: {
id: 'b4',
name: 'Toolcraft',
logo: '/window.svg'
},
category: {
id: 'c4',
name: 'BCG'
},
specifications: {
weight: '11.6 oz',
material: '8620 Steel',
finish: 'Nitride',
compatibility: ['AR-15', 'M4', 'M16']
},
restrictions: {
nfa: false,
sbr: false,
suppressor: false,
stateRestrictions: []
},
offers: [
{
price: 89.99,
url: 'https://primaryarms.com/toolcraft-bcg',
vendor: {
name: 'Primary Arms',
logo: '/window.svg'
},
inStock: true,
shipping: 'Free shipping on orders over $150'
}
],
reviews: [
{
id: 'r5',
rating: 5,
comment: 'Great BCG for the price. Properly staked and finished.',
user: 'AR_Enthusiast',
date: '2024-01-12'
}
],
relatedProducts: ['2', '5'],
compatibility: ['Upper Receiver', 'Charging Handle']
},
{
id: '5',
name: 'Radian Raptor Charging Handle',
description: 'Ambidextrous charging handle with enhanced ergonomics.',
longDescription: 'The Radian Raptor features oversized latches for easy manipulation and a unique design that reduces gas blowback. Made from 7075-T6 aluminum with a hardcoat anodized finish.',
image_url: '/window.svg',
images: [
'/window.svg',
'/window.svg'
],
brand: {
id: 'b5',
name: 'Radian Weapons',
logo: '/window.svg'
},
category: {
id: 'c5',
name: 'Charging Handle'
},
specifications: {
weight: '1.2 oz',
material: '7075-T6 Aluminum',
finish: 'Hardcoat Anodized',
compatibility: ['AR-15', 'M4', 'M16']
},
restrictions: {
nfa: false,
sbr: false,
suppressor: false,
stateRestrictions: []
},
offers: [
{
price: 79.99,
url: 'https://primaryarms.com/radian-raptor',
vendor: {
name: 'Primary Arms',
logo: '/window.svg'
},
inStock: true,
shipping: 'Free shipping on orders over $150'
}
],
reviews: [
{
id: 'r6',
rating: 5,
comment: 'Best charging handle I\'ve used. Smooth operation and great ergonomics.',
user: 'TacticalUser',
date: '2024-01-14'
}
],
relatedProducts: ['2', '4'],
compatibility: ['Upper Receiver', 'BCG']
},
{
id: '6',
name: 'BCM MCMR Handguard - 13"',
description: 'Free-float M-LOK handguard with excellent heat dissipation.',
longDescription: 'The BCM MCMR features a unique design that provides excellent heat dissipation while maintaining a slim profile. Includes M-LOK slots for accessory mounting and a proprietary barrel nut.',
image_url: '/window.svg',
images: [
'/window.svg',
'/window.svg'
],
brand: {
id: 'b2',
name: 'BCM',
logo: '/window.svg'
},
category: {
id: 'c6',
name: 'Handguard'
},
specifications: {
weight: '7.2 oz',
length: '13 inches',
material: '6061-T6 Aluminum',
finish: 'Type III Hardcoat Anodized',
compatibility: ['AR-15', 'M4', 'M16']
},
restrictions: {
nfa: false,
sbr: false,
suppressor: false,
stateRestrictions: []
},
offers: [
{
price: 199.99,
url: 'https://bravocompanyusa.com/mcmr-handguard',
vendor: {
name: 'BCM',
logo: '/window.svg'
},
inStock: true,
shipping: 'Free shipping'
}
],
reviews: [
{
id: 'r7',
rating: 5,
comment: 'Excellent handguard. Great heat dissipation and solid mounting.',
user: 'BCM_Fan',
date: '2024-01-16'
}
],
relatedProducts: ['1', '2'],
compatibility: ['Upper Receiver', 'Barrel', 'Gas Block']
},
{
id: '7',
name: 'Aero Precision Gas Block - Low Profile',
description: 'Low-profile adjustable gas block for free-float handguards.',
longDescription: 'Aero Precision gas blocks are machined to tight tolerances and are perfect for custom AR builds. Features an adjustment screw for fine-tuning gas flow.',
image_url: '/window.svg',
images: [
'/window.svg',
'/window.svg'
],
brand: {
id: 'b3',
name: 'Aero Precision',
logo: '/window.svg'
},
category: {
id: 'c7',
name: 'Gas Block'
},
specifications: {
weight: '1.1 oz',
material: 'Steel',
finish: 'Phosphate',
compatibility: ['AR-15', 'M4']
},
restrictions: {
nfa: false,
sbr: false,
suppressor: false,
stateRestrictions: []
},
offers: [
{
price: 49.99,
url: 'https://aeroprecisionusa.com/gas-block',
vendor: {
name: 'Aero Precision',
logo: '/window.svg'
},
inStock: true,
shipping: 'Flat rate $7'
}
],
reviews: [],
relatedProducts: ['1', '2'],
compatibility: ['Barrel', 'Handguard']
},
{
id: '8',
name: 'BCM Gas Tube - Mid Length',
description: 'Stainless steel gas tube for mid-length gas systems.',
longDescription: 'BCM gas tubes are made from high-quality stainless steel and are compatible with most AR-15 barrels. Features proper crimping and heat treatment.',
image_url: '/window.svg',
images: [
'/window.svg',
'/window.svg'
],
brand: {
id: 'b2',
name: 'BCM',
logo: '/window.svg'
},
category: {
id: 'c8',
name: 'Gas Tube'
},
specifications: {
weight: '0.7 oz',
material: 'Stainless Steel',
compatibility: ['AR-15', 'M4']
},
restrictions: {
nfa: false,
sbr: false,
suppressor: false,
stateRestrictions: []
},
offers: [
{
price: 19.99,
url: 'https://bravocompanyusa.com/gas-tube',
vendor: {
name: 'BCM',
logo: '/window.svg'
},
inStock: true,
shipping: 'Flat rate $5'
}
],
reviews: [],
relatedProducts: ['7'],
compatibility: ['Gas Block']
},
{
id: '9',
name: 'A2 Flash Hider',
description: 'Standard A2 flash hider for AR-15 rifles.',
longDescription: 'The A2 flash hider is the standard muzzle device for AR-15 rifles. Provides effective flash suppression and is compatible with most AR-15 barrels.',
image_url: '/window.svg',
images: [
'/window.svg',
'/window.svg'
],
brand: {
id: 'b6',
name: 'Mil-Spec',
logo: '/window.svg'
},
category: {
id: 'c9',
name: 'Muzzle Device'
},
specifications: {
weight: '2.1 oz',
material: 'Steel',
finish: 'Phosphate',
compatibility: ['AR-15', 'M4', 'M16']
},
restrictions: {
nfa: false,
sbr: false,
suppressor: false,
stateRestrictions: []
},
offers: [
{
price: 15.99,
url: 'https://primaryarms.com/a2-flash-hider',
vendor: {
name: 'Primary Arms',
logo: '/window.svg'
},
inStock: true,
shipping: 'Free shipping on orders over $150'
}
],
reviews: [],
relatedProducts: ['1'],
compatibility: ['Barrel']
},
{
id: '10',
name: 'Aero Precision Lower Receiver',
description: 'Forged lower receiver with enhanced features.',
longDescription: 'The Aero Precision lower receiver features enhanced trigger guard, threaded bolt catch roll pin, and tension screw. Made from 7075-T6 aluminum with Type III hardcoat anodizing.',
image_url: '/window.svg',
images: [
'/window.svg',
'/window.svg'
],
brand: {
id: 'b3',
name: 'Aero Precision',
logo: '/window.svg'
},
category: {
id: 'c10',
name: 'Lower Receiver'
},
specifications: {
weight: '0.5 lbs',
material: '7075-T6 Aluminum',
finish: 'Type III Hardcoat Anodized',
compatibility: ['AR-15', 'M4', 'M16']
},
restrictions: {
nfa: false,
sbr: false,
suppressor: false,
stateRestrictions: []
},
offers: [
{
price: 89.99,
url: 'https://aeroprecisionusa.com/lower-receiver',
vendor: {
name: 'Aero Precision',
logo: '/window.svg'
},
inStock: true,
shipping: 'Flat rate $7'
}
],
reviews: [],
relatedProducts: ['11', '12', '13'],
compatibility: ['Trigger', 'Pistol Grip', 'Stock', 'Buffer Tube']
},
{
id: '11',
name: 'LaRue MBT-2S Trigger',
description: 'Two-stage trigger with excellent break and reset.',
longDescription: 'The LaRue MBT-2S features a crisp two-stage design with a 2.5 lb second stage. Made from tool steel and includes both curved and straight shoe options.',
image_url: '/window.svg',
images: [
'/window.svg',
'/window.svg'
],
brand: {
id: 'b7',
name: 'LaRue Tactical',
logo: '/window.svg'
},
category: {
id: 'c11',
name: 'Trigger'
},
specifications: {
weight: '2.1 oz',
material: 'Tool Steel',
finish: 'Nitride',
compatibility: ['AR-15', 'M4', 'M16']
},
restrictions: {
nfa: false,
sbr: false,
suppressor: false,
stateRestrictions: []
},
offers: [
{
price: 99.99,
url: 'https://larue.com/mbt-2s-trigger',
vendor: {
name: 'LaRue Tactical',
logo: '/window.svg'
},
inStock: true,
shipping: 'Free shipping'
}
],
reviews: [],
relatedProducts: ['10'],
compatibility: ['Lower Receiver']
},
{
id: '12',
name: 'BCM Gunfighter Pistol Grip',
description: 'Ergonomic pistol grip with enhanced texture.',
longDescription: 'The BCM Gunfighter pistol grip features an ergonomic design with enhanced texture for secure grip. Includes a storage compartment and is compatible with standard AR-15 lowers.',
image_url: '/window.svg',
images: [
'/window.svg',
'/window.svg'
],
brand: {
id: 'b2',
name: 'BCM',
logo: '/window.svg'
},
category: {
id: 'c12',
name: 'Pistol Grip'
},
specifications: {
weight: '2.8 oz',
material: 'Polymer',
finish: 'Molded',
compatibility: ['AR-15', 'M4', 'M16']
},
restrictions: {
nfa: false,
sbr: false,
suppressor: false,
stateRestrictions: []
},
offers: [
{
price: 24.99,
url: 'https://bravocompanyusa.com/gunfighter-grip',
vendor: {
name: 'BCM',
logo: '/window.svg'
},
inStock: true,
shipping: 'Free shipping'
}
],
reviews: [],
relatedProducts: ['10'],
compatibility: ['Lower Receiver']
},
{
id: '13',
name: 'BCM Buffer Tube',
description: 'Mil-spec buffer tube for AR-15 rifles.',
longDescription: 'The BCM buffer tube is made to mil-spec dimensions and features proper staking for the castle nut. Compatible with all mil-spec stocks and buffer assemblies.',
image_url: '/window.svg',
images: [
'/window.svg',
'/window.svg'
],
brand: {
id: 'b2',
name: 'BCM',
logo: '/window.svg'
},
category: {
id: 'c13',
name: 'Buffer Tube'
},
specifications: {
weight: '3.2 oz',
material: '7075-T6 Aluminum',
finish: 'Type III Hardcoat Anodized',
compatibility: ['AR-15', 'M4', 'M16']
},
restrictions: {
nfa: false,
sbr: false,
suppressor: false,
stateRestrictions: []
},
offers: [
{
price: 39.99,
url: 'https://bravocompanyusa.com/buffer-tube',
vendor: {
name: 'BCM',
logo: '/window.svg'
},
inStock: true,
shipping: 'Free shipping'
}
],
reviews: [],
relatedProducts: ['14', '15'],
compatibility: ['Lower Receiver', 'Stock', 'Buffer']
},
{
id: '14',
name: 'H2 Buffer',
description: 'Heavy buffer for reduced recoil and improved cycling.',
longDescription: 'The H2 buffer provides additional weight to reduce felt recoil and improve cycling reliability. Compatible with all mil-spec buffer tubes.',
image_url: '/window.svg',
images: [
'/window.svg',
'/window.svg'
],
brand: {
id: 'b8',
name: 'Mil-Spec',
logo: '/window.svg'
},
category: {
id: 'c14',
name: 'Buffer'
},
specifications: {
weight: '4.6 oz',
material: 'Steel',
finish: 'Phosphate',
compatibility: ['AR-15', 'M4', 'M16']
},
restrictions: {
nfa: false,
sbr: false,
suppressor: false,
stateRestrictions: []
},
offers: [
{
price: 19.99,
url: 'https://primaryarms.com/h2-buffer',
vendor: {
name: 'Primary Arms',
logo: '/window.svg'
},
inStock: true,
shipping: 'Free shipping on orders over $150'
}
],
reviews: [],
relatedProducts: ['13', '15'],
compatibility: ['Buffer Tube', 'Buffer Spring']
},
{
id: '15',
name: 'Buffer Spring',
description: 'Mil-spec buffer spring for AR-15 rifles.',
longDescription: 'The mil-spec buffer spring provides reliable cycling and is compatible with all standard buffer assemblies. Made from high-quality spring steel.',
image_url: '/window.svg',
images: [
'/window.svg',
'/window.svg'
],
brand: {
id: 'b8',
name: 'Mil-Spec',
logo: '/window.svg'
},
category: {
id: 'c15',
name: 'Buffer Spring'
},
specifications: {
weight: '0.8 oz',
material: 'Spring Steel',
finish: 'Natural',
compatibility: ['AR-15', 'M4', 'M16']
},
restrictions: {
nfa: false,
sbr: false,
suppressor: false,
stateRestrictions: []
},
offers: [
{
price: 9.99,
url: 'https://primaryarms.com/buffer-spring',
vendor: {
name: 'Primary Arms',
logo: '/window.svg'
},
inStock: true,
shipping: 'Free shipping on orders over $150'
}
],
reviews: [],
relatedProducts: ['13', '14'],
compatibility: ['Buffer Tube', 'Buffer']
},
{
id: '16',
name: 'BCM Gunfighter Stock',
description: 'Lightweight collapsible stock with enhanced ergonomics.',
longDescription: 'The BCM Gunfighter stock features a lightweight design with enhanced cheek weld and secure locking mechanism. Compatible with all mil-spec buffer tubes.',
image_url: '/window.svg',
images: [
'/window.svg',
'/window.svg'
],
brand: {
id: 'b2',
name: 'BCM',
logo: '/window.svg'
},
category: {
id: 'c16',
name: 'Stock'
},
specifications: {
weight: '6.8 oz',
material: 'Polymer / Aluminum',
finish: 'Molded / Anodized',
compatibility: ['AR-15', 'M4', 'M16']
},
restrictions: {
nfa: false,
sbr: false,
suppressor: false,
stateRestrictions: []
},
offers: [
{
price: 59.99,
url: 'https://bravocompanyusa.com/gunfighter-stock',
vendor: {
name: 'BCM',
logo: '/window.svg'
},
inStock: true,
shipping: 'Free shipping'
}
],
reviews: [],
relatedProducts: ['13'],
compatibility: ['Buffer Tube']
},
{
id: '17',
name: 'Magpul PMAG 30 Gen 3',
description: '30-round polymer magazine with enhanced reliability.',
longDescription: 'The Magpul PMAG Gen 3 features enhanced feed lips, improved follower design, and over-insertion protection. Made from high-strength polymer with steel reinforcement.',
image_url: '/window.svg',
images: [
'/window.svg',
'/window.svg'
],
brand: {
id: 'b9',
name: 'Magpul',
logo: '/window.svg'
},
category: {
id: 'c17',
name: 'Magazine'
},
specifications: {
weight: '4.2 oz',
capacity: '30 rounds',
material: 'Polymer',
finish: 'Molded',
compatibility: ['AR-15', 'M4', 'M16']
},
restrictions: {
nfa: false,
sbr: false,
suppressor: false,
stateRestrictions: ['CA', 'CO', 'CT', 'HI', 'MD', 'MA', 'NJ', 'NY', 'WA']
},
offers: [
{
price: 14.99,
url: 'https://primaryarms.com/pmag-gen3',
vendor: {
name: 'Primary Arms',
logo: '/window.svg'
},
inStock: true,
shipping: 'Free shipping on orders over $150'
}
],
reviews: [],
relatedProducts: ['10'],
compatibility: ['Lower Receiver']
},
{
id: '18',
name: 'Magpul MBUS Pro Sights',
description: 'Low-profile flip-up backup sights.',
longDescription: 'The Magpul MBUS Pro sights feature a low-profile design that flips up when needed. Made from steel with a durable finish for long-term reliability.',
image_url: '/window.svg',
images: [
'/window.svg',
'/window.svg'
],
brand: {
id: 'b9',
name: 'Magpul',
logo: '/window.svg'
},
category: {
id: 'c18',
name: 'Sights'
},
specifications: {
weight: '2.1 oz (front), 2.3 oz (rear)',
material: 'Steel',
finish: 'Nitride',
compatibility: ['AR-15', 'M4', 'M16']
},
restrictions: {
nfa: false,
sbr: false,
suppressor: false,
stateRestrictions: []
},
offers: [
{
price: 149.99,
url: 'https://primaryarms.com/mbus-pro-sights',
vendor: {
name: 'Primary Arms',
logo: '/window.svg'
},
inStock: true,
shipping: 'Free shipping on orders over $150'
}
],
reviews: [],
relatedProducts: ['6'],
compatibility: ['Handguard', 'Upper Receiver']
}
];