fix-bot commited on
Commit 路
caf1eed
1
Parent(s): 6ec3ca6
ui: widen layout and give media its own dedicated canvas zone
Browse files- index.html +12 -12
index.html
CHANGED
|
@@ -223,7 +223,7 @@
|
|
| 223 |
|
| 224 |
<!-- NVIDIA Brand Navigation Header (Transparent dark blur) -->
|
| 225 |
<nav class="bg-black/40 backdrop-blur-md sticky top-0 z-50 px-6 py-3.5 border-b border-white/5 shadow-lg">
|
| 226 |
-
<div class="max-w-
|
| 227 |
<!-- Official Styled NVIDIA Brand Text Logo -->
|
| 228 |
<a href="#" class="flex items-center gap-1.5 select-none group">
|
| 229 |
<svg class="h-6 w-6 text-nvidia-brand transition-transform duration-500 group-hover:rotate-180" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5">
|
|
@@ -242,13 +242,13 @@
|
|
| 242 |
</nav>
|
| 243 |
|
| 244 |
<!-- MAIN MINIMAL LAYOUT CONTAINER -->
|
| 245 |
-
<main class="max-w-
|
| 246 |
|
| 247 |
<!-- Giant Showcase Container (SAM 3 Full-Bleed Style) -->
|
| 248 |
<div class="relative w-full rounded-[32px] overflow-hidden border border-white/5 bg-[#080a0e] shadow-2xl h-[580px] lg:h-[640px] flex select-none">
|
| 249 |
|
| 250 |
-
<!-- 1.
|
| 251 |
-
<div class="absolute inset-0 z-0 flex items-center justify-center bg-black/40">
|
| 252 |
<!-- Drop Zone (Initially shown) -->
|
| 253 |
<div id="drop-zone" class="absolute inset-0 border-none rounded-none bg-transparent flex flex-col items-center justify-center p-4 text-center cursor-pointer transition-all z-10">
|
| 254 |
<div id="upload-prompt" class="space-y-3 opacity-60 hover:opacity-100 transition-opacity">
|
|
@@ -291,8 +291,8 @@
|
|
| 291 |
</div>
|
| 292 |
</div>
|
| 293 |
|
| 294 |
-
<!-- 2. Left
|
| 295 |
-
<div class="absolute left-6
|
| 296 |
|
| 297 |
<!-- Main Header Overlay text -->
|
| 298 |
<div class="space-y-3 pt-4 pointer-events-auto bg-gradient-to-b from-[#080a0e]/90 via-[#080a0e]/60 to-transparent p-4 rounded-2xl">
|
|
@@ -432,9 +432,9 @@
|
|
| 432 |
|
| 433 |
</div>
|
| 434 |
|
| 435 |
-
<!-- 3. Floating Categories Search Bar
|
| 436 |
-
<div class="absolute
|
| 437 |
-
<div class="sam-input-bar rounded-2xl px-3.5 py-2.5 flex items-center gap-2 w-full pointer-events-auto">
|
| 438 |
<svg class="h-4 w-4 text-nvidia-brand shrink-0" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2.5">
|
| 439 |
<path stroke-linecap="round" stroke-linejoin="round" d="M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z" />
|
| 440 |
</svg>
|
|
@@ -445,13 +445,13 @@
|
|
| 445 |
</svg>
|
| 446 |
</button>
|
| 447 |
</div>
|
| 448 |
-
<p class="text-[9px] text-slate-500 text-
|
| 449 |
Comma-separated targets 路 supports English & Chinese 路 press <span class="text-slate-400">Enter</span> to run
|
| 450 |
</p>
|
| 451 |
</div>
|
| 452 |
|
| 453 |
-
<!-- Floating Workspace Status -->
|
| 454 |
-
<div class="absolute
|
| 455 |
status: <span id="workspace-status" class="text-slate-200 font-semibold">No Media Loaded</span>
|
| 456 |
</div>
|
| 457 |
|
|
|
|
| 223 |
|
| 224 |
<!-- NVIDIA Brand Navigation Header (Transparent dark blur) -->
|
| 225 |
<nav class="bg-black/40 backdrop-blur-md sticky top-0 z-50 px-6 py-3.5 border-b border-white/5 shadow-lg">
|
| 226 |
+
<div class="max-w-[1600px] mx-auto flex items-center justify-between">
|
| 227 |
<!-- Official Styled NVIDIA Brand Text Logo -->
|
| 228 |
<a href="#" class="flex items-center gap-1.5 select-none group">
|
| 229 |
<svg class="h-6 w-6 text-nvidia-brand transition-transform duration-500 group-hover:rotate-180" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5">
|
|
|
|
| 242 |
</nav>
|
| 243 |
|
| 244 |
<!-- MAIN MINIMAL LAYOUT CONTAINER -->
|
| 245 |
+
<main class="max-w-[1600px] mx-auto px-4 sm:px-6 lg:px-8 pt-8 lg:pt-10 space-y-8">
|
| 246 |
|
| 247 |
<!-- Giant Showcase Container (SAM 3 Full-Bleed Style) -->
|
| 248 |
<div class="relative w-full rounded-[32px] overflow-hidden border border-white/5 bg-[#080a0e] shadow-2xl h-[580px] lg:h-[640px] flex select-none">
|
| 249 |
|
| 250 |
+
<!-- 1. Dedicated Media Canvas (offset right of the control panel on desktop) -->
|
| 251 |
+
<div class="absolute inset-y-0 right-0 left-0 lg:left-[440px] z-0 flex items-center justify-center bg-black/40 lg:border-l lg:border-white/10">
|
| 252 |
<!-- Drop Zone (Initially shown) -->
|
| 253 |
<div id="drop-zone" class="absolute inset-0 border-none rounded-none bg-transparent flex flex-col items-center justify-center p-4 text-center cursor-pointer transition-all z-10">
|
| 254 |
<div id="upload-prompt" class="space-y-3 opacity-60 hover:opacity-100 transition-opacity">
|
|
|
|
| 291 |
</div>
|
| 292 |
</div>
|
| 293 |
|
| 294 |
+
<!-- 2. Left Control Panel (Title, simple selectors, accordion, and action buttons) -->
|
| 295 |
+
<div class="absolute left-6 top-8 bottom-8 z-30 flex flex-col justify-between w-[380px] max-w-[calc(100%-3rem)] pointer-events-none">
|
| 296 |
|
| 297 |
<!-- Main Header Overlay text -->
|
| 298 |
<div class="space-y-3 pt-4 pointer-events-auto bg-gradient-to-b from-[#080a0e]/90 via-[#080a0e]/60 to-transparent p-4 rounded-2xl">
|
|
|
|
| 432 |
|
| 433 |
</div>
|
| 434 |
|
| 435 |
+
<!-- 3. Floating Categories Search Bar (bottom-center of the dedicated image zone) -->
|
| 436 |
+
<div class="absolute bottom-6 left-0 right-0 lg:left-[440px] z-30 flex flex-col items-center gap-2 px-6 pointer-events-none">
|
| 437 |
+
<div class="sam-input-bar rounded-2xl px-3.5 py-2.5 flex items-center gap-2 w-full max-w-md pointer-events-auto">
|
| 438 |
<svg class="h-4 w-4 text-nvidia-brand shrink-0" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2.5">
|
| 439 |
<path stroke-linecap="round" stroke-linejoin="round" d="M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z" />
|
| 440 |
</svg>
|
|
|
|
| 445 |
</svg>
|
| 446 |
</button>
|
| 447 |
</div>
|
| 448 |
+
<p class="text-[9px] text-slate-500 text-center leading-relaxed pointer-events-none px-1 max-w-md">
|
| 449 |
Comma-separated targets 路 supports English & Chinese 路 press <span class="text-slate-400">Enter</span> to run
|
| 450 |
</p>
|
| 451 |
</div>
|
| 452 |
|
| 453 |
+
<!-- Floating Workspace Status (top-right of the image zone) -->
|
| 454 |
+
<div class="absolute top-4 right-4 z-30 bg-black/60 backdrop-blur px-2.5 py-1 rounded-lg border border-white/10 text-[9px] text-slate-400 font-mono select-none pointer-events-none">
|
| 455 |
status: <span id="workspace-status" class="text-slate-200 font-semibold">No Media Loaded</span>
|
| 456 |
</div>
|
| 457 |
|