Files
Brancheneinstufung2/dashboard/index.html
Floke 95634d7bb6 feat(company-explorer): Initial Web UI & Backend with Enrichment Flow
This commit introduces the foundational elements for the new "Company Explorer" web application, marking a significant step away from the legacy Google Sheets / CLI system.

Key changes include:
- Project Structure: A new  directory with separate  (FastAPI) and  (React/Vite) components.
- Data Persistence: Migration from Google Sheets to a local SQLite database () using SQLAlchemy.
- Core Utilities: Extraction and cleanup of essential helper functions (LLM wrappers, text utilities) into .
- Backend Services: , ,  for AI-powered analysis, and  logic.
- Frontend UI: Basic React application with company table, import wizard, and dynamic inspector sidebar.
- Docker Integration: Updated  and  for multi-stage builds and sideloading.
- Deployment & Access: Integrated into central Nginx proxy and dashboard, accessible via .

Lessons Learned & Fixed during development:
- Frontend Asset Loading: Addressed issues with Vite's  path and FastAPI's .
- TypeScript Configuration: Added  and .
- Database Schema Evolution: Solved  errors by forcing a new database file and correcting  override.
- Logging: Implemented robust file-based logging ().

This new foundation provides a powerful and maintainable platform for future B2B robotics lead generation.
2026-01-07 17:55:08 +00:00

174 lines
5.0 KiB
HTML

<!DOCTYPE html>
<html lang="de">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Marketing & Intelligence Dashboard</title>
<style>
:root {
--bg-color: #0f172a;
--card-bg: #1e293b;
--text-primary: #f1f5f9;
--text-secondary: #94a3b8;
--accent: #3b82f6;
--accent-hover: #2563eb;
}
body {
font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
background-color: var(--bg-color);
color: var(--text-primary);
margin: 0;
padding: 0;
display: flex;
flex-direction: column;
align-items: center;
min-height: 100vh;
}
header {
width: 100%;
background-color: #020617;
padding: 2rem 0;
text-align: center;
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}
h1 {
margin: 0;
font-size: 2.5rem;
font-weight: 700;
background: linear-gradient(to right, #60a5fa, #a78bfa);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
.container {
max-width: 1200px;
margin: 3rem auto;
padding: 0 20px;
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 2rem;
width: 100%;
box-sizing: border-box;
}
.card {
background-color: var(--card-bg);
border-radius: 1rem;
padding: 2rem;
text-align: center;
transition: transform 0.2s, box-shadow 0.2s;
border: 1px solid #334155;
display: flex;
flex-direction: column;
justify-content: space-between;
}
.card:hover {
transform: translateY(-5px);
box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
border-color: var(--accent);
}
.card-icon {
font-size: 3rem;
margin-bottom: 1rem;
display: block;
}
.card h2 {
margin: 0 0 1rem 0;
font-size: 1.5rem;
}
.card p {
color: var(--text-secondary);
margin-bottom: 2rem;
line-height: 1.6;
}
.btn {
display: inline-block;
background-color: var(--accent);
color: white;
padding: 0.75rem 1.5rem;
border-radius: 0.5rem;
text-decoration: none;
font-weight: 600;
transition: background-color 0.2s;
}
.btn:hover {
background-color: var(--accent-hover);
}
footer {
margin-top: auto;
padding: 2rem;
color: var(--text-secondary);
font-size: 0.9rem;
}
</style>
</head>
<body>
<header>
<h1>Marketing & Intelligence Hub</h1>
</header>
<div class="container">
<!-- B2B Marketing Assistant -->
<div class="card">
<span class="card-icon">🚀</span>
<h2>B2B Marketing Assistant</h2>
<p>
KI-gestützte Analyse von Unternehmens-Websites zur Erstellung von Personas, Pain-Points und Marketing-Botschaften.
</p>
<!-- WICHTIG: Relativer Link für Reverse Proxy -->
<a href="/b2b/" class="btn">Starten &rarr;</a>
</div>
<!-- General Market Intelligence -->
<div class="card">
<span class="card-icon">📊</span>
<h2>Market Intelligence</h2>
<p>
Allgemeine Marktanalyse und Recherche-Tool.
Nutzt Web-Scraping und KI für tiefe Einblicke.
</p>
<!-- WICHTIG: Relativer Link für Reverse Proxy -->
<a href="/market/" class="btn">Starten &rarr;</a>
</div>
<!-- GTM Architect -->
<div class="card">
<span class="card-icon">🏛️</span>
<h2>GTM Architect</h2>
<p>
Entwickelt eine komplette Go-to-Market-Strategie für neue technische Produkte, von der Analyse bis zum Sales-Kit.
</p>
<!-- WICHTIG: Relativer Link für Reverse Proxy -->
<a href="/gtm/" class="btn">Starten &rarr;</a>
</div>
<!-- Company Explorer (Robotics) -->
<div class="card">
<span class="card-icon">🤖</span>
<h2>Company Explorer</h2>
<p>
Das zentrale CRM-Data-Mining Tool. Importieren, Deduplizieren und Anreichern von Firmenlisten mit Fokus auf Robotik-Potential.
</p>
<!-- Jetzt direkt zum Frontend -->
<a href="/ce/" class="btn">Starten &rarr;</a>
</div>
</div>
<footer>
&copy; 2025 Local AI Suite | Secured Access
</footer>
</body>
</html>