diff --git a/public/favicon.png b/public/favicon.png new file mode 100644 index 0000000..f171012 Binary files /dev/null and b/public/favicon.png differ diff --git a/public/index.html b/public/index.html index 38cd044..979bdc3 100644 --- a/public/index.html +++ b/public/index.html @@ -3,14 +3,20 @@ - Say — Голосовой ассистент + Say — Голосовой ассистент | Nubes +
-

🎙️ Say v1.0

+
+ + | + Say v1.0 + Голосовой ассистент +
🤖 GPT-OSS-120B diff --git a/public/nubes-logo.svg b/public/nubes-logo.svg new file mode 100644 index 0000000..1a7aed4 --- /dev/null +++ b/public/nubes-logo.svg @@ -0,0 +1,2 @@ +Forbidden +Transaction ID: bdd7fbca-219a-4dbf-95ca-a27cc8bdecd9 diff --git a/public/style.css b/public/style.css index ee07e02..9b82ea3 100644 --- a/public/style.css +++ b/public/style.css @@ -1,59 +1,92 @@ -* { box-sizing: border-box; } -body { font-family: system-ui, -apple-system, sans-serif; margin: 0; padding: 0; background: #0d0d1a; color: #e0e0e0; } +:root { + --bg: #f5f5f5; --card: #ffffff; --text: #1a1a1a; --muted: #6b7280; + --border: #d1d5db; --grey-light: #f3f4f6; + --blue: #2563eb; --pink: #e84393; --purple: #7c6ff7; +} + +* { box-sizing: border-box; margin: 0; padding: 0; } +body { + font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; + background: var(--bg); color: var(--text); + font-size: 14px; line-height: 1.5; +} #app { display: flex; height: 100vh; } -#main { flex: 1; padding: 20px; max-width: 680px; margin: 0 auto; overflow-y: auto; } +#main { flex: 1; padding: 16px; max-width: 740px; margin: 0 auto; overflow-y: auto; } -#ver { font-size: 14px; color: #666; font-weight: normal; } +/* Topbar как в ipwhitelist */ +.topbar { + display: flex; align-items: center; gap: 8px; + padding: 10px 14px; background: var(--card); + border: 1px solid var(--border); border-radius: 10px; margin-bottom: 12px; +} +.topbar-sep { color: var(--border); font-size: 18px; } +.topbar-title { font-weight: 600; font-size: 15px; } +.topbar-title #ver { font-weight: 400; color: var(--muted); font-size: 12px; } +.topbar-right { margin-left: auto; color: var(--muted); font-size: 13px; } -h1 { color: #7c6ff7; margin: 0 0 4px; font-size: 20px; } +#models { display: flex; gap: 8px; justify-content: center; margin-bottom: 10px; } +.model-tag { + padding: 3px 10px; background: var(--grey-light); + border: 1px solid var(--border); border-radius: 12px; + font-size: 11px; color: var(--muted); +} -#models { display: flex; gap: 10px; justify-content: center; margin-bottom: 10px; } -.model-tag { padding: 4px 12px; background: #1a1a3e; border: 1px solid #2a2a4e; border-radius: 14px; font-size: 12px; color: #888; white-space: nowrap; } +#visualizer { margin: 8px 0; text-align: center; } +#meter { border-radius: 6px; background: var(--grey-light); display: block; margin: 0 auto; } -#visualizer { margin: 10px 0; } -#meter { border-radius: 6px; background: #1a1a2e; display: block; margin: 0 auto; } +#controls { display: flex; gap: 8px; justify-content: center; margin: 10px 0; } +#controls button { + padding: 8px 18px; border-radius: 8px; font-size: 14px; + cursor: pointer; border: 1px solid var(--border); font-family: inherit; +} +#btnRecord { background: var(--pink); color: #fff; border-color: var(--pink); } +#btnRecord:disabled { opacity: 0.5; } +#btnPlay { background: #10b981; color: #fff; border-color: #10b981; } +#btnPlay:disabled { opacity: 0.4; } +#btnReset, #btnTheme { background: var(--grey-light); color: var(--text); } -#controls { display: flex; gap: 8px; justify-content: center; margin: 10px 0; flex-wrap: wrap; } -#btnRecord { padding: 10px 24px; background: #e84393; color: #fff; border: none; border-radius: 8px; font-size: 15px; cursor: pointer; } -#btnRecord:disabled { opacity: 0.5; cursor: not-allowed; } -#btnPlay { padding: 10px 16px; background: #00b894; color: #fff; border: none; border-radius: 8px; font-size: 14px; cursor: pointer; } -#btnPlay:disabled { opacity: 0.4; cursor: not-allowed; } -#btnReset { padding: 10px 16px; background: #636e72; color: #fff; border: none; border-radius: 8px; font-size: 14px; cursor: pointer; } +#status { text-align: center; color: var(--muted); font-size: 13px; min-height: 18px; margin: 4px 0; } -#status { text-align: center; color: #888; font-size: 14px; min-height: 20px; margin: 6px 0; } - -#chat { border: 1px solid #2a2a3e; border-radius: 8px; padding: 14px; min-height: 200px; max-height: 340px; overflow-y: auto; background: #13132a; line-height: 1.6; } -.user { background: #0d2d2d; border-left: 3px solid #00cec9; padding: 8px 12px; margin: 8px 0; border-radius: 0 6px 6px 0; color: #00cec9; font-size: 14px; } +#chat { + border: 1px solid var(--border); border-radius: 10px; + padding: 12px; min-height: 200px; max-height: 340px; + overflow-y: auto; background: var(--card); line-height: 1.6; +} +.user { + background: #ecfdf5; border-left: 3px solid #10b981; + padding: 8px 12px; margin: 6px 0; border-radius: 0 6px 6px 0; + color: #065f46; font-size: 14px; +} .user p { margin: 0; } -.bot { background: #1a1a3e; border-left: 3px solid #a29bfe; padding: 10px 14px; margin: 8px 0 16px; border-radius: 0 6px 6px 0; color: #d0d0f0; font-size: 14px; } +.bot { + background: #f5f3ff; border-left: 3px solid var(--purple); + padding: 10px 14px; margin: 6px 0 14px; border-radius: 0 6px 6px 0; + color: var(--text); font-size: 14px; +} .bot p { margin: 4px 0; } -.bot h1, .bot h2, .bot h3 { color: #7c6ff7; margin: 8px 0 4px; font-size: 15px; } -.bot b { color: #fff; } -.bot code { background: #2a2a4e; padding: 1px 5px; border-radius: 3px; font-size: 13px; color: #f8c291; } +.bot h1, .bot h2, .bot h3 { color: var(--purple); margin: 8px 0 4px; font-size: 14px; } +.bot b { color: #111; } +.bot code { background: #e8e5f4; padding: 1px 5px; border-radius: 3px; font-size: 13px; color: #c62828; } .bot ul, .bot ol { margin: 4px 0; padding-left: 20px; } .bot li { margin: 2px 0; } -.bot hr { border: none; border-top: 1px solid #2a2a3e; margin: 10px 0; } +.bot hr { border: none; border-top: 1px solid #ddd; margin: 10px 0; } -#sidebar { width: 280px; background: #111122; border-left: 1px solid #2a2a3e; padding: 14px; overflow-y: auto; } -#history-title { color: #7c6ff7; font-weight: bold; margin-bottom: 10px; font-size: 15px; } -.hitem { padding: 6px 8px; border-radius: 4px; cursor: pointer; margin-bottom: 4px; font-size: 13px; color: #bbb; } -.hitem:hover { background: #1a1a3e; } -.hq { display: block; } +#sidebar { + width: 280px; background: var(--card); + border-left: 1px solid var(--border); padding: 14px; overflow-y: auto; +} +#history-title { font-weight: 600; color: var(--text); margin-bottom: 10px; font-size: 14px; } +.hitem { padding: 6px 8px; border-radius: 4px; cursor: pointer; margin-bottom: 3px; font-size: 12px; color: var(--muted); } +.hitem:hover { background: var(--grey-light); } -/* Светлая тема */ -body.light { background: #f5f5f5; color: #222; } -body.light #main h1 { color: #5b4ae0; } -body.light #chat { background: #fff; border-color: #ddd; } -body.light .user { background: #e0f7f7; border-left-color: #009688; color: #00695c; } -body.light .bot { background: #ede7f6; border-left-color: #7c6ff7; color: #333; } -body.light .bot b { color: #000; } -body.light .bot code { background: #e0e0e0; color: #c62828; } -body.light #status { color: #666; } -body.light #sidebar { background: #e8e8e8; border-color: #ddd; } -body.light #history-title { color: #5b4ae0; } -body.light .hitem { color: #555; } -body.light .hitem:hover { background: #dcdcdc; } -body.light .model-tag { background: #e0e0e0; border-color: #ccc; color: #555; } -body.light #meter { background: #e0e0e0; } -body.light #btnReset { background: #999; } \ No newline at end of file +/* Тёмная тема */ +body.dark { + --bg: #0d0d1a; --card: #13132a; --text: #e0e0e0; --muted: #888; + --border: #2a2a3e; --grey-light: #1a1a2e; +} +body.dark .user { background: #0d2d2d; color: #00cec9; } +body.dark .bot { background: #1a1a3e; color: #d0d0f0; } +body.dark .bot b { color: #fff; } +body.dark .bot code { background: #2a2a4e; color: #f8c291; } +body.dark .bot hr { border-color: #2a2a3e; } \ No newline at end of file