mirror of
https://github.com/SamyRai/turash.git
synced 2025-12-26 23:01:33 +00:00
- Remove nested git repository from bugulma/frontend/.git - Add all frontend files to main repository tracking - Convert from separate frontend/backend repos to unified monorepo - Preserve all frontend code and development history as tracked files - Eliminate nested repository complexity for simpler development workflow This creates a proper monorepo structure with frontend and backend coexisting in the same repository for easier development and deployment.
92 lines
2.6 KiB
TypeScript
92 lines
2.6 KiB
TypeScript
import React from 'react';
|
|
import { z } from 'zod';
|
|
import { Building2, Factory, Warehouse, Waves } from 'lucide-react';
|
|
import { symbiosisExampleSchema } from '@/schemas/symbiosisExample';
|
|
|
|
const symbiosisExamplesData = [
|
|
{
|
|
offer: {
|
|
key: 'woodShavings',
|
|
nameKey: 'symbiosisExamples.offer.woodShavings',
|
|
sector: 'production',
|
|
icon: React.createElement(Factory),
|
|
},
|
|
needs: [
|
|
{
|
|
key: 'boilerFuel',
|
|
nameKey: 'symbiosisExamples.need.boilerFuel',
|
|
sector: 'construction',
|
|
icon: React.createElement(Building2),
|
|
descriptionKey: 'symbiosisExamples.desc.boilerFuel',
|
|
},
|
|
{
|
|
key: 'animalBedding',
|
|
nameKey: 'symbiosisExamples.need.animalBedding',
|
|
sector: 'recreation',
|
|
icon: React.createElement(Waves),
|
|
descriptionKey: 'symbiosisExamples.desc.animalBedding',
|
|
},
|
|
],
|
|
},
|
|
{
|
|
offer: {
|
|
key: 'excessHeat',
|
|
nameKey: 'symbiosisExamples.offer.excessHeat',
|
|
sector: 'production',
|
|
icon: React.createElement(Factory),
|
|
},
|
|
needs: [
|
|
{
|
|
key: 'greenhouseHeating',
|
|
nameKey: 'symbiosisExamples.need.greenhouseHeating',
|
|
sector: 'recreation',
|
|
icon: React.createElement(Waves),
|
|
descriptionKey: 'symbiosisExamples.desc.greenhouseHeating',
|
|
},
|
|
{
|
|
key: 'warehouseHeating',
|
|
nameKey: 'symbiosisExamples.need.warehouseHeating',
|
|
sector: 'logistics',
|
|
icon: React.createElement(Warehouse),
|
|
descriptionKey: 'symbiosisExamples.desc.warehouseHeating',
|
|
},
|
|
],
|
|
},
|
|
{
|
|
offer: {
|
|
key: 'usedTires',
|
|
nameKey: 'symbiosisExamples.offer.usedTires',
|
|
sector: 'logistics',
|
|
icon: React.createElement(Warehouse),
|
|
},
|
|
needs: [
|
|
{
|
|
key: 'playgroundFlooring',
|
|
nameKey: 'symbiosisExamples.need.playgroundFlooring',
|
|
sector: 'recreation',
|
|
icon: React.createElement(Waves),
|
|
descriptionKey: 'symbiosisExamples.desc.playgroundFlooring',
|
|
},
|
|
],
|
|
},
|
|
{
|
|
offer: {
|
|
key: 'constructionDebris',
|
|
nameKey: 'symbiosisExamples.offer.constructionDebris',
|
|
sector: 'construction',
|
|
icon: React.createElement(Building2),
|
|
},
|
|
needs: [
|
|
{
|
|
key: 'roadBaseMaterial',
|
|
nameKey: 'symbiosisExamples.need.roadBaseMaterial',
|
|
sector: 'construction',
|
|
icon: React.createElement(Building2),
|
|
descriptionKey: 'symbiosisExamples.desc.roadBaseMaterial',
|
|
},
|
|
],
|
|
},
|
|
];
|
|
|
|
export const symbiosisExamples = z.array(symbiosisExampleSchema).parse(symbiosisExamplesData);
|