Here’s a detailed description of the UI in your screenshot — perfect for turning into a recreation prompt later:
Browse filesGeneral Layout
Application name (top-left): “MEDENDO”, in uppercase light blue font.
Background color: White, with light turquoise/teal accents.
Layout structure:
A left sidebar with navigation items.
A main content area titled “Opnemen” (Recording).
Everything has a minimalist, clean medical/professional look.
Left Sidebar
Color: very light teal background.
Contains five vertically stacked items (with small icons):
Opnemen (active, highlighted with a vertical bar or darker shade)
Gesprekken
Templates
Logout
[email protected]
(shown as contact text at the bottom).
Main Section (Header + Card)
Header text (top left): “Opnemen” — bold and medium-sized.
Below header: a centered white card with subtle shadow and rounded corners.
Inside the Card:
Tabs at the top:
“FYSIEK” (selected — active state with underline or highlight)
“ONLINE” (inactive, greyed).
Form Fields:
Datum en tijd veld (Date/time): Pre-filled “14-05-2025 16:45”.
Template dropdown: “Standaard gespreksverslag”.
Gesproken taal (Language dropdown): “Nederlands”.
Tabs underneath form fields:
“TEMPLATE”
“TRANSCRIPT” (selected — active, highlighted in teal)
“VERSLAG”
Below it: “Er is nog geen transcript.” (no transcript yet message, grey text).
Top Right Button
Button text: “🟥 STOP” (red rectangular button with white text).
Positioned on the top-right inside the card (aligned with the form).
Bottom Bar
Small recording control indicators (bottom left corner):
Shows “00:04” recording time and a few small icons (mic, pause, stop).
- README.md +8 -5
- components/main-content.js +172 -0
- components/sidebar.js +79 -0
- index.html +38 -19
- script.js +19 -0
- style.css +13 -23
|
@@ -1,10 +1,13 @@
|
|
| 1 |
---
|
| 2 |
-
title: Medendo Virtual Consultation Companion
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
sdk: static
|
| 7 |
pinned: false
|
|
|
|
|
|
|
| 8 |
---
|
| 9 |
|
| 10 |
-
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
title: Medendo - Virtual Consultation Companion 🏥
|
| 3 |
+
colorFrom: green
|
| 4 |
+
colorTo: blue
|
| 5 |
+
emoji: 🐳
|
| 6 |
sdk: static
|
| 7 |
pinned: false
|
| 8 |
+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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
class MainContent extends HTMLElement {
|
| 2 |
+
connectedCallback() {
|
| 3 |
+
this.attachShadow({ mode: 'open' });
|
| 4 |
+
this.shadowRoot.innerHTML = `
|
| 5 |
+
<style>
|
| 6 |
+
.main-content {
|
| 7 |
+
flex: 1;
|
| 8 |
+
padding: 2rem;
|
| 9 |
+
background-color: white;
|
| 10 |
+
}
|
| 11 |
+
.header {
|
| 12 |
+
font-size: 1.5rem;
|
| 13 |
+
font-weight: 600;
|
| 14 |
+
color: #1e293b;
|
| 15 |
+
margin-bottom: 2rem;
|
| 16 |
+
}
|
| 17 |
+
.card {
|
| 18 |
+
background-color: white;
|
| 19 |
+
border-radius: 0.5rem;
|
| 20 |
+
box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
|
| 21 |
+
padding: 2rem;
|
| 22 |
+
max-width: 800px;
|
| 23 |
+
margin: 0 auto;
|
| 24 |
+
position: relative;
|
| 25 |
+
}
|
| 26 |
+
.tabs {
|
| 27 |
+
display: flex;
|
| 28 |
+
border-bottom: 1px solid #e5e7eb;
|
| 29 |
+
margin-bottom: 1.5rem;
|
| 30 |
+
}
|
| 31 |
+
.tab {
|
| 32 |
+
padding: 0.5rem 1rem;
|
| 33 |
+
cursor: pointer;
|
| 34 |
+
color: #64748b;
|
| 35 |
+
font-weight: 500;
|
| 36 |
+
margin-right: 1rem;
|
| 37 |
+
}
|
| 38 |
+
.tab.active {
|
| 39 |
+
color: #0ea5e9;
|
| 40 |
+
border-bottom: 2px solid #0ea5e9;
|
| 41 |
+
}
|
| 42 |
+
.form-group {
|
| 43 |
+
margin-bottom: 1.5rem;
|
| 44 |
+
}
|
| 45 |
+
label {
|
| 46 |
+
display: block;
|
| 47 |
+
margin-bottom: 0.5rem;
|
| 48 |
+
color: #334155;
|
| 49 |
+
font-size: 0.875rem;
|
| 50 |
+
font-weight: 500;
|
| 51 |
+
}
|
| 52 |
+
select, input {
|
| 53 |
+
width: 100%;
|
| 54 |
+
padding: 0.5rem 0.75rem;
|
| 55 |
+
border: 1px solid #e5e7eb;
|
| 56 |
+
border-radius: 0.375rem;
|
| 57 |
+
background-color: white;
|
| 58 |
+
}
|
| 59 |
+
.content-tabs {
|
| 60 |
+
margin-top: 2rem;
|
| 61 |
+
border-bottom: 1px solid #e5e7eb;
|
| 62 |
+
display: flex;
|
| 63 |
+
}
|
| 64 |
+
.content-tab {
|
| 65 |
+
padding: 0.5rem 1rem;
|
| 66 |
+
cursor: pointer;
|
| 67 |
+
color: #64748b;
|
| 68 |
+
font-weight: 500;
|
| 69 |
+
margin-right: 1rem;
|
| 70 |
+
}
|
| 71 |
+
.content-tab.active {
|
| 72 |
+
color: #0ea5e9;
|
| 73 |
+
border-bottom: 2px solid #0ea5e9;
|
| 74 |
+
}
|
| 75 |
+
.content-area {
|
| 76 |
+
padding: 1.5rem 0;
|
| 77 |
+
color: #64748b;
|
| 78 |
+
}
|
| 79 |
+
.stop-btn {
|
| 80 |
+
position: absolute;
|
| 81 |
+
top: 2rem;
|
| 82 |
+
right: 2rem;
|
| 83 |
+
background-color: #ef4444;
|
| 84 |
+
color: white;
|
| 85 |
+
padding: 0.5rem 1rem;
|
| 86 |
+
border-radius: 0.375rem;
|
| 87 |
+
border: none;
|
| 88 |
+
font-weight: 500;
|
| 89 |
+
cursor: pointer;
|
| 90 |
+
display: flex;
|
| 91 |
+
align-items: center;
|
| 92 |
+
gap: 0.5rem;
|
| 93 |
+
}
|
| 94 |
+
.recording-controls {
|
| 95 |
+
position: fixed;
|
| 96 |
+
bottom: 2rem;
|
| 97 |
+
left: 280px;
|
| 98 |
+
display: flex;
|
| 99 |
+
align-items: center;
|
| 100 |
+
gap: 1rem;
|
| 101 |
+
background-color: white;
|
| 102 |
+
padding: 0.75rem 1.5rem;
|
| 103 |
+
border-radius: 9999px;
|
| 104 |
+
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
|
| 105 |
+
}
|
| 106 |
+
.recording-timer {
|
| 107 |
+
font-family: monospace;
|
| 108 |
+
color: #334155;
|
| 109 |
+
}
|
| 110 |
+
.control-icon {
|
| 111 |
+
color: #64748b;
|
| 112 |
+
cursor: pointer;
|
| 113 |
+
}
|
| 114 |
+
</style>
|
| 115 |
+
<div class="main-content">
|
| 116 |
+
<h1 class="header">Opnemen</h1>
|
| 117 |
+
|
| 118 |
+
<div class="card">
|
| 119 |
+
<button id="stop-recording" class="stop-btn">
|
| 120 |
+
<i data-feather="square"></i>
|
| 121 |
+
STOP
|
| 122 |
+
</button>
|
| 123 |
+
|
| 124 |
+
<div class="tabs">
|
| 125 |
+
<div class="tab active">FYSIEK</div>
|
| 126 |
+
<div class="tab">ONLINE</div>
|
| 127 |
+
</div>
|
| 128 |
+
|
| 129 |
+
<div class="form-group">
|
| 130 |
+
<label for="date-time">Datum en tijd</label>
|
| 131 |
+
<input type="text" id="date-time" value="14-05-2025 16:45" readonly>
|
| 132 |
+
</div>
|
| 133 |
+
|
| 134 |
+
<div class="form-group">
|
| 135 |
+
<label for="template">Template</label>
|
| 136 |
+
<select id="template">
|
| 137 |
+
<option selected>Standaard gespreksverslag</option>
|
| 138 |
+
<option>Alternatief template</option>
|
| 139 |
+
</select>
|
| 140 |
+
</div>
|
| 141 |
+
|
| 142 |
+
<div class="form-group">
|
| 143 |
+
<label for="language">Gesproken taal</label>
|
| 144 |
+
<select id="language">
|
| 145 |
+
<option selected>Nederlands</option>
|
| 146 |
+
<option>English</option>
|
| 147 |
+
<option>Deutsch</option>
|
| 148 |
+
</select>
|
| 149 |
+
</div>
|
| 150 |
+
|
| 151 |
+
<div class="content-tabs">
|
| 152 |
+
<div class="content-tab">TEMPLATE</div>
|
| 153 |
+
<div class="content-tab active">TRANSCRIPT</div>
|
| 154 |
+
<div class="content-tab">VERSLAG</div>
|
| 155 |
+
</div>
|
| 156 |
+
|
| 157 |
+
<div class="content-area">
|
| 158 |
+
Er is nog geen transcript.
|
| 159 |
+
</div>
|
| 160 |
+
</div>
|
| 161 |
+
|
| 162 |
+
<div class="recording-controls">
|
| 163 |
+
<span class="recording-timer" id="recording-timer">00:00</span>
|
| 164 |
+
<i data-feather="mic" class="control-icon"></i>
|
| 165 |
+
<i data-feather="pause" class="control-icon"></i>
|
| 166 |
+
<i data-feather="square" class="control-icon"></i>
|
| 167 |
+
</div>
|
| 168 |
+
</div>
|
| 169 |
+
`;
|
| 170 |
+
}
|
| 171 |
+
}
|
| 172 |
+
customElements.define('main-content', MainContent);
|
|
@@ -0,0 +1,79 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
class CustomSidebar extends HTMLElement {
|
| 2 |
+
connectedCallback() {
|
| 3 |
+
this.attachShadow({ mode: 'open' });
|
| 4 |
+
this.shadowRoot.innerHTML = `
|
| 5 |
+
<style>
|
| 6 |
+
.sidebar {
|
| 7 |
+
width: 240px;
|
| 8 |
+
height: 100vh;
|
| 9 |
+
background-color: #f0f9ff;
|
| 10 |
+
padding: 2rem 1rem;
|
| 11 |
+
display: flex;
|
| 12 |
+
flex-direction: column;
|
| 13 |
+
border-right: 1px solid #e5e7eb;
|
| 14 |
+
}
|
| 15 |
+
.logo {
|
| 16 |
+
color: #0ea5e9;
|
| 17 |
+
font-weight: 700;
|
| 18 |
+
font-size: 1.5rem;
|
| 19 |
+
margin-bottom: 2rem;
|
| 20 |
+
padding-left: 0.5rem;
|
| 21 |
+
letter-spacing: 0.05em;
|
| 22 |
+
}
|
| 23 |
+
.nav-item {
|
| 24 |
+
display: flex;
|
| 25 |
+
align-items: center;
|
| 26 |
+
gap: 0.75rem;
|
| 27 |
+
padding: 0.75rem;
|
| 28 |
+
border-radius: 0.375rem;
|
| 29 |
+
margin-bottom: 0.5rem;
|
| 30 |
+
color: #334155;
|
| 31 |
+
text-decoration: none;
|
| 32 |
+
transition: all 0.2s;
|
| 33 |
+
}
|
| 34 |
+
.nav-item:hover {
|
| 35 |
+
background-color: #e0f2fe;
|
| 36 |
+
}
|
| 37 |
+
.nav-item.active {
|
| 38 |
+
background-color: #0ea5e9;
|
| 39 |
+
color: white;
|
| 40 |
+
}
|
| 41 |
+
.contact {
|
| 42 |
+
margin-top: auto;
|
| 43 |
+
padding: 1rem 0.5rem;
|
| 44 |
+
color: #64748b;
|
| 45 |
+
font-size: 0.875rem;
|
| 46 |
+
}
|
| 47 |
+
.icon {
|
| 48 |
+
width: 20px;
|
| 49 |
+
height: 20px;
|
| 50 |
+
}
|
| 51 |
+
</style>
|
| 52 |
+
<div class="sidebar">
|
| 53 |
+
<div class="logo">MEDENDO</div>
|
| 54 |
+
<a href="#" class="nav-item active">
|
| 55 |
+
<i data-feather="mic" class="icon"></i>
|
| 56 |
+
<span>Opnemen</span>
|
| 57 |
+
</a>
|
| 58 |
+
<a href="#" class="nav-item">
|
| 59 |
+
<i data-feather="message-square" class="icon"></i>
|
| 60 |
+
<span>Gesprekken</span>
|
| 61 |
+
</a>
|
| 62 |
+
<a href="#" class="nav-item">
|
| 63 |
+
<i data-feather="file-text" class="icon"></i>
|
| 64 |
+
<span>Templates</span>
|
| 65 |
+
</a>
|
| 66 |
+
<a href="#" class="nav-item">
|
| 67 |
+
<i data-feather="settings" class="icon"></i>
|
| 68 |
+
<span>Instellingen</span>
|
| 69 |
+
</a>
|
| 70 |
+
<a href="#" class="nav-item">
|
| 71 |
+
<i data-feather="log-out" class="icon"></i>
|
| 72 |
+
<span>Logout</span>
|
| 73 |
+
</a>
|
| 74 |
+
<div class="contact">[email protected]</div>
|
| 75 |
+
</div>
|
| 76 |
+
`;
|
| 77 |
+
}
|
| 78 |
+
}
|
| 79 |
+
customElements.define('custom-sidebar', CustomSidebar);
|
|
@@ -1,19 +1,38 @@
|
|
| 1 |
-
<!
|
| 2 |
-
<html>
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!DOCTYPE html>
|
| 2 |
+
<html lang="en">
|
| 3 |
+
<head>
|
| 4 |
+
<meta charset="UTF-8">
|
| 5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
+
<title>MEDENDO - Virtual Consultation</title>
|
| 7 |
+
<link rel="stylesheet" href="style.css">
|
| 8 |
+
<script src="https://cdn.tailwindcss.com"></script>
|
| 9 |
+
<script src="https://unpkg.com/feather-icons"></script>
|
| 10 |
+
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
|
| 11 |
+
<script>
|
| 12 |
+
tailwind.config = {
|
| 13 |
+
theme: {
|
| 14 |
+
extend: {
|
| 15 |
+
colors: {
|
| 16 |
+
sky: {
|
| 17 |
+
500: '#0ea5e9',
|
| 18 |
+
}
|
| 19 |
+
}
|
| 20 |
+
}
|
| 21 |
+
}
|
| 22 |
+
}
|
| 23 |
+
</script>
|
| 24 |
+
</head>
|
| 25 |
+
<body class="bg-white min-h-screen flex">
|
| 26 |
+
<script src="components/sidebar.js"></script>
|
| 27 |
+
<script src="components/main-content.js"></script>
|
| 28 |
+
|
| 29 |
+
<custom-sidebar></custom-sidebar>
|
| 30 |
+
<main-content></main-content>
|
| 31 |
+
|
| 32 |
+
<script>
|
| 33 |
+
feather.replace();
|
| 34 |
+
</script>
|
| 35 |
+
<script src="script.js"></script>
|
| 36 |
+
<script src="https://deepsite.hf.co/deepsite-badge.js"></script>
|
| 37 |
+
</body>
|
| 38 |
+
</html>
|
|
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
// Initialize recording functionality
|
| 2 |
+
document.addEventListener('DOMContentLoaded', () => {
|
| 3 |
+
// Timer functionality for recording
|
| 4 |
+
let seconds = 0;
|
| 5 |
+
const timerElement = document.getElementById('recording-timer');
|
| 6 |
+
|
| 7 |
+
const timer = setInterval(() => {
|
| 8 |
+
seconds++;
|
| 9 |
+
const mins = Math.floor(seconds / 60).toString().padStart(2, '0');
|
| 10 |
+
const secs = (seconds % 60).toString().padStart(2, '0');
|
| 11 |
+
timerElement.textContent = `${mins}:${secs}`;
|
| 12 |
+
}, 1000);
|
| 13 |
+
|
| 14 |
+
// Stop recording button
|
| 15 |
+
document.getElementById('stop-recording').addEventListener('click', () => {
|
| 16 |
+
clearInterval(timer);
|
| 17 |
+
alert('Recording stopped');
|
| 18 |
+
});
|
| 19 |
+
});
|
|
@@ -1,28 +1,18 @@
|
|
| 1 |
-
|
| 2 |
-
|
| 3 |
-
font-family: -apple-system, BlinkMacSystemFont, "Arial", sans-serif;
|
| 4 |
-
}
|
| 5 |
-
|
| 6 |
-
h1 {
|
| 7 |
-
font-size: 16px;
|
| 8 |
-
margin-top: 0;
|
| 9 |
-
}
|
| 10 |
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
font-size: 15px;
|
| 14 |
-
margin-bottom: 10px;
|
| 15 |
-
margin-top: 5px;
|
| 16 |
}
|
| 17 |
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
padding: 16px;
|
| 22 |
-
border: 1px solid lightgray;
|
| 23 |
-
border-radius: 16px;
|
| 24 |
}
|
| 25 |
-
|
| 26 |
-
|
| 27 |
-
margin-bottom: 0;
|
| 28 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/* Base styles */
|
| 2 |
+
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
|
| 4 |
+
body {
|
| 5 |
+
font-family: 'Inter', sans-serif;
|
|
|
|
|
|
|
|
|
|
| 6 |
}
|
| 7 |
|
| 8 |
+
/* Custom scrollbar */
|
| 9 |
+
::-webkit-scrollbar {
|
| 10 |
+
width: 6px;
|
|
|
|
|
|
|
|
|
|
| 11 |
}
|
| 12 |
+
::-webkit-scrollbar-track {
|
| 13 |
+
background: #f1f1f1;
|
|
|
|
| 14 |
}
|
| 15 |
+
::-webkit-scrollbar-thumb {
|
| 16 |
+
background: #0ea5e9;
|
| 17 |
+
border-radius: 3px;
|
| 18 |
+
}
|