first commit

This commit is contained in:
2025-06-29 07:12:20 -04:00
parent 6612f40d9b
commit cfcc4c480e
16 changed files with 3156 additions and 767 deletions

48
src/mock/product.ts Normal file
View File

@@ -0,0 +1,48 @@
export const mockProducts = [
{
id: '1',
name: 'Faxon 16" Gunner Barrel - 5.56 NATO',
description: 'Lightweight, high-performance AR-15 barrel.',
image_url: 'https://via.placeholder.com/300x200?text=Barrel',
brand: {
id: 'b1',
name: 'Faxon Firearms',
},
category: {
id: 'c1',
name: 'Barrel',
},
offers: [
{
price: 189.99,
url: 'https://primaryarms.com/faxon-16-gunner-barrel',
vendor: {
name: 'Primary Arms',
},
},
],
},
{
id: '2',
name: 'BCM M4 Upper Receiver',
description: 'Forged upper with M4 feed ramps.',
image_url: 'https://via.placeholder.com/300x200?text=Upper',
brand: {
id: 'b2',
name: 'BCM',
},
category: {
id: 'c2',
name: 'Upper Receiver',
},
offers: [
{
price: 129.99,
url: 'https://rainierarms.com/bcm-m4-upper',
vendor: {
name: 'Rainier Arms',
},
},
],
},
];

48
src/mock/products.ts Normal file
View File

@@ -0,0 +1,48 @@
export const mockProducts = [
{
id: '1',
name: 'Faxon 16" Gunner Barrel - 5.56 NATO',
description: 'Lightweight, high-performance AR-15 barrel.',
image_url: 'https://via.placeholder.com/300x200?text=Barrel',
brand: {
id: 'b1',
name: 'Faxon Firearms',
},
category: {
id: 'c1',
name: 'Barrel',
},
offers: [
{
price: 189.99,
url: 'https://primaryarms.com/faxon-16-gunner-barrel',
vendor: {
name: 'Primary Arms',
},
},
],
},
{
id: '2',
name: 'BCM M4 Upper Receiver',
description: 'Forged upper with M4 feed ramps.',
image_url: 'https://via.placeholder.com/300x200?text=Upper',
brand: {
id: 'b2',
name: 'BCM',
},
category: {
id: 'c2',
name: 'Upper Receiver',
},
offers: [
{
price: 129.99,
url: 'https://rainierarms.com/bcm-m4-upper',
vendor: {
name: 'Rainier Arms',
},
},
],
},
];