akhaliq HF Staff commited on
Commit
0125983
·
1 Parent(s): 83cd54d

Update custom frontend branding: use official Tripo AI colors and webp logo

Browse files
Files changed (1) hide show
  1. index.html +23 -29
index.html CHANGED
@@ -20,15 +20,15 @@
20
  --bg-input: rgba(255, 255, 255, 0.045);
21
  --border: rgba(255, 255, 255, 0.06);
22
  --border-hover: rgba(255, 255, 255, 0.12);
23
- --border-focus: rgba(139, 92, 246, 0.45);
24
  --text: #e2e8f0;
25
  --text-secondary: #94a3b8;
26
  --text-muted: #64748b;
27
  --text-faint: #475569;
28
- --accent: #8b5cf6;
29
- --accent-dark: #7c3aed;
30
- --accent-glow: rgba(139, 92, 246, 0.25);
31
- --accent-subtle: rgba(139, 92, 246, 0.08);
32
  --success: #34d399;
33
  --error: #f87171;
34
  --radius-sm: 6px;
@@ -64,9 +64,9 @@ body::before {
64
  position: fixed;
65
  inset: 0;
66
  background:
67
- radial-gradient(ellipse at 15% 25%, rgba(99, 102, 241, 0.07) 0%, transparent 55%),
68
- radial-gradient(ellipse at 85% 75%, rgba(139, 92, 246, 0.05) 0%, transparent 50%),
69
- radial-gradient(ellipse at 50% 50%, rgba(30, 27, 75, 0.15) 0%, transparent 70%);
70
  pointer-events: none;
71
  z-index: 0;
72
  animation: bgPulse 25s ease-in-out infinite alternate;
@@ -105,15 +105,15 @@ body::before {
105
  align-items: center;
106
  gap: 10px;
107
  }
108
- .logo-icon {
109
- width: 28px; height: 28px;
110
- color: var(--accent);
111
- filter: drop-shadow(0 0 6px var(--accent-glow));
112
  }
113
  .logo-text {
114
  font-size: 18px;
115
  font-weight: 700;
116
- background: linear-gradient(135deg, #c4b5fd, #8b5cf6);
117
  -webkit-background-clip: text;
118
  -webkit-text-fill-color: transparent;
119
  background-clip: text;
@@ -245,12 +245,12 @@ body::before {
245
  overflow: hidden;
246
  }
247
  #upload-area:hover {
248
- border-color: rgba(139, 92, 246, 0.35);
249
  background: var(--accent-subtle);
250
  }
251
  #upload-area.drag-over {
252
  border-color: var(--accent);
253
- background: rgba(139, 92, 246, 0.12);
254
  transform: scale(1.01);
255
  }
256
  #upload-area.has-image {
@@ -331,7 +331,7 @@ body::before {
331
  position: relative;
332
  }
333
  .example-thumb:hover {
334
- border-color: rgba(139, 92, 246, 0.35);
335
  transform: scale(1.06);
336
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
337
  }
@@ -429,7 +429,7 @@ select {
429
  input[type="number"]:focus,
430
  select:focus {
431
  border-color: var(--border-focus);
432
- box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
433
  }
434
  select {
435
  appearance: none;
@@ -482,7 +482,7 @@ input[type="range"]::-moz-range-thumb {
482
  width: 100%;
483
  padding: 13px 16px;
484
  margin-top: auto;
485
- background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
486
  border: none;
487
  border-radius: var(--radius-md);
488
  color: #fff;
@@ -511,7 +511,7 @@ input[type="range"]::-moz-range-thumb {
511
  transform: translateX(120%);
512
  }
513
  .btn-primary:hover:not(:disabled) {
514
- box-shadow: 0 6px 24px rgba(139, 92, 246, 0.35), 0 0 0 1px rgba(139, 92, 246, 0.2);
515
  transform: translateY(-1px);
516
  }
517
  .btn-primary:active:not(:disabled) {
@@ -522,7 +522,7 @@ input[type="range"]::-moz-range-thumb {
522
  cursor: not-allowed;
523
  }
524
  .btn-primary.loading {
525
- background: linear-gradient(135deg, #7c3aed 0%, #5b21b6 100%);
526
  pointer-events: none;
527
  }
528
  .btn-icon {
@@ -543,7 +543,7 @@ input[type="range"]::-moz-range-thumb {
543
  transition: box-shadow var(--transition-slow);
544
  }
545
  .viewer-wrap.active {
546
- box-shadow: 0 0 40px rgba(139, 92, 246, 0.08), 0 0 80px rgba(99, 102, 241, 0.04);
547
  }
548
  .viewer-placeholder {
549
  display: flex;
@@ -785,14 +785,8 @@ input[type="range"]::-moz-range-thumb {
785
  ===================================================================== -->
786
  <header id="app-header">
787
  <div class="header-left">
788
- <svg class="logo-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round">
789
- <path d="M12 2L3 7v10l9 5 9-5V7l-9-5z"/>
790
- <path d="M12 22V12"/>
791
- <path d="M3 7l9 5"/>
792
- <path d="M21 7l-9 5"/>
793
- <circle cx="12" cy="12" r="1.5" fill="currentColor" stroke="none"/>
794
- </svg>
795
- <span class="logo-text">TripoSplat</span>
796
  </div>
797
  <div class="header-center">
798
  Single image → high-quality 3D Gaussians by <a href="https://www.tripo3d.ai/" style="color:var(--accent);text-decoration:none" target="_blank">TripoAI</a>
 
20
  --bg-input: rgba(255, 255, 255, 0.045);
21
  --border: rgba(255, 255, 255, 0.06);
22
  --border-hover: rgba(255, 255, 255, 0.12);
23
+ --border-focus: rgba(255, 77, 79, 0.45);
24
  --text: #e2e8f0;
25
  --text-secondary: #94a3b8;
26
  --text-muted: #64748b;
27
  --text-faint: #475569;
28
+ --accent: #ff4d4f;
29
+ --accent-dark: #d9363e;
30
+ --accent-glow: rgba(255, 77, 79, 0.25);
31
+ --accent-subtle: rgba(255, 77, 79, 0.08);
32
  --success: #34d399;
33
  --error: #f87171;
34
  --radius-sm: 6px;
 
64
  position: fixed;
65
  inset: 0;
66
  background:
67
+ radial-gradient(ellipse at 15% 25%, rgba(255, 77, 79, 0.07) 0%, transparent 55%),
68
+ radial-gradient(ellipse at 85% 75%, rgba(255, 120, 117, 0.05) 0%, transparent 50%),
69
+ radial-gradient(ellipse at 50% 50%, rgba(63, 27, 27, 0.15) 0%, transparent 70%);
70
  pointer-events: none;
71
  z-index: 0;
72
  animation: bgPulse 25s ease-in-out infinite alternate;
 
105
  align-items: center;
106
  gap: 10px;
107
  }
108
+ .logo-img {
109
+ height: 24px;
110
+ width: auto;
111
+ object-fit: contain;
112
  }
113
  .logo-text {
114
  font-size: 18px;
115
  font-weight: 700;
116
+ background: linear-gradient(135deg, #ff9c6e, #ff4d4f);
117
  -webkit-background-clip: text;
118
  -webkit-text-fill-color: transparent;
119
  background-clip: text;
 
245
  overflow: hidden;
246
  }
247
  #upload-area:hover {
248
+ border-color: rgba(255, 77, 79, 0.35);
249
  background: var(--accent-subtle);
250
  }
251
  #upload-area.drag-over {
252
  border-color: var(--accent);
253
+ background: rgba(255, 77, 79, 0.12);
254
  transform: scale(1.01);
255
  }
256
  #upload-area.has-image {
 
331
  position: relative;
332
  }
333
  .example-thumb:hover {
334
+ border-color: rgba(255, 77, 79, 0.35);
335
  transform: scale(1.06);
336
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
337
  }
 
429
  input[type="number"]:focus,
430
  select:focus {
431
  border-color: var(--border-focus);
432
+ box-shadow: 0 0 0 3px rgba(255, 77, 79, 0.1);
433
  }
434
  select {
435
  appearance: none;
 
482
  width: 100%;
483
  padding: 13px 16px;
484
  margin-top: auto;
485
+ background: linear-gradient(135deg, #ff4d4f 0%, #d9363e 100%);
486
  border: none;
487
  border-radius: var(--radius-md);
488
  color: #fff;
 
511
  transform: translateX(120%);
512
  }
513
  .btn-primary:hover:not(:disabled) {
514
+ box-shadow: 0 6px 24px rgba(255, 77, 79, 0.35), 0 0 0 1px rgba(255, 77, 79, 0.2);
515
  transform: translateY(-1px);
516
  }
517
  .btn-primary:active:not(:disabled) {
 
522
  cursor: not-allowed;
523
  }
524
  .btn-primary.loading {
525
+ background: linear-gradient(135deg, #d9363e 0%, #ad2128 100%);
526
  pointer-events: none;
527
  }
528
  .btn-icon {
 
543
  transition: box-shadow var(--transition-slow);
544
  }
545
  .viewer-wrap.active {
546
+ box-shadow: 0 0 40px rgba(255, 77, 79, 0.08), 0 0 80px rgba(255, 120, 117, 0.04);
547
  }
548
  .viewer-placeholder {
549
  display: flex;
 
785
  ===================================================================== -->
786
  <header id="app-header">
787
  <div class="header-left">
788
+ <img class="logo-img" src="https://cdn-web.tripo3d.ai/tripo-web/logo/tripo-logo1.webp" alt="Tripo AI Logo">
789
+ <span class="logo-text">Splat</span>
 
 
 
 
 
 
790
  </div>
791
  <div class="header-center">
792
  Single image → high-quality 3D Gaussians by <a href="https://www.tripo3d.ai/" style="color:var(--accent);text-decoration:none" target="_blank">TripoAI</a>