Spaces:
Running
Running
The Interview-biographical looks like a mess. everything is jumbled and no go vision It needs to be reworked elegant clean and ease of use. think design as if Lo-Fi music was a website
Browse files- interview-biographical.html +72 -136
- style.css +54 -4
interview-biographical.html
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
|
|
| 1 |
<!DOCTYPE html>
|
| 2 |
<html lang="en">
|
| 3 |
<head>
|
|
@@ -8,158 +9,93 @@
|
|
| 8 |
<link rel="stylesheet" href="style.css">
|
| 9 |
<script src="https://cdn.tailwindcss.com"></script>
|
| 10 |
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
|
| 11 |
-
<script src="https://unpkg.com/feather-icons"></script>
|
| 12 |
</head>
|
| 13 |
-
<body class="min-h-screen bg-gray-
|
| 14 |
<custom-navbar></custom-navbar>
|
| 15 |
|
| 16 |
-
<
|
| 17 |
<!-- Header -->
|
| 18 |
-
<div class="flex items-center justify-between
|
|
|
|
|
|
|
|
|
|
|
|
|
| 19 |
<div class="flex items-center gap-4">
|
| 20 |
-
<
|
| 21 |
-
|
| 22 |
-
<span>Back to Interviews</span>
|
| 23 |
-
</a>
|
| 24 |
-
<div>
|
| 25 |
-
<h1 class="text-2xl font-semibold text-gray-900 dark:text-white">
|
| 26 |
-
Biographical Interview
|
| 27 |
-
</h1>
|
| 28 |
-
</div>
|
| 29 |
-
<div class="flex items-center gap-4">
|
| 30 |
-
<span class="text-sm text-gray-600 dark:text-gray-400">
|
| 31 |
-
Elapsed: 12:34
|
| 32 |
-
</span>
|
| 33 |
-
<span class="text-sm text-green-600">
|
| 34 |
-
● Autosaved
|
| 35 |
-
</span>
|
| 36 |
-
</div>
|
| 37 |
</div>
|
| 38 |
-
<div
|
| 39 |
-
|
| 40 |
-
|
| 41 |
-
|
| 42 |
-
|
| 43 |
-
|
| 44 |
-
|
| 45 |
-
|
| 46 |
-
|
| 47 |
-
|
| 48 |
-
|
| 49 |
-
|
| 50 |
-
|
| 51 |
-
|
| 52 |
-
|
| 53 |
-
|
| 54 |
-
|
| 55 |
-
</
|
| 56 |
-
<span class="text-sm text-blue-600 dark:text-blue-400 font-medium">
|
| 57 |
-
Early Life
|
| 58 |
-
</span>
|
| 59 |
-
</div>
|
| 60 |
-
<div class="flex flex-col items-center gap-2">
|
| 61 |
-
<div class="w-10 h-10 border-2 border-gray-300 dark:border-gray-600 rounded-full flex items-center justify-center">
|
| 62 |
-
<span class="text-sm text-gray-600 dark:text-gray-400">2</span>
|
| 63 |
-
</div>
|
| 64 |
-
<div class="flex flex-col items-center gap-2">
|
| 65 |
-
<div class="w-10 h-10 border-2 border-gray-300 dark:border-gray-600 text-gray-600 dark:text-gray-400"></div>
|
| 66 |
-
<span class="text-sm text-gray-600 dark:text-gray-400">
|
| 67 |
-
Career
|
| 68 |
-
</span>
|
| 69 |
</div>
|
| 70 |
-
<div class="
|
| 71 |
-
<
|
| 72 |
-
<span class="text-sm text-gray-600 dark:text-gray-400">4</span>
|
| 73 |
-
</div>
|
| 74 |
</div>
|
| 75 |
-
<
|
| 76 |
-
|
| 77 |
-
|
| 78 |
-
|
| 79 |
-
|
| 80 |
-
|
| 81 |
-
</div>
|
| 82 |
-
</div>
|
| 83 |
-
<div class="flex justify-start">
|
| 84 |
-
<div class="bg-white dark:bg-gray-600 text-gray-900 dark:text-white rounded-2xl rounded-bl-none px-4 py-3 max-w-md">
|
| 85 |
-
"That sounds like an interesting childhood. Tell me more about your family..."
|
| 86 |
-
</div>
|
| 87 |
-
</div>
|
| 88 |
</div>
|
| 89 |
</div>
|
| 90 |
-
|
| 91 |
-
|
| 92 |
-
|
| 93 |
-
|
| 94 |
-
|
|
|
|
|
|
|
| 95 |
Early memories
|
| 96 |
</button>
|
| 97 |
-
|
| 98 |
-
Family
|
| 99 |
</button>
|
| 100 |
-
|
| 101 |
-
|
| 102 |
</button>
|
| 103 |
-
</div>
|
| 104 |
-
|
| 105 |
-
<!-- Input Area -->
|
| 106 |
-
<div class="flex gap-2">
|
| 107 |
-
<div class="flex-1">
|
| 108 |
-
<textarea
|
| 109 |
-
placeholder="Type your message... (Shift+Enter for new line)"
|
| 110 |
-
class="w-full px-4 py-3 border border-gray-300 dark:border-gray-600 rounded-xl focus:ring-2 focus:ring-blue-500 focus:border-transparent dark:bg-gray-700 dark:text-white resize-none transition-colors duration-200"
|
| 111 |
-
rows="1"
|
| 112 |
-
onkeydown="handleKeydown(event)"
|
| 113 |
-
></textarea>
|
| 114 |
-
</div>
|
| 115 |
-
<button class="bg-blue-600 text-white p-3 rounded-xl hover:bg-blue-700 transition-colors duration-200">
|
| 116 |
-
<i data-feather="send" class="w-5 h-5"></i>
|
| 117 |
-
</button>
|
| 118 |
-
</div>
|
| 119 |
-
</div>
|
| 120 |
</div>
|
| 121 |
-
|
| 122 |
-
|
| 123 |
-
|
| 124 |
-
|
| 125 |
-
|
| 126 |
-
|
| 127 |
-
|
| 128 |
-
|
| 129 |
-
|
| 130 |
-
|
| 131 |
-
|
| 132 |
-
|
| 133 |
-
<div class="w-3 h-3 bg-gray-300 dark:bg-gray-600 rounded-full"></div>
|
| 134 |
-
<div class="w-3 h-3 bg-gray-300 dark:bg-gray-600 rounded-full"></div>
|
| 135 |
-
<div class="w-3 h-3 bg-gray-300 dark:bg-gray-600 rounded-full"></div>
|
| 136 |
-
<div class="w-3 h-3 bg-gray-300 dark:bg-gray-600 rounded-full"></div>
|
| 137 |
-
</div>
|
| 138 |
-
|
| 139 |
-
<!-- Notes Panel -->
|
| 140 |
-
<div class="mt-6">
|
| 141 |
-
<h4 class="font-medium text-gray-900 dark:text-white mb-3">
|
| 142 |
-
Notes
|
| 143 |
-
</h4>
|
| 144 |
-
<textarea
|
| 145 |
-
placeholder="Add notes for this section..."
|
| 146 |
-
class="w-full px-3 py-2 border border-gray-300 dark:border-gray-600 rounded-lg focus:ring-2 focus:ring-blue-500 focus:border-transparent dark:bg-gray-700 dark:text-white resize-none text-sm transition-colors duration-200"
|
| 147 |
-
rows="3"
|
| 148 |
-
></textarea>
|
| 149 |
-
</div>
|
| 150 |
-
|
| 151 |
-
<!-- Transcript Toggle -->
|
| 152 |
-
<div class="mt-6">
|
| 153 |
-
<button class="w-full flex items-center justify-between text-sm text-gray-600 dark:text-gray-400 hover:text-gray-900 dark:hover:text-white transition-colors duration-200">
|
| 154 |
-
<span>View Transcript</span>
|
| 155 |
-
<i data-feather="chevron-right" class="w-4 h-4"></i>
|
| 156 |
-
</button>
|
| 157 |
-
</div>
|
| 158 |
-
</div>
|
| 159 |
</div>
|
| 160 |
</div>
|
| 161 |
</div>
|
| 162 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 163 |
|
| 164 |
<custom-footer></custom-footer>
|
| 165 |
|
|
@@ -173,9 +109,9 @@
|
|
| 173 |
if (event.key === 'Enter' && !event.shiftKey) {
|
| 174 |
event.preventDefault();
|
| 175 |
// Handle send message
|
| 176 |
-
console.log('
|
| 177 |
}
|
| 178 |
}
|
| 179 |
</script>
|
| 180 |
</body>
|
| 181 |
-
</html>
|
|
|
|
| 1 |
+
|
| 2 |
<!DOCTYPE html>
|
| 3 |
<html lang="en">
|
| 4 |
<head>
|
|
|
|
| 9 |
<link rel="stylesheet" href="style.css">
|
| 10 |
<script src="https://cdn.tailwindcss.com"></script>
|
| 11 |
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
|
|
|
|
| 12 |
</head>
|
| 13 |
+
<body class="min-h-screen bg-gray-100 dark:bg-gray-900 font-sans">
|
| 14 |
<custom-navbar></custom-navbar>
|
| 15 |
|
| 16 |
+
<main class="max-w-4xl mx-auto px-4 py-6 pt-20">
|
| 17 |
<!-- Header -->
|
| 18 |
+
<div class="mb-8 flex items-center justify-between">
|
| 19 |
+
<a href="interviews.html" class="flex items-center gap-2 text-gray-600 dark:text-gray-400 hover:text-gray-900 dark:hover:text-white transition-colors">
|
| 20 |
+
<i data-feather="arrow-left" class="w-5 h-5"></i>
|
| 21 |
+
<span class="text-sm">Interviews</span>
|
| 22 |
+
</a>
|
| 23 |
<div class="flex items-center gap-4">
|
| 24 |
+
<span class="text-sm text-gray-500 dark:text-gray-400">● Recording</span>
|
| 25 |
+
<span class="text-sm text-gray-500 dark:text-gray-400">12:34</span>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 26 |
</div>
|
| 27 |
+
</div>
|
| 28 |
+
|
| 29 |
+
<!-- Interview Container -->
|
| 30 |
+
<div class="bg-white dark:bg-gray-800 rounded-xl shadow-sm p-6 mb-6">
|
| 31 |
+
<h1 class="text-2xl font-light text-gray-900 dark:text-white mb-2">Biographical Interview</h1>
|
| 32 |
+
<p class="text-gray-500 dark:text-gray-400 mb-6">Section: Early Life (1 of 5)</p>
|
| 33 |
+
|
| 34 |
+
<!-- Progress Bar -->
|
| 35 |
+
<div class="h-1 bg-gray-200 dark:bg-gray-700 rounded-full mb-6 overflow-hidden">
|
| 36 |
+
<div class="h-full bg-blue-500 dark:bg-blue-400" style="width: 20%"></div>
|
| 37 |
+
</div>
|
| 38 |
+
|
| 39 |
+
<!-- Chat Stream -->
|
| 40 |
+
<div class="space-y-4 mb-6 max-h-[60vh] overflow-y-auto">
|
| 41 |
+
<!-- AI Message -->
|
| 42 |
+
<div class="flex items-start gap-3">
|
| 43 |
+
<div class="w-8 h-8 rounded-full bg-gray-200 dark:bg-gray-700 flex items-center justify-center">
|
| 44 |
+
<i data-feather="user" class="w-4 h-4 text-gray-500 dark:text-gray-400"></i>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 45 |
</div>
|
| 46 |
+
<div class="bg-gray-100 dark:bg-gray-700 rounded-2xl rounded-tl-none px-4 py-3 max-w-md">
|
| 47 |
+
<p class="text-gray-700 dark:text-gray-300">Tell me about your earliest childhood memory...</p>
|
|
|
|
|
|
|
| 48 |
</div>
|
| 49 |
+
</div>
|
| 50 |
+
|
| 51 |
+
<!-- User Message -->
|
| 52 |
+
<div class="flex justify-end">
|
| 53 |
+
<div class="bg-blue-500 dark:bg-blue-600 text-white rounded-2xl rounded-tr-none px-4 py-3 max-w-md">
|
| 54 |
+
<p>I remember playing in my grandmother's garden...</p>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 55 |
</div>
|
| 56 |
</div>
|
| 57 |
+
</div>
|
| 58 |
+
|
| 59 |
+
<!-- Input Area -->
|
| 60 |
+
<div class="border-t border-gray-200 dark:border-gray-700 pt-4">
|
| 61 |
+
<!-- Prompt Suggestions -->
|
| 62 |
+
<div class="flex gap-2 mb-4 overflow-x-auto">
|
| 63 |
+
<button class="px-3 py-2 rounded-full text-sm bg-gray-100 dark:bg-gray-700 text-gray-700 dark:text-gray-300 hover:bg-gray-200 dark:hover:bg-gray-600 transition-colors">
|
| 64 |
Early memories
|
| 65 |
</button>
|
| 66 |
+
<button class="px-3 py-2 rounded-full text-sm bg-gray-100 dark:bg-gray-700 text-gray-700 dark:text-gray-300 hover:bg-gray-200 dark:hover:bg-gray-600 transition-colors">
|
| 67 |
+
Family home
|
| 68 |
</button>
|
| 69 |
+
<button class="px-3 py-2 rounded-full text-sm bg-gray-100 dark:bg-gray-700 text-gray-700 dark:text-gray-300 hover:bg-gray-200 dark:hover:bg-gray-600 transition-colors">
|
| 70 |
+
School days
|
| 71 |
</button>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 72 |
</div>
|
| 73 |
+
|
| 74 |
+
<!-- Message Input -->
|
| 75 |
+
<div class="relative">
|
| 76 |
+
<textarea
|
| 77 |
+
placeholder="Share your thoughts..."
|
| 78 |
+
class="w-full px-4 py-3 border border-gray-300 dark:border-gray-600 rounded-xl focus:ring-2 focus:ring-blue-500 focus:border-transparent dark:bg-gray-700 dark:text-white resize-none transition-colors"
|
| 79 |
+
rows="2"
|
| 80 |
+
onkeydown="handleKeydown(event)"
|
| 81 |
+
></textarea>
|
| 82 |
+
<button class="absolute right-3 bottom-3 text-blue-500 dark:text-blue-400 hover:text-blue-600 dark:hover:text-blue-300 transition-colors">
|
| 83 |
+
<i data-feather="send" class="w-5 h-5"></i>
|
| 84 |
+
</button>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 85 |
</div>
|
| 86 |
</div>
|
| 87 |
</div>
|
| 88 |
+
|
| 89 |
+
<!-- Section Navigation -->
|
| 90 |
+
<div class="flex justify-between">
|
| 91 |
+
<button class="px-4 py-2 rounded-lg border border-gray-300 dark:border-gray-600 text-gray-700 dark:text-gray-300 hover:bg-gray-50 dark:hover:bg-gray-700 transition-colors">
|
| 92 |
+
Previous Section
|
| 93 |
+
</button>
|
| 94 |
+
<button class="px-4 py-2 rounded-lg bg-blue-500 dark:bg-blue-600 text-white hover:bg-blue-600 dark:hover:bg-blue-700 transition-colors">
|
| 95 |
+
Next Section
|
| 96 |
+
</button>
|
| 97 |
+
</div>
|
| 98 |
+
</main>
|
| 99 |
|
| 100 |
<custom-footer></custom-footer>
|
| 101 |
|
|
|
|
| 109 |
if (event.key === 'Enter' && !event.shiftKey) {
|
| 110 |
event.preventDefault();
|
| 111 |
// Handle send message
|
| 112 |
+
console.log('Message sent');
|
| 113 |
}
|
| 114 |
}
|
| 115 |
</script>
|
| 116 |
</body>
|
| 117 |
+
</html>
|
style.css
CHANGED
|
@@ -126,14 +126,64 @@ textarea:focus-visible {
|
|
| 126 |
}
|
| 127 |
|
| 128 |
/* Chat specific styles */
|
| 129 |
-
|
| 130 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 131 |
}
|
| 132 |
|
| 133 |
-
|
| 134 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 135 |
}
|
| 136 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 137 |
/* Call mode specific */
|
| 138 |
.waveform-container {
|
| 139 |
background: linear-gradient(90deg, var(--primary-accent), var(--secondary-accent));
|
|
|
|
| 126 |
}
|
| 127 |
|
| 128 |
/* Chat specific styles */
|
| 129 |
+
/* Lo-Fi Interview Styles */
|
| 130 |
+
body {
|
| 131 |
+
background-color: #f5f5f5;
|
| 132 |
+
color: #333;
|
| 133 |
+
}
|
| 134 |
+
|
| 135 |
+
.dark body {
|
| 136 |
+
background-color: #1a1a1a;
|
| 137 |
+
color: #e0e0e0;
|
| 138 |
+
}
|
| 139 |
+
|
| 140 |
+
/* Chat bubbles */
|
| 141 |
+
[class*="bg-gray-100"] {
|
| 142 |
+
background-color: #f0f0f0;
|
| 143 |
+
}
|
| 144 |
+
|
| 145 |
+
.dark [class*="bg-gray-700"] {
|
| 146 |
+
background-color: #2a2a2a;
|
| 147 |
}
|
| 148 |
|
| 149 |
+
/* Scrollbar */
|
| 150 |
+
::-webkit-scrollbar {
|
| 151 |
+
width: 6px;
|
| 152 |
+
}
|
| 153 |
+
|
| 154 |
+
::-webkit-scrollbar-thumb {
|
| 155 |
+
background-color: #ccc;
|
| 156 |
+
border-radius: 3px;
|
| 157 |
}
|
| 158 |
|
| 159 |
+
.dark ::-webkit-scrollbar-thumb {
|
| 160 |
+
background-color: #555;
|
| 161 |
+
}
|
| 162 |
+
|
| 163 |
+
/* Input field glow */
|
| 164 |
+
textarea:focus {
|
| 165 |
+
box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
|
| 166 |
+
outline: none;
|
| 167 |
+
}
|
| 168 |
+
|
| 169 |
+
/* Smooth transitions */
|
| 170 |
+
* {
|
| 171 |
+
transition: background-color 0.3s ease, color 0.3s ease;
|
| 172 |
+
}
|
| 173 |
+
|
| 174 |
+
/* Minimal shadows */
|
| 175 |
+
.shadow-sm {
|
| 176 |
+
box-shadow: 0 1px 2px rgba(0,0,0,0.05);
|
| 177 |
+
}
|
| 178 |
+
|
| 179 |
+
/* Progress bar */
|
| 180 |
+
[class*="bg-blue-500"] {
|
| 181 |
+
background-color: #4a90e2;
|
| 182 |
+
}
|
| 183 |
+
|
| 184 |
+
.dark [class*="bg-blue-400"] {
|
| 185 |
+
background-color: #5da0e8;
|
| 186 |
+
}
|
| 187 |
/* Call mode specific */
|
| 188 |
.waveform-container {
|
| 189 |
background: linear-gradient(90deg, var(--primary-accent), var(--secondary-accent));
|