mirror of
https://github.com/bitbaum/botsmann.git
synced 2026-12-05 23:07:36 +01:00
- Add BotSection and BotNotFoundFallback shared components - Centralize menuItems and navigation config in data/bots.ts - Add getBotBySlug and getBotTryLink helper functions - Add BotMenuItem, BotAccentColor, and BotNavConfig types - Refactor all 6 bot pages to use centralized configuration - Remove ~180 lines of duplicated code across bot pages - Improve consistency in error handling and section spacing Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
214 lines
10 KiB
TypeScript
214 lines
10 KiB
TypeScript
import type { BotMenuItem, BotAccentColor } from '../types/bot';
|
||
|
||
export interface Bot {
|
||
slug: string;
|
||
title: string;
|
||
description: string;
|
||
overview: string;
|
||
features: string[];
|
||
details: string;
|
||
tryLink?: string;
|
||
// Navigation configuration (optional for backwards compatibility)
|
||
nav?: {
|
||
navTitle: string;
|
||
emoji: string;
|
||
navDescription?: string;
|
||
accentColor: BotAccentColor;
|
||
menuItems: BotMenuItem[];
|
||
};
|
||
}
|
||
|
||
const bots: Bot[] = [
|
||
{
|
||
slug: 'swiss-german-teacher',
|
||
title: 'Heidi – Your Swiss German Companion',
|
||
description: 'Your AI companion for High German and Züridütsch—learn the language and discover tonight\'s events in Zurich.',
|
||
overview: 'Smart, simple tools to speak, learn, and live like a local in Zurich.',
|
||
features: [
|
||
'Adapts to You: Learns your tastes and tests your progress in a smart way.',
|
||
'Events in Zurich: Discover tonight\'s events and activities for this week.',
|
||
'Dual-Language Power: High German and Züridütsch, side by side.',
|
||
'Real Context: Words and phrases come alive with examples.',
|
||
'Instant Writing: Emails and texts crafted in both languages.',
|
||
'Swiss Culture: Insider tips on history and social life.'
|
||
],
|
||
details: "Type a word, and Heidi delivers a table comparing High German and Züridütsch with real-life examples. Send a sentence or email, and get a tailored response to communicate effortlessly. Discover tonight's events in Zurich with the 'Browse Events' feature. Heidi follows your learning progress, tests you in a smart way, and helps you remember more while introducing you to local activities. With cultural tips and local know-how, she's your shortcut to thriving in Switzerland.",
|
||
tryLink: 'https://chatgpt.com/g/g-rni41WTSh-heidi-tell',
|
||
nav: {
|
||
navTitle: 'Heidi',
|
||
emoji: '🇨🇭',
|
||
navDescription: 'Swiss German Teacher',
|
||
accentColor: 'red',
|
||
menuItems: [
|
||
{ id: 'demo', label: 'Demo', icon: '💬', section: 'demo' },
|
||
{ id: 'features', label: 'Features', icon: '✨', section: 'features' },
|
||
{ id: 'communication', label: 'Communication', icon: '✉️', section: 'communication' },
|
||
{ id: 'culture', label: 'Culture', icon: '🏔️', section: 'culture' },
|
||
{ id: 'waitlist', label: 'Join Waitlist', icon: '📝', section: 'waitlist' }
|
||
]
|
||
}
|
||
},
|
||
{
|
||
slug: 'research-assistant',
|
||
title: 'Research Assistant',
|
||
description: 'AI-powered research companion for organizing data, generating insights, and discovering connections.',
|
||
overview: 'Elevate your research workflow with AI automation that organizes materials, provides real-time updates, and sparks innovation.',
|
||
features: [
|
||
'Automated Research Systematization',
|
||
'Web Scraping for Updates',
|
||
'AI-Generated Research Drafts',
|
||
'Daily Thought-Provoking Questions',
|
||
'Big Discovery Mode',
|
||
'Integration & Collaboration'
|
||
],
|
||
details: 'The Research Assistant Bot transforms how academics, scientists, journalists, and industry professionals conduct research. It automatically organizes uploaded materials, keeps you updated with the latest developments in your field, generates structured content with proper citations, and challenges your thinking with insightful questions. The unique Big Discovery Mode helps identify research gaps and novel connections between concepts, potentially leading to breakthrough insights.',
|
||
tryLink: 'https://chatgpt.com/g/research-assistant',
|
||
nav: {
|
||
navTitle: 'Nerd',
|
||
emoji: '🔬',
|
||
navDescription: 'AI Research Assistant',
|
||
accentColor: 'indigo',
|
||
menuItems: [
|
||
{ id: 'demo', label: 'Demo', icon: '💻', section: 'demo' },
|
||
{ id: 'features', label: 'Features', icon: '✨', section: 'features' },
|
||
{ id: 'scraping', label: 'Web Scraping', icon: '🌐', section: 'scraping' },
|
||
{ id: 'drafts', label: 'Drafts', icon: '📝', section: 'drafts' },
|
||
{ id: 'questions', label: 'Daily Questions', icon: '❓', section: 'questions' },
|
||
{ id: 'discovery', label: 'Discovery', icon: '💡', section: 'discovery' },
|
||
{ id: 'integration', label: 'Integration', icon: '🔗', section: 'integration' },
|
||
{ id: 'roadmap', label: 'Roadmap', icon: '🗺️', section: 'roadmap' }
|
||
]
|
||
}
|
||
},
|
||
{
|
||
slug: 'medical-expert',
|
||
title: 'Medical Expert Assistant',
|
||
description: 'AI-powered medical knowledge and consultation support',
|
||
overview: 'Supporting healthcare professionals with evidence-based insights and comprehensive research analysis.',
|
||
features: [
|
||
'Evidence-based insights',
|
||
'Research assistance',
|
||
'Case analysis',
|
||
'Medical literature review',
|
||
'Clinical guidelines integration'
|
||
],
|
||
details: 'Designed to assist medical professionals in staying current with research, analyzing cases, and making informed decisions based on the latest medical evidence.',
|
||
nav: {
|
||
navTitle: 'Imhotep',
|
||
emoji: '⚕️',
|
||
navDescription: 'AI Health Assistant',
|
||
accentColor: 'green',
|
||
menuItems: [
|
||
{ id: 'demo', label: 'Demo', icon: '💻', section: 'demo' },
|
||
{ id: 'features', label: 'Features', icon: '✨', section: 'features' },
|
||
{ id: 'professionals', label: 'For Professionals', icon: '👨⚕️', section: 'professionals' },
|
||
{ id: 'harm-reduction', label: 'Harm Reduction', icon: '🛡️', section: 'harm-reduction' },
|
||
{ id: 'vision', label: 'Vision', icon: '🚀', section: 'vision' }
|
||
]
|
||
}
|
||
},
|
||
{
|
||
slug: 'legal-expert',
|
||
title: 'Legal Expert Assistant',
|
||
description: 'Navigate legal complexities with AI guidance',
|
||
overview: 'Comprehensive legal research and analysis support for legal professionals.',
|
||
features: [
|
||
'Legal research',
|
||
'Document analysis',
|
||
'Case law insights',
|
||
'Regulatory compliance',
|
||
'Contract review assistance'
|
||
],
|
||
details: 'Our Legal Expert Assistant combines advanced legal knowledge with AI capabilities to provide comprehensive support for legal research and analysis.',
|
||
nav: {
|
||
navTitle: 'Lex',
|
||
emoji: '⚖️',
|
||
navDescription: 'AI Legal Assistant',
|
||
accentColor: 'blue',
|
||
menuItems: [
|
||
{ id: 'demo', label: 'Demo', icon: '💻', section: 'demo' },
|
||
{ id: 'features', label: 'Features', icon: '⚖️', section: 'features' },
|
||
{ id: 'testimonials', label: 'Testimonials', icon: '💬', section: 'testimonials' },
|
||
{ id: 'vision', label: 'Vision', icon: '🚀', section: 'vision' },
|
||
{ id: 'technology', label: 'Technology', icon: '⚙️', section: 'technology' },
|
||
{ id: 'get-started', label: 'Join Waitlist', icon: '✨', section: 'get-started' }
|
||
]
|
||
}
|
||
},
|
||
{
|
||
slug: 'artistic-advisor',
|
||
title: 'Artistic Advisor',
|
||
description: 'Enhance your creative process with AI insights',
|
||
overview: 'Get expert guidance on composition, style analysis, and technique refinement for your artistic projects.',
|
||
features: [
|
||
'Style analysis',
|
||
'Composition guidance',
|
||
'Technique suggestions',
|
||
'Color theory assistance',
|
||
'Art history insights'
|
||
],
|
||
details: 'The Artistic Advisor AI helps artists explore new techniques, refine their style, and gain insights from art history while maintaining their unique creative vision.',
|
||
nav: {
|
||
navTitle: 'Muse',
|
||
emoji: '🎨',
|
||
navDescription: 'AI Artistic Advisor',
|
||
accentColor: 'amber',
|
||
menuItems: [
|
||
{ id: 'demo', label: 'Demo', icon: '🖼️', section: 'demo' },
|
||
{ id: 'features', label: 'Features', icon: '✨', section: 'features' },
|
||
{ id: 'styles', label: 'Styles', icon: '🎭', section: 'styles' },
|
||
{ id: 'techniques', label: 'Techniques', icon: '🖌️', section: 'techniques' },
|
||
{ id: 'get-started', label: 'Get Started', icon: '🚀', section: 'get-started' }
|
||
]
|
||
}
|
||
},
|
||
{
|
||
slug: 'product-manager',
|
||
title: 'Trident - AI Product Manager',
|
||
description: 'AI-powered product manager for Cursor development and project management',
|
||
overview: 'A specialized tool that combines project management capabilities with technical guidance to streamline development workflow in Cursor.',
|
||
features: [
|
||
'Project Management: Organize tasks and deliverables for efficient development',
|
||
'Technical Direction: Implementation-ready specifications for developers',
|
||
'Workflow Optimization: Streamline development processes and eliminate roadblocks',
|
||
'Implementation Planning: Detailed roadmaps for feature development',
|
||
'Quality Assurance: Comprehensive testing and validation strategies',
|
||
'Cursor-Optimized: Specifically designed for Cursor development workflow'
|
||
],
|
||
details: 'Trident transforms the development process by providing comprehensive project management and technical guidance. It helps organize tasks, create detailed implementation plans, and optimize workflows specifically for Cursor development. By leveraging AI capabilities, it produces clear specifications, architecture diagrams, and risk assessments that developers can immediately use for implementation.',
|
||
nav: {
|
||
navTitle: 'Trident',
|
||
emoji: '🔱',
|
||
navDescription: 'AI Product Manager',
|
||
accentColor: 'indigo',
|
||
menuItems: [
|
||
{ id: 'demo', label: 'Demo', icon: '💻', section: 'demo' },
|
||
{ id: 'features', label: 'Features', icon: '✨', section: 'features' },
|
||
{ id: 'workflow', label: 'Workflow', icon: '🔄', section: 'workflow' },
|
||
{ id: 'showcase', label: 'Showcase', icon: '🎯', section: 'showcase' },
|
||
{ id: 'examples', label: 'Examples', icon: '📋', section: 'examples' },
|
||
{ id: 'integration', label: 'Integration', icon: '🔗', section: 'integration' },
|
||
{ id: 'testimonials', label: 'Testimonials', icon: '💬', section: 'testimonials' },
|
||
{ id: 'pricing', label: 'Pricing', icon: '💰', section: 'pricing' },
|
||
{ id: 'get-started', label: 'Get Started', icon: '🚀', section: 'get-started' }
|
||
]
|
||
}
|
||
}
|
||
];
|
||
|
||
export default bots;
|
||
|
||
/**
|
||
* Helper to get a bot by slug
|
||
*/
|
||
export const getBotBySlug = (slug: string): Bot | undefined => {
|
||
return bots.find(b => b.slug === slug);
|
||
};
|
||
|
||
/**
|
||
* Helper to get bot's try link with fallback
|
||
*/
|
||
export const getBotTryLink = (bot: Bot | undefined): string => {
|
||
return bot?.tryLink || 'https://chat.openai.com/';
|
||
};
|