34 lines
1.3 KiB
JavaScript
34 lines
1.3 KiB
JavaScript
import Kalkulator3D, { SavedList } from './tools/kalkulator3d.jsx';
|
||
|
||
// ══════════════════════════════════════════════════════════════════════════════
|
||
// Tool-Registry – hier neue Tools eintragen
|
||
//
|
||
// Felder:
|
||
// id – eindeutige ID (muss mit backend/src/tools/<id>/ übereinstimmen)
|
||
// icon – Emoji
|
||
// label – voller Name (Sidebar)
|
||
// navLabel – kurzes Label für Mobile-Nav
|
||
// component – React-Komponente
|
||
//
|
||
// Neues Tool hinzufügen:
|
||
// 1. backend/src/tools/<id>/routes.js → wird automatisch geladen
|
||
// 2. frontend/src/tools/<id>.jsx → Komponente
|
||
// 3. Hier eintragen
|
||
// ══════════════════════════════════════════════════════════════════════════════
|
||
export const TOOLS = [
|
||
{
|
||
id: 'kalkulator3d',
|
||
icon: '◈',
|
||
label: '3D-Kalkulator',
|
||
navLabel: '3D-Calc',
|
||
component: Kalkulator3D,
|
||
},
|
||
{
|
||
id: 'kalkulator3d-saved',
|
||
icon: '◉',
|
||
label: 'Gespeichert',
|
||
navLabel: 'Saves',
|
||
component: SavedList,
|
||
},
|
||
];
|