auraforge-ai / dashboard.html
Rouwin's picture
Interviews types should be sub pages of Interviews. The interview page should be a Dashboard of the interviews.
a719553 verified
Raw History Blame Contribute Delete
8.88 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Dashboard - AuraForge AI</title>
<link rel="icon" type="image/x-icon" href="/static/favicon.ico">
<link rel="stylesheet" href="style.css">
<script src="https://cdn.tailwindcss.com"></script>
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
<script src="https://unpkg.com/feather-icons"></script>
</head>
<body class="min-h-screen bg-gray-50 dark:bg-gray-900">
<custom-navbar></custom-navbar>
<main class="max-w-7xl mx-auto px-4 py-8">
<!-- Top Section -->
<div class="mb-8">
<div class="flex items-center gap-4 mb-4">
<div class="w-12 h-12 bg-gradient-to-r from-blue-500 to-purple-600 rounded-full flex items-center justify-center">
<i data-feather="user" class="text-white"></i>
</div>
<div>
<h1 class="text-2xl font-semibold text-gray-900 dark:text-white">
Welcome back, Alex
</h1>
<p class="text-gray-600 dark:text-gray-400">
Last session: 2 hours ago
</p>
</div>
</div>
<!-- Quick Actions -->
<div class="grid md:grid-cols-2 lg:grid-cols-4 gap-6 mb-8">
<div class="bg-white dark:bg-gray-800 rounded-xl p-6 shadow-sm hover:shadow-md transition-all duration-300">
<div class="w-10 h-10 bg-blue-100 dark:bg-blue-900 rounded-lg flex items-center justify-center mb-4">
<i data-feather="clipboard" class="text-blue-600 dark:text-blue-400"></i>
</div>
<h3 class="font-semibold text-gray-900 dark:text-white mb-2">
Start Biographical
</h3>
<p class="text-sm text-gray-600 dark:text-gray-400 mb-4">
Capture your life story and experiences
</p>
<a href="interviews.html" class="text-blue-600 dark:text-blue-400 font-medium text-sm">
Begin interview
</a>
</div>
<div class="bg-white dark:bg-gray-800 rounded-xl p-6 shadow-sm hover:shadow-md transition-all duration-300">
<div class="w-10 h-10 bg-purple-100 dark:bg-purple-900 rounded-lg flex items-center justify-center mb-4">
<i data-feather="camera" class="text-purple-600 dark:text-purple-400"></i>
</div>
<h3 class="font-semibold text-gray-900 dark:text-white mb-2">
Start Photo
</h3>
<p class="text-sm text-gray-600 dark:text-gray-400 mb-4">
Discuss photos and visual memories
</p>
<a href="interview-photo.html" class="text-purple-600 dark:text-purple-400 font-medium text-sm">
Upload photos
</a>
</div>
<div class="bg-white dark:bg-gray-800 rounded-xl p-6 shadow-sm hover:shadow-md transition-all duration-300">
<div class="w-10 h-10 bg-green-100 dark:bg-green-900 rounded-lg flex items-center justify-center mb-4">
<i data-feather="mic" class="text-green-600 dark:text-green-400"></i>
</div>
<h3 class="font-semibold text-gray-900 dark:text-white mb-2">
Clone Voice
</h3>
<p class="text-sm text-gray-600 dark:text-gray-400 mb-4">
Record and replicate your voice
</p>
<a href="voice-studio.html" class="text-green-600 dark:text-green-400 font-medium text-sm">
Voice studio
</a>
</div>
<div class="bg-white dark:bg-gray-800 rounded-xl p-6 shadow-sm hover:shadow-md transition-all duration-300">
<div class="w-10 h-10 bg-orange-100 dark:bg-orange-900 rounded-lg flex items-center justify-center mb-4">
<i data-feather="user" class="text-orange-600 dark:text-orange-400"></i>
</div>
<h3 class="font-semibold text-gray-900 dark:text-white mb-2">
Persona Builder
</h3>
<p class="text-sm text-gray-600 dark:text-gray-400 mb-4">
Assemble your AI personality
</p>
<a href="persona-builder.html" class="text-orange-600 dark:text-orange-400 font-medium text-sm">
Build now
</a>
</div>
</div>
<div class="grid lg:grid-cols-3 gap-8">
<!-- Recent Sessions -->
<div class="lg:col-span-2">
<div class="bg-white dark:bg-gray-800 rounded-xl p-6 shadow-sm">
<div class="flex items-center justify-between mb-6">
<h2 class="text-xl font-semibold text-gray-900 dark:text-white">
Recent Sessions
</h2>
<a href="sessions.html" class="text-blue-600 dark:text-blue-400 text-sm font-medium">
View all
</a>
</div>
<div class="space-y-4">
<div class="flex items-center justify-between p-4 border border-gray-200 dark:border-gray-700 rounded-lg">
<div>
<h3 class="font-medium text-gray-900 dark:text-white">
Biographical Interview
</h3>
<p class="text-sm text-gray-600 dark:text-gray-400">
45% complete
</p>
</div>
<a href="interview-biographical.html" class="text-blue-600 dark:text-blue-400 text-sm">
Resume
</a>
</div>
</div>
</div>
<!-- Right Rail -->
<div class="space-y-6">
<!-- Tips & Templates -->
<div class="bg-white dark:bg-gray-800 rounded-xl p-6 shadow-sm">
<h3 class="font-semibold text-gray-900 dark:text-white mb-4">
Tips & Templates
</h3>
<div class="space-y-3">
<div class="text-sm text-gray-600 dark:text-gray-400 p-3 bg-gray-50 dark:bg-gray-700 rounded-lg">
"Tell me about a childhood memory that shaped who you are today."
</div>
<div class="text-sm text-gray-600 dark:text-gray-400 p-3 bg-gray-50 dark:bg-gray-700 rounded-lg">
"What values are most important to you in your relationships?"
</div>
</div>
</div>
<!-- Theme Switcher -->
<div class="bg-white dark:bg-gray-800 rounded-xl p-6 shadow-sm">
<h3 class="font-semibold text-gray-900 dark:text-white mb-4">
Theme
</h3>
<div class="flex flex-wrap gap-2">
<button class="theme-chip ${this.getCurrentPalette() === 'her' ? 'active' : ''}" data-palette="her">
Her
</button>
<button class="theme-chip ${this.getCurrentPalette() === 'lost' ? 'active' : ''}" data-palette="lost">
Lost
</button>
<button class="theme-chip ${this.getCurrentPalette() === 'blade' ? 'active' : ''}" data-palette="blade">
Blade
</button>
</div>
</div>
</div>
</main>
<custom-footer></custom-footer>
<script src="components/navbar.js"></script>
<script src="components/footer.js"></script>
<script src="script.js"></script>
<script>
feather.replace();
// Initialize theme chips
document.addEventListener('DOMContentLoaded', () => {
const themeChips = document.querySelectorAll('.theme-chip');
themeChips.forEach(chip => {
chip.addEventListener('click', () => {
const palette = chip.getAttribute('data-palette');
if (window.ThemeManager) {
window.ThemeManager.setPalette(palette);
// Update active states
themeChips.forEach(c => c.classList.remove('active'));
chip.classList.add('active');
}
});
});
});
</script>
</body>
</html>