|
7 | 7 | <link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap" rel="stylesheet"> |
8 | 8 | <style> |
9 | 9 | :root { |
10 | | - --chatgpt-bg: #343541; |
11 | | - --chatgpt-text: #ECECF1; |
12 | | - --chatgpt-secondary-text: #C5C5D2; |
13 | | - --chatgpt-accent: #19C37D; |
14 | | - --chatgpt-accent-hover: #0DA26B; |
15 | | - --chatgpt-border: #565869; |
| 10 | + --omi-bg: #000000; |
| 11 | + --omi-text: #FFFFFF; |
| 12 | + --omi-secondary-text: #BDBDBD; |
| 13 | + --omi-accent: #673AB7; |
| 14 | + --omi-accent-hover: #512DA8; |
| 15 | + --omi-border: #424242; |
| 16 | + --omi-surface: #1F1F25; |
16 | 17 | } |
17 | 18 |
|
18 | 19 | * { |
|
23 | 24 |
|
24 | 25 | body { |
25 | 26 | font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; |
26 | | - background-color: var(--chatgpt-bg); |
27 | | - color: var(--chatgpt-text); |
| 27 | + background: var(--omi-bg); |
| 28 | + background: radial-gradient(ellipse at top, #1F1F25, var(--omi-bg)); |
| 29 | + color: var(--omi-text); |
28 | 30 | display: flex; |
29 | 31 | flex-direction: column; |
30 | 32 | min-height: 100vh; |
|
61 | 63 | } |
62 | 64 |
|
63 | 65 | .logo-icon svg path { |
64 | | - fill: var(--chatgpt-text); |
| 66 | + fill: var(--omi-text); |
65 | 67 | } |
66 | 68 |
|
67 | 69 | .logo-text { |
|
72 | 74 | .connect-card { |
73 | 75 | width: 100%; |
74 | 76 | text-align: center; |
75 | | - padding: 2rem; |
76 | | - background-color: rgba(255, 255, 255, 0.05); |
77 | | - border-radius: 12px; |
78 | | - box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1); |
| 77 | + padding: 2.5rem; |
| 78 | + background-color: var(--omi-surface); |
| 79 | + border-radius: 16px; |
| 80 | + border: 1px solid var(--omi-border); |
| 81 | + box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2), 0 0 12px rgba(103, 58, 183, 0.1); |
| 82 | + transition: transform 0.2s ease, box-shadow 0.2s ease; |
| 83 | + } |
| 84 | + |
| 85 | + .connect-card:hover { |
| 86 | + transform: translateY(-2px); |
| 87 | + box-shadow: 0 12px 48px rgba(0, 0, 0, 0.25), 0 0 24px rgba(103, 58, 183, 0.15); |
| 88 | + } |
| 89 | + |
| 90 | + .integrations-section { |
| 91 | + width: 100%; |
| 92 | + margin-top: 3rem; |
| 93 | + text-align: center; |
| 94 | + } |
| 95 | + |
| 96 | + .integrations-title { |
| 97 | + font-size: 1.5rem; |
| 98 | + font-weight: 600; |
| 99 | + margin-bottom: 0.5rem; |
| 100 | + } |
| 101 | + |
| 102 | + .integrations-subtitle { |
| 103 | + color: var(--omi-secondary-text); |
| 104 | + margin-bottom: 1.5rem; |
| 105 | + max-width: 380px; |
| 106 | + margin-left: auto; |
| 107 | + margin-right: auto; |
| 108 | + } |
| 109 | + |
| 110 | + .integration-link { |
| 111 | + text-decoration: none; |
| 112 | + } |
| 113 | + |
| 114 | + .integrations-grid { |
| 115 | + display: flex; |
| 116 | + flex-wrap: wrap; |
| 117 | + gap: 0.75rem; |
| 118 | + justify-content: center; |
| 119 | + } |
| 120 | + |
| 121 | + .integration-item { |
| 122 | + background-color: var(--omi-surface); |
| 123 | + border: 1px solid var(--omi-border); |
| 124 | + border-radius: 20px; |
| 125 | + padding: 0.5rem 1.25rem; |
| 126 | + font-size: 0.875rem; |
| 127 | + font-weight: 500; |
| 128 | + transition: all 0.2s ease; |
| 129 | + color: var(--omi-secondary-text); |
| 130 | + } |
| 131 | + |
| 132 | + .integration-item:hover { |
| 133 | + background-color: var(--omi-surface); |
| 134 | + border-color: var(--omi-accent); |
| 135 | + color: var(--omi-text); |
| 136 | + transform: translateY(-2px); |
| 137 | + box-shadow: 0 4px 8px rgba(0,0,0,0.2); |
79 | 138 | } |
80 | 139 |
|
81 | 140 | .connect-button { |
82 | | - background-color: var(--chatgpt-accent); |
| 141 | + background: linear-gradient(to right, #7E57C2, #673AB7); |
83 | 142 | color: white; |
84 | 143 | border: none; |
85 | 144 | border-radius: 8px; |
86 | 145 | padding: 0.875rem 1.5rem; |
87 | 146 | font-size: 1rem; |
88 | | - font-weight: 500; |
| 147 | + font-weight: 600; |
89 | 148 | cursor: pointer; |
90 | 149 | transition: all 0.2s ease; |
91 | 150 | width: 100%; |
92 | | - margin-top: 1.5rem; |
| 151 | + margin-top: 0; |
93 | 152 | display: flex; |
94 | 153 | align-items: center; |
95 | 154 | justify-content: center; |
96 | | - box-shadow: 0 2px 8px rgba(25, 195, 125, 0.3); |
| 155 | + box-shadow: 0 4px 12px rgba(103, 58, 183, 0.3); |
97 | 156 | } |
98 | 157 |
|
99 | 158 | .connect-button svg { |
|
116 | 175 | } |
117 | 176 |
|
118 | 177 | .connect-button:hover { |
119 | | - background-color: var(--chatgpt-accent-hover); |
120 | | - transform: translateY(-1px); |
121 | | - box-shadow: 0 4px 12px rgba(25, 195, 125, 0.4); |
| 178 | + background: linear-gradient(to right, #8769c9, #7043b8); |
| 179 | + transform: translateY(-2px); |
| 180 | + box-shadow: 0 6px 16px rgba(103, 58, 183, 0.4); |
122 | 181 | } |
123 | 182 |
|
124 | 183 | .connect-button:active { |
125 | 184 | transform: translateY(1px); |
126 | | - box-shadow: 0 2px 4px rgba(25, 195, 125, 0.3); |
| 185 | + box-shadow: 0 2px 4px rgba(103, 58, 183, 0.3); |
127 | 186 | } |
128 | 187 |
|
129 | 188 | .connect-button.copied { |
130 | | - background-color: #0DA26B; |
| 189 | + background: var(--omi-accent-hover); |
131 | 190 | } |
132 | 191 |
|
133 | 192 | .connect-button:disabled { |
134 | 193 | opacity: 0.5; |
135 | 194 | cursor: not-allowed; |
136 | 195 | } |
137 | 196 |
|
| 197 | + .title-text { |
| 198 | + font-size: 1.75rem; |
| 199 | + font-weight: 600; |
| 200 | + margin-bottom: 0.75rem; |
| 201 | + } |
| 202 | + |
138 | 203 | .info-text { |
139 | | - color: var(--chatgpt-secondary-text); |
140 | | - margin-bottom: 0.5rem; |
141 | | - font-size: 1.05rem; |
| 204 | + color: var(--omi-secondary-text); |
| 205 | + font-size: 1rem; |
| 206 | + line-height: 1.6; |
142 | 207 | } |
143 | 208 |
|
144 | 209 | .info-container { |
145 | | - margin-bottom: 1.5rem; |
| 210 | + margin-bottom: 2rem; |
146 | 211 | } |
147 | 212 |
|
148 | 213 | .notification { |
|
151 | 216 | left: 50%; |
152 | 217 | transform: translateX(-50%) translateY(10px); |
153 | 218 | padding: 0.75rem 1.5rem; |
154 | | - background-color: var(--chatgpt-accent); |
| 219 | + background-color: var(--omi-accent); |
155 | 220 | color: white; |
156 | 221 | border-radius: 8px; |
157 | 222 | box-shadow: 0 4px 12px rgba(0,0,0,0.3); |
|
180 | 245 | .footer { |
181 | 246 | text-align: center; |
182 | 247 | padding: 1.5rem; |
183 | | - color: var(--chatgpt-secondary-text); |
| 248 | + color: var(--omi-secondary-text); |
184 | 249 | font-size: 0.875rem; |
185 | 250 | } |
186 | 251 |
|
187 | 252 | a { |
188 | | - color: var(--chatgpt-accent); |
| 253 | + color: var(--omi-accent); |
189 | 254 | text-decoration: none; |
190 | 255 | } |
191 | 256 |
|
|
214 | 279 |
|
215 | 280 | <div class="connect-card" id="uid-display" data-uid="{{ uid }}"> |
216 | 281 | <div class="info-container"> |
217 | | - <p class="info-text">Connect your Omi device with ChatGPT</p> |
218 | | - <p class="info-text">Your ID will be copied automatically</p> |
| 282 | + <h1 class="title-text">Connect to ChatGPT</h1> |
| 283 | + <p class="info-text">Connect Omi to let ChatGPT access your memories and 100+ other tools. Your User ID will be copied automatically.</p> |
219 | 284 | </div> |
220 | 285 | <button class="connect-button" onclick="copyAndLaunch()"> |
221 | 286 | <svg width="20" height="20" viewBox="0 0 33 33" fill="none" xmlns="http://www.w3.org/2000/svg"> |
|
231 | 296 | Connect with ChatGPT |
232 | 297 | </button> |
233 | 298 | </div> |
| 299 | + |
| 300 | + <div class="integrations-section"> |
| 301 | + <h2 class="integrations-title">Connect to 100+ external tools</h2> |
| 302 | + <p class="integrations-subtitle">Give ChatGPT more context about you by connecting it to your favorite tools.</p> |
| 303 | + <div class="integrations-grid"> |
| 304 | + <a href="https://personas.omi.me/" target="_blank" class="integration-link"><div class="integration-item">X</div></a> |
| 305 | + <a href="https://personas.omi.me/" target="_blank" class="integration-link"><div class="integration-item">Google Calendar</div></a> |
| 306 | + <a href="https://personas.omi.me/" target="_blank" class="integration-link"><div class="integration-item">Notion</div></a> |
| 307 | + <a href="https://personas.omi.me/" target="_blank" class="integration-link"><div class="integration-item">LinkedIn</div></a> |
| 308 | + <a href="https://personas.omi.me/" target="_blank" class="integration-link"><div class="integration-item">Google Drive</div></a> |
| 309 | + <a href="https://personas.omi.me/" target="_blank" class="integration-link"><div class="integration-item">Gmail</div></a> |
| 310 | + <a href="https://personas.omi.me/" target="_blank" class="integration-link"><div class="integration-item">GitHub</div></a> |
| 311 | + <a href="https://personas.omi.me/" target="_blank" class="integration-link"><div class="integration-item">Google Sheets</div></a> |
| 312 | + <a href="https://personas.omi.me/" target="_blank" class="integration-link"><div class="integration-item">...and more</div></a> |
| 313 | + </div> |
| 314 | + </div> |
234 | 315 |
|
235 | 316 | <div class="footer"> |
236 | 317 | © 2025 Omi • <a href="https://omi.me" target="_blank">omi.me</a> |
|
352 | 433 | notification.style.backgroundColor = '#E34747'; |
353 | 434 | iconSvg.innerHTML = '<path d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41z" fill="currentColor"/>'; |
354 | 435 | } else { |
355 | | - notification.style.backgroundColor = '#19C37D'; |
| 436 | + notification.style.backgroundColor = 'var(--omi-accent)'; |
356 | 437 | iconSvg.innerHTML = '<path d="M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z" fill="currentColor"/>'; |
357 | 438 | } |
358 | 439 |
|
|
375 | 456 | </svg> |
376 | 457 | No ID Available |
377 | 458 | `; |
378 | | - document.querySelectorAll('.info-text')[0].textContent = 'Please log in first'; |
379 | | - document.querySelectorAll('.info-text')[1].textContent = 'to connect with ChatGPT'; |
| 459 | + document.querySelector('.connect-card .info-container').innerHTML = ` |
| 460 | + <h1 class="title-text">Log in to connect</h1> |
| 461 | + <p class="info-text">Please log in to the Omi app to connect your account to ChatGPT.</p> |
| 462 | + `; |
380 | 463 | } |
381 | 464 | }); |
382 | 465 | </script> |
|
0 commit comments