tecitheme 0.2.0 → 0.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,9 +1,9 @@
1
1
  <script>
2
- import Icon from './Icon.svelte';
3
- import { slide } from 'svelte/transition';
4
- import { cubicIn, cubicOut } from 'svelte/easing';
2
+ import Icon from "./Icon.svelte";
3
+ import { slide } from "svelte/transition";
4
+ import { cubicIn, cubicOut } from "svelte/easing";
5
5
 
6
- let openMenu = '';
6
+ let openMenu = "";
7
7
 
8
8
  export function clickOutside(node) {
9
9
  const handleClick = (event) => {
@@ -11,31 +11,31 @@
11
11
  !node.contains(event.target) &&
12
12
  event.target.innerText.toLowerCase() != node.parentElement.id
13
13
  ) {
14
- node.dispatchEvent(new CustomEvent('outclick'));
14
+ node.dispatchEvent(new CustomEvent("outclick"));
15
15
  }
16
16
  };
17
- document.addEventListener('click', handleClick, true);
17
+ document.addEventListener("click", handleClick, true);
18
18
  return {
19
19
  destroy() {
20
- document.removeEventListener('click', handleClick, true);
20
+ document.removeEventListener("click", handleClick, true);
21
21
  },
22
22
  };
23
23
  }
24
24
 
25
25
  function handleEscape({ key }) {
26
- if (key === 'Escape') {
27
- openMenu = '';
26
+ if (key === "Escape") {
27
+ openMenu = "";
28
28
  }
29
29
  }
30
30
  </script>
31
31
 
32
- <svelte:window on:keyup="{handleEscape}" />
32
+ <svelte:window on:keyup={handleEscape} />
33
33
 
34
34
  <header class="relative bg-white">
35
35
  <div
36
- class="pointer-events-none absolute inset-0 z-30 shadow"
37
36
  aria-hidden="true"
38
- ></div>
37
+ class="pointer-events-none absolute inset-0 z-30 shadow"
38
+ />
39
39
  <div
40
40
  class="relative mx-auto flex max-w-7xl items-center justify-between px-4 py-5 sm:px-6 sm:py-4 md:justify-start md:space-x-6 lg:space-x-10 lg:px-8"
41
41
  >
@@ -52,12 +52,16 @@
52
52
  <nav class="flex md:space-x-6 lg:space-x-10">
53
53
  <!-- Products -->
54
54
  <div id="products">
55
- <button type="button"
56
- on:click={() => (openMenu == 'products')?(openMenu = ''):(openMenu = 'products')}
57
- class="group inline-flex items-center bg-white text-base font-medium text-gray-500 hover:text-gray-900 focus:outline-none focus:ring-2 focus:ring-teci-blue-light focus:ring-offset-2"
58
- aria-expanded="{openMenu == 'products'}"
55
+ <button
56
+ type="button"
57
+ on:click={() =>
58
+ openMenu == "products"
59
+ ? (openMenu = "")
60
+ : (openMenu = "products")}
61
+ class="group inline-flex items-center bg-white text-left text-base font-medium text-gray-500 hover:text-gray-900 focus:outline-none focus:ring-2 focus:ring-teci-blue-light focus:ring-offset-2"
62
+ aria-expanded={openMenu == "products"}
59
63
  >
60
- <span class:text-gray-900="{openMenu == 'products'}">Products</span>
64
+ <span class:text-gray-900={openMenu == "products"}>Products</span>
61
65
  <svg
62
66
  class="ml-2 h-5 w-5 group-hover:text-gray-900 {openMenu ==
63
67
  'products'
@@ -71,21 +75,23 @@
71
75
  <path
72
76
  fill-rule="evenodd"
73
77
  d="M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z"
74
- clip-rule="evenodd"></path>
78
+ clip-rule="evenodd"
79
+ />
75
80
  </svg>
76
81
  </button>
77
82
 
78
83
  <!-- Flyout menu -->
79
- {#if openMenu == 'products'}
80
- <div
81
- class="absolute inset-x-0 top-full z-10 transform bg-white shadow-lg"
84
+ {#if openMenu == "products"}
85
+ <div
86
+ class="absolute inset-x-0 top-full z-10 transform bg-white text-left shadow-lg"
82
87
  use:clickOutside
83
- on:outclick="{() => (openMenu = '')}"
84
- in:slide="{{ duration: 250, easing: cubicOut }}"
85
- out:slide="{{ duration: 150, easing: cubicIn }}"
88
+ on:outclick={() => (openMenu = "")}
89
+ in:slide={{ duration: 250, easing: cubicOut }}
90
+ out:slide={{ duration: 150, easing: cubicIn }}
86
91
  >
87
- <div on:click={() => (openMenu = '')}
88
- class="mx-auto grid max-w-7xl gap-y-8 px-4 py-8 sm:grid-cols-2 sm:gap-8 sm:px-6 lg:grid-cols-3 lg:px-8"
92
+ <button
93
+ on:click={() => (openMenu = "")}
94
+ class="mx-auto grid max-w-7xl gap-y-8 px-4 py-8 text-left sm:grid-cols-2 sm:gap-8 sm:px-6 lg:grid-cols-3 lg:px-8"
89
95
  >
90
96
  <a
91
97
  href="https://www.thunderheadeng.com/pyrosim/"
@@ -175,12 +181,13 @@
175
181
  </div>
176
182
  </div>
177
183
  </a>
178
- </div>
184
+ </button>
179
185
 
180
186
  <!-- Action Buttons -->
181
- <div class="relative bg-gray-50">
182
- <div on:click="{() => (openMenu = '')}"
183
- class="mx-auto max-w-7xl space-y-6 px-4 py-5 sm:flex sm:space-y-0 sm:space-x-10 sm:px-6 lg:px-8"
187
+ <div class="relative bg-gray-50 text-left">
188
+ <button
189
+ on:click={() => (openMenu = "")}
190
+ class="max-w-7xl space-y-6 px-4 py-5 sm:flex sm:space-y-0 sm:space-x-10 sm:px-6 lg:px-8"
184
191
  >
185
192
  <div class="flow-root">
186
193
  <a
@@ -199,7 +206,7 @@
199
206
  stroke-linejoin="round"
200
207
  stroke-width="2"
201
208
  d="M3 3h2l.4 2M7 13h10l4-8H5.4M7 13L5.4 5M7 13l-2.293 2.293c-.63.63-.184 1.707.707 1.707H17m0 0a2 2 0 100 4 2 2 0 000-4zm-8 2a2 2 0 11-4 0 2 2 0 014 0z"
202
- ></path>
209
+ />
203
210
  </svg>
204
211
  <span class="ml-3">Order Online</span>
205
212
  </a>
@@ -222,7 +229,7 @@
222
229
  stroke-linejoin="round"
223
230
  stroke-width="2"
224
231
  d="M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z"
225
- ></path>
232
+ />
226
233
  </svg>
227
234
  <span class="ml-3">30-day Trial</span>
228
235
  </a>
@@ -245,12 +252,12 @@
245
252
  stroke-linejoin="round"
246
253
  stroke-width="2"
247
254
  d="M3 8l7.89 5.26a2 2 0 002.22 0L21 8M5 19h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v10a2 2 0 002 2z"
248
- ></path>
255
+ />
249
256
  </svg>
250
257
  <span class="ml-3">Contact Sales</span>
251
258
  </a>
252
259
  </div>
253
- </div>
260
+ </button>
254
261
  </div>
255
262
  </div>
256
263
  {/if}
@@ -260,12 +267,12 @@
260
267
  <div id="support" class="relative">
261
268
  <button
262
269
  type="button"
263
- on:click="{() =>
264
- openMenu == 'support' ? (openMenu = '') : (openMenu = 'support')}"
270
+ on:click={() =>
271
+ openMenu == "support" ? (openMenu = "") : (openMenu = "support")}
265
272
  class="group inline-flex items-center bg-white text-base font-medium text-gray-500 hover:text-gray-900 focus:outline-none focus:ring-2 focus:ring-teci-blue-light focus:ring-offset-2"
266
- aria-expanded="{openMenu == 'support'}"
273
+ aria-expanded={openMenu == "support"}
267
274
  >
268
- <span class:text-gray-900="{openMenu == 'support'}">Support</span>
275
+ <span class:text-gray-900={openMenu == "support"}>Support</span>
269
276
  <svg
270
277
  class="ml-2 h-5 w-5 group-hover:text-gray-900 {openMenu ===
271
278
  'support'
@@ -279,20 +286,22 @@
279
286
  <path
280
287
  fill-rule="evenodd"
281
288
  d="M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z"
282
- clip-rule="evenodd"></path>
289
+ clip-rule="evenodd"
290
+ />
283
291
  </svg>
284
292
  </button>
285
293
 
286
- {#if openMenu == 'support'}
294
+ {#if openMenu == "support"}
287
295
  <div
288
- class="absolute left-1/2 z-40 mt-3 w-screen max-w-md -translate-x-1/2 transform overflow-hidden px-2 shadow-lg ring-1 ring-black ring-opacity-5 sm:px-0"
296
+ class="absolute left-1/2 z-40 mt-3 w-screen max-w-md -translate-x-1/2 transform overflow-hidden px-2 text-left shadow-lg ring-1 ring-black ring-opacity-5 sm:px-0"
289
297
  use:clickOutside
290
- on:outclick="{() => (openMenu = '')}"
291
- in:slide="{{ duration: 250, easing: cubicOut }}"
292
- out:slide="{{ duration: 150, easing: cubicIn }}"
298
+ on:outclick={() => (openMenu = "")}
299
+ in:slide={{ duration: 250, easing: cubicOut }}
300
+ out:slide={{ duration: 150, easing: cubicIn }}
293
301
  >
294
- <div on:click="{() => (openMenu = '')}"
295
- class="relative grid gap-6 bg-white px-5 py-6 sm:gap-8 sm:p-8"
302
+ <button
303
+ on:click={() => (openMenu = "")}
304
+ class="relative grid w-full gap-6 bg-white px-5 py-6 text-left sm:gap-8 sm:p-8"
296
305
  >
297
306
  <a
298
307
  href="https://support.thunderheadeng.com/docs/"
@@ -310,7 +319,7 @@
310
319
  stroke-linejoin="round"
311
320
  stroke-width="2"
312
321
  d="M12 6.253v13m0-13C10.832 5.477 9.246 5 7.5 5S4.168 5.477 3 6.253v13C4.168 18.477 5.754 18 7.5 18s3.332.477 4.5 1.253m0-13C13.168 5.477 14.754 5 16.5 5c1.747 0 3.332.477 4.5 1.253v13C19.832 18.477 18.247 18 16.5 18c-1.746 0-3.332.477-4.5 1.253"
313
- ></path>
322
+ />
314
323
  </svg>
315
324
  <div class="ml-4">
316
325
  <p class="text-base font-medium text-gray-900">
@@ -338,7 +347,7 @@
338
347
  stroke-linejoin="round"
339
348
  stroke-width="2"
340
349
  d="M8 14v3m4-3v3m4-3v3M3 21h18M3 10h18M3 7l9-4 9 4M4 10h16v11H4V10z"
341
- ></path>
350
+ />
342
351
  </svg>
343
352
  <div class="ml-4">
344
353
  <p class="text-base font-medium text-gray-900">Tutorials</p>
@@ -364,7 +373,7 @@
364
373
  stroke-linejoin="round"
365
374
  stroke-width="2"
366
375
  d="M9 12h6m-6 4h6m2 5H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z"
367
- ></path>
376
+ />
368
377
  </svg>
369
378
  <div class="ml-4">
370
379
  <p class="text-base font-medium text-gray-900">
@@ -392,7 +401,7 @@
392
401
  stroke-linejoin="round"
393
402
  stroke-width="2"
394
403
  d="M8.228 9c.549-1.165 2.03-2 3.772-2 2.21 0 4 1.343 4 3 0 1.4-1.278 2.575-3.006 2.907-.542.104-.994.54-.994 1.093m0 3h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"
395
- ></path>
404
+ />
396
405
  </svg>
397
406
  <div class="ml-4">
398
407
  <p class="text-base font-medium text-gray-900">FAQs</p>
@@ -401,9 +410,10 @@
401
410
  </p>
402
411
  </div>
403
412
  </a>
404
- </div>
405
- <div on:click="{() => (openMenu = '')}"
406
- class="space-y-6 bg-gray-50 px-5 py-5 sm:flex sm:space-y-0 sm:space-x-10 sm:px-8"
413
+ </button>
414
+ <button
415
+ on:click={() => (openMenu = "")}
416
+ class="w-full space-y-6 bg-gray-50 px-5 py-5 sm:flex sm:space-y-0 sm:space-x-10 sm:px-8"
407
417
  >
408
418
  <div class="flow-root">
409
419
  <a
@@ -423,7 +433,7 @@
423
433
  stroke-linejoin="round"
424
434
  stroke-width="2"
425
435
  d="M17 20h5v-2a3 3 0 00-5.356-1.857M17 20H7m10 0v-2c0-.656-.126-1.283-.356-1.857M7 20H2v-2a3 3 0 015.356-1.857M7 20v-2c0-.656.126-1.283.356-1.857m0 0a5.002 5.002 0 019.288 0M15 7a3 3 0 11-6 0 3 3 0 016 0zm6 3a2 2 0 11-4 0 2 2 0 014 0zM7 10a2 2 0 11-4 0 2 2 0 014 0z"
426
- ></path>
436
+ />
427
437
  </svg>
428
438
  <span class="ml-3">User Forum</span>
429
439
  </a>
@@ -446,12 +456,12 @@
446
456
  stroke-linejoin="round"
447
457
  stroke-width="2"
448
458
  d="M3 8l7.89 5.26a2 2 0 002.22 0L21 8M5 19h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v10a2 2 0 002 2z"
449
- ></path>
459
+ />
450
460
  </svg>
451
461
  <span class="ml-3">Contact Support</span>
452
462
  </a>
453
463
  </div>
454
- </div>
464
+ </button>
455
465
  </div>
456
466
  {/if}
457
467
  </div>
@@ -460,12 +470,12 @@
460
470
  <div id="events" class="relative">
461
471
  <button
462
472
  type="button"
463
- on:click="{() =>
464
- openMenu == 'events' ? (openMenu = '') : (openMenu = 'events')}"
473
+ on:click={() =>
474
+ openMenu == "events" ? (openMenu = "") : (openMenu = "events")}
465
475
  class="group inline-flex items-center bg-white text-base font-medium text-gray-500 hover:text-gray-900 focus:outline-none focus:ring-2 focus:ring-teci-blue-light focus:ring-offset-2"
466
- aria-expanded="{openMenu == 'events'}"
476
+ aria-expanded={openMenu == "events"}
467
477
  >
468
- <span class:text-gray-900="{openMenu == 'events'}">Events</span>
478
+ <span class:text-gray-900={openMenu == "events"}>Events</span>
469
479
  <svg
470
480
  class="ml-2 h-5 w-5 text-gray-400 group-hover:text-gray-900 {openMenu ===
471
481
  'events'
@@ -479,20 +489,22 @@
479
489
  <path
480
490
  fill-rule="evenodd"
481
491
  d="M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z"
482
- clip-rule="evenodd"></path>
492
+ clip-rule="evenodd"
493
+ />
483
494
  </svg>
484
495
  </button>
485
496
 
486
- {#if openMenu == 'events'}
497
+ {#if openMenu == "events"}
487
498
  <div
488
499
  class="absolute left-1/2 z-40 mt-3 w-screen max-w-md -translate-x-1/2 transform overflow-hidden px-2 shadow-lg ring-1 ring-black ring-opacity-5 sm:px-0"
489
500
  use:clickOutside
490
- on:outclick="{() => (openMenu = '')}"
491
- in:slide="{{ duration: 250, easing: cubicOut }}"
492
- out:slide="{{ duration: 150, easing: cubicIn }}"
501
+ on:outclick={() => (openMenu = "")}
502
+ in:slide={{ duration: 250, easing: cubicOut }}
503
+ out:slide={{ duration: 150, easing: cubicIn }}
493
504
  >
494
- <div on:click="{() => (openMenu = '')}"
495
- class="relative grid gap-6 bg-white px-5 py-6 sm:gap-8 sm:p-8"
505
+ <button
506
+ on:click={() => (openMenu = "")}
507
+ class="relative grid w-full gap-6 bg-white px-5 py-6 text-left sm:gap-8 sm:p-8"
496
508
  >
497
509
  <a
498
510
  href="https://www.thunderheadeng.com/training/"
@@ -510,7 +522,7 @@
510
522
  stroke-linejoin="round"
511
523
  stroke-width="2"
512
524
  d="M8 7V3m8 4V3m-9 8h10M5 21h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v12a2 2 0 002 2z"
513
- ></path>
525
+ />
514
526
  </svg>
515
527
  <div class="ml-4">
516
528
  <p class="text-base font-medium text-gray-900">Calendar</p>
@@ -536,7 +548,7 @@
536
548
  stroke-linejoin="round"
537
549
  stroke-width="2"
538
550
  d="M7 12l3-3 3 3 4-4M8 21l4-4 4 4M3 4h18M4 4h16v12a1 1 0 01-1 1H5a1 1 0 01-1-1V4z"
539
- ></path>
551
+ />
540
552
  </svg>
541
553
  <div class="ml-4">
542
554
  <p class="text-base font-medium text-gray-900">FEMTC</p>
@@ -562,7 +574,7 @@
562
574
  stroke-linejoin="round"
563
575
  stroke-width="2"
564
576
  d="M15 15l-2 5L9 9l11 4-5 2zm0 0l5 5M7.188 2.239l.777 2.897M5.136 7.965l-2.898-.777M13.95 4.05l-2.122 2.122m-5.657 5.656l-2.12 2.122"
565
- ></path>
577
+ />
566
578
  </svg>
567
579
  <div class="ml-4">
568
580
  <p class="text-base font-medium text-gray-900">Training</p>
@@ -571,9 +583,10 @@
571
583
  </p>
572
584
  </div>
573
585
  </a>
574
- </div>
575
- <div on:click="{() => (openMenu = '')}"
576
- class="space-y-6 bg-gray-50 px-5 py-5 sm:flex sm:space-y-0 sm:space-x-10 sm:px-8"
586
+ </button>
587
+ <button
588
+ on:click={() => (openMenu = "")}
589
+ class="w-full space-y-6 bg-gray-50 px-5 py-5 text-left sm:flex sm:space-y-0 sm:space-x-10 sm:px-8"
577
590
  >
578
591
  <div class="flow-root">
579
592
  <a
@@ -592,7 +605,7 @@
592
605
  stroke-linejoin="round"
593
606
  stroke-width="2"
594
607
  d="M12 8c-1.657 0-3 .895-3 2s1.343 2 3 2 3 .895 3 2-1.343 2-3 2m0-8c1.11 0 2.08.402 2.599 1M12 8V7m0 1v8m0 0v1m0-1c-1.11 0-2.08-.402-2.599-1M21 12a9 9 0 11-18 0 9 9 0 0118 0z"
595
- ></path>
608
+ />
596
609
  </svg>
597
610
  <span class="ml-3">Register</span>
598
611
  </a>
@@ -615,12 +628,12 @@
615
628
  stroke-linejoin="round"
616
629
  stroke-width="2"
617
630
  d="M3 8l7.89 5.26a2 2 0 002.22 0L21 8M5 19h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v10a2 2 0 002 2z"
618
- ></path>
631
+ />
619
632
  </svg>
620
633
  <span class="ml-3">Contact Training</span>
621
634
  </a>
622
635
  </div>
623
- </div>
636
+ </button>
624
637
  </div>
625
638
  {/if}
626
639
  </div>
@@ -629,12 +642,12 @@
629
642
  <div id="company" class="relative">
630
643
  <button
631
644
  type="button"
632
- on:click="{() =>
633
- openMenu == 'company' ? (openMenu = '') : (openMenu = 'company')}"
645
+ on:click={() =>
646
+ openMenu == "company" ? (openMenu = "") : (openMenu = "company")}
634
647
  class="group inline-flex items-center bg-white text-base font-medium text-gray-500 hover:text-gray-900 focus:outline-none focus:ring-2 focus:ring-teci-blue-light focus:ring-offset-2"
635
- aria-expanded="{openMenu == 'company'}"
648
+ aria-expanded={openMenu == "company"}
636
649
  >
637
- <span class:text-gray-900="{openMenu == 'company'}">Company</span>
650
+ <span class:text-gray-900={openMenu == "company"}>Company</span>
638
651
  <svg
639
652
  class="ml-2 h-5 w-5 group-hover:text-gray-900 {openMenu ===
640
653
  'company'
@@ -648,20 +661,22 @@
648
661
  <path
649
662
  fill-rule="evenodd"
650
663
  d="M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z"
651
- clip-rule="evenodd"></path>
664
+ clip-rule="evenodd"
665
+ />
652
666
  </svg>
653
667
  </button>
654
668
 
655
- {#if openMenu == 'company'}
669
+ {#if openMenu == "company"}
656
670
  <div
657
671
  class="absolute left-1/2 z-40 mt-3 w-screen max-w-md -translate-x-1/2 transform overflow-hidden px-2 shadow-lg ring-1 ring-black ring-opacity-5 sm:px-0"
658
672
  use:clickOutside
659
- on:outclick="{() => (openMenu = '')}"
660
- in:slide="{{ duration: 250, easing: cubicOut }}"
661
- out:slide="{{ duration: 150, easing: cubicIn }}"
673
+ on:outclick={() => (openMenu = "")}
674
+ in:slide={{ duration: 250, easing: cubicOut }}
675
+ out:slide={{ duration: 150, easing: cubicIn }}
662
676
  >
663
- <div on:click="{() => (openMenu = '')}"
664
- class="relative grid gap-6 bg-white px-5 py-6 sm:gap-8 sm:p-8"
677
+ <button
678
+ on:click={() => (openMenu = "")}
679
+ class="relative grid w-full gap-6 bg-white px-5 py-6 text-left sm:gap-8 sm:p-8"
665
680
  >
666
681
  <a
667
682
  href="https://www.thunderheadeng.com/about/"
@@ -679,7 +694,7 @@
679
694
  stroke-linejoin="round"
680
695
  stroke-width="2"
681
696
  d="M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"
682
- ></path>
697
+ />
683
698
  </svg>
684
699
  <div class="ml-4">
685
700
  <p class="text-base font-medium text-gray-900">About</p>
@@ -705,7 +720,7 @@
705
720
  stroke-linejoin="round"
706
721
  stroke-width="2"
707
722
  d="M11 5.882V19.24a1.76 1.76 0 01-3.417.592l-2.147-6.15M18 13a3 3 0 100-6M5.436 13.683A4.001 4.001 0 017 6h1.832c4.1 0 7.625-1.234 9.168-3v14c-1.543-1.766-5.067-3-9.168-3H7a3.988 3.988 0 01-1.564-.317z"
708
- ></path>
723
+ />
709
724
  </svg>
710
725
  <div class="ml-4">
711
726
  <p class="text-base font-medium text-gray-900">News</p>
@@ -731,7 +746,7 @@
731
746
  stroke-linejoin="round"
732
747
  stroke-width="2"
733
748
  d="M21 13.255A23.931 23.931 0 0112 15c-3.183 0-6.22-.62-9-1.745M16 6V4a2 2 0 00-2-2h-4a2 2 0 00-2 2v2m4 6h.01M5 20h14a2 2 0 002-2V8a2 2 0 00-2-2H5a2 2 0 00-2 2v10a2 2 0 002 2z"
734
- ></path>
749
+ />
735
750
  </svg>
736
751
  <div class="ml-4">
737
752
  <p class="text-base font-medium text-gray-900">Jobs</p>
@@ -757,7 +772,7 @@
757
772
  stroke-linejoin="round"
758
773
  stroke-width="2"
759
774
  d="M21 12a9 9 0 01-9 9m9-9a9 9 0 00-9-9m9 9H3m9 9a9 9 0 01-9-9m9 9c1.657 0 3-4.03 3-9s-1.343-9-3-9m0 18c-1.657 0-3-4.03-3-9s1.343-9 3-9m-9 9a9 9 0 019-9"
760
- ></path>
775
+ />
761
776
  </svg>
762
777
  <div class="ml-4">
763
778
  <p class="text-base font-medium text-gray-900">Partners</p>
@@ -766,7 +781,7 @@
766
781
  </p>
767
782
  </div>
768
783
  </a>
769
- </div>
784
+ </button>
770
785
  </div>
771
786
  {/if}
772
787
  </div>
@@ -798,7 +813,8 @@
798
813
  <path
799
814
  fill-rule="evenodd"
800
815
  d="M8 4a4 4 0 100 8 4 4 0 000-8zM2 8a6 6 0 1110.89 3.476l4.817 4.817a1 1 0 01-1.414 1.414l-4.816-4.816A6 6 0 012 8z"
801
- clip-rule="evenodd"></path>
816
+ clip-rule="evenodd"
817
+ />
802
818
  </svg>
803
819
  </div>
804
820
  <input
@@ -833,7 +849,7 @@
833
849
  stroke-linejoin="round"
834
850
  stroke-width="2"
835
851
  d="M3 3h2l.4 2M7 13h10l4-8H5.4M7 13L5.4 5M7 13l-2.293 2.293c-.63.63-.184 1.707.707 1.707H17m0 0a2 2 0 100 4 2 2 0 000-4zm-8 2a2 2 0 11-4 0 2 2 0 014 0z"
836
- ></path>
852
+ />
837
853
  </svg>
838
854
  </a>
839
855
  </div>
@@ -854,7 +870,7 @@
854
870
  stroke-linejoin="round"
855
871
  stroke-width="2"
856
872
  d="M5.121 17.804A13.937 13.937 0 0112 16c2.5 0 4.847.655 6.879 1.804M15 10a3 3 0 11-6 0 3 3 0 016 0zm6 2a9 9 0 11-18 0 9 9 0 0118 0z"
857
- ></path>
873
+ />
858
874
  </svg>
859
875
  </a>
860
876
  </div>
@@ -865,9 +881,9 @@
865
881
  <div class="md:hidden">
866
882
  <button
867
883
  type="button"
868
- on:click="{() => (openMenu = 'mobile')}"
884
+ on:click={() => (openMenu = "mobile")}
869
885
  class="inline-flex items-center justify-center border border-gray-200 bg-white p-2 text-gray-400 hover:bg-gray-100 hover:text-gray-500 focus:outline-none focus:ring-2 focus:ring-inset focus:ring-teci-blue-light"
870
- aria-expanded="{openMenu == 'mobile'}"
886
+ aria-expanded={openMenu == "mobile"}
871
887
  >
872
888
  <span class="sr-only">Open mobile menu</span>
873
889
 
@@ -883,24 +899,29 @@
883
899
  stroke-linecap="round"
884
900
  stroke-linejoin="round"
885
901
  stroke-width="2"
886
- d="M4 6h16M4 12h16M4 18h16"></path>
902
+ d="M4 6h16M4 12h16M4 18h16"
903
+ />
887
904
  </svg>
888
905
  </button>
889
906
  </div>
890
907
  </div>
891
908
 
892
909
  <!-- Mobile menu, show/hide based on mobile menu state.-->
893
- {#if openMenu == 'mobile'}
910
+ {#if openMenu == "mobile"}
894
911
  <div
895
912
  class="absolute inset-x-0 top-0 z-30 divide-y-2 divide-gray-50 bg-white shadow-lg ring-1 ring-black ring-opacity-5 md:hidden"
896
913
  use:clickOutside
897
- on:outclick="{() => (openMenu = '')}"
898
- in:slide="{{ duration: 250, easing: cubicOut }}"
899
- out:slide="{{ duration: 150, easing: cubicIn }}"
914
+ on:outclick={() => (openMenu = "")}
915
+ in:slide={{ duration: 250, easing: cubicOut }}
916
+ out:slide={{ duration: 150, easing: cubicIn }}
900
917
  >
901
918
  <div class="px-4 pt-5 pb-6 sm:pb-8">
902
919
  <div class="flex items-center justify-between">
903
- <a on:click="{() => (openMenu = '')}" class="block" href="https://www.thunderheadeng.com">
920
+ <a
921
+ on:click={() => (openMenu = "")}
922
+ class="block"
923
+ href="https://www.thunderheadeng.com"
924
+ >
904
925
  <img
905
926
  class="h-10 w-auto"
906
927
  src="https://files.thunderheadeng.com/www/images/teci_logo.svg"
@@ -910,7 +931,7 @@
910
931
 
911
932
  <button
912
933
  type="button"
913
- on:click="{() => (openMenu = '')}"
934
+ on:click={() => (openMenu = "")}
914
935
  class="inline-flex items-center justify-center border border-gray-200 bg-white p-2 text-gray-400 hover:bg-gray-100 hover:text-gray-500 focus:outline-none focus:ring-2 focus:ring-inset focus:ring-teci-blue-light"
915
936
  >
916
937
  <span class="sr-only">Close menu</span>
@@ -927,11 +948,12 @@
927
948
  stroke-linecap="round"
928
949
  stroke-linejoin="round"
929
950
  stroke-width="2"
930
- d="M6 18L18 6M6 6l12 12"></path>
951
+ d="M6 18L18 6M6 6l12 12"
952
+ />
931
953
  </svg>
932
954
  </button>
933
955
  </div>
934
- <div on:click="{() => (openMenu = '')}" class="mt-6 sm:mt-8">
956
+ <button on:click={() => (openMenu = "")} class="mt-6 w-full sm:mt-8">
935
957
  <nav>
936
958
  <div class="grid gap-7 sm:grid-cols-2 sm:gap-y-8 sm:gap-x-4">
937
959
  <a href="/" class="-m-3 flex items-center p-3 hover:bg-gray-50">
@@ -950,7 +972,7 @@
950
972
  stroke-linejoin="round"
951
973
  stroke-width="2"
952
974
  d="M19 11H5m14 0a2 2 0 012 2v6a2 2 0 01-2 2H5a2 2 0 01-2-2v-6a2 2 0 012-2m14 0V9a2 2 0 00-2-2M5 11V9a2 2 0 012-2m0 0V5a2 2 0 012-2h6a2 2 0 012 2v2M7 7h10"
953
- ></path>
975
+ />
954
976
  </svg>
955
977
  </div>
956
978
  <div class="ml-4 text-base font-medium text-gray-900">
@@ -976,7 +998,7 @@
976
998
  stroke-linejoin="round"
977
999
  stroke-width="2"
978
1000
  d="M18.364 5.636l-3.536 3.536m0 5.656l3.536 3.536M9.172 9.172L5.636 5.636m3.536 9.192l-3.536 3.536M21 12a9 9 0 11-18 0 9 9 0 0118 0zm-5 0a4 4 0 11-8 0 4 4 0 018 0z"
979
- ></path>
1001
+ />
980
1002
  </svg>
981
1003
  </div>
982
1004
  <div class="ml-4 text-base font-medium text-gray-900">
@@ -1002,7 +1024,7 @@
1002
1024
  stroke-linejoin="round"
1003
1025
  stroke-width="2"
1004
1026
  d="M8 7V3m8 4V3m-9 8h10M5 21h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v12a2 2 0 002 2z"
1005
- ></path>
1027
+ />
1006
1028
  </svg>
1007
1029
  </div>
1008
1030
  <div class="ml-4 text-base font-medium text-gray-900">
@@ -1027,7 +1049,7 @@
1027
1049
  stroke-linejoin="round"
1028
1050
  stroke-width="2"
1029
1051
  d="M7 12l3-3 3 3 4-4M8 21l4-4 4 4M3 4h18M4 4h16v12a1 1 0 01-1 1H5a1 1 0 01-1-1V4z"
1030
- ></path></svg
1052
+ /></svg
1031
1053
  >
1032
1054
  </div>
1033
1055
  <div class="ml-4 text-base font-medium text-gray-900">
@@ -1053,7 +1075,7 @@
1053
1075
  stroke-linejoin="round"
1054
1076
  stroke-width="2"
1055
1077
  d="M14.828 14.828a4 4 0 01-5.656 0M9 10h.01M15 10h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"
1056
- ></path>
1078
+ />
1057
1079
  </svg>
1058
1080
  </div>
1059
1081
  <div class="ml-4 text-base font-medium text-gray-900">
@@ -1062,9 +1084,12 @@
1062
1084
  </a>
1063
1085
  </div>
1064
1086
  </nav>
1065
- </div>
1087
+ </button>
1066
1088
  </div>
1067
- <div on:click="{() => (openMenu = '')}" class="py-6 px-5">
1089
+ <button
1090
+ on:click={() => (openMenu = "")}
1091
+ class="w-full py-6 px-5 text-left"
1092
+ >
1068
1093
  <div class="grid grid-cols-2 gap-4">
1069
1094
  <div class="flow-root">
1070
1095
  <a
@@ -1083,7 +1108,7 @@
1083
1108
  stroke-linejoin="round"
1084
1109
  stroke-width="2"
1085
1110
  d="M11 5.882V19.24a1.76 1.76 0 01-3.417.592l-2.147-6.15M18 13a3 3 0 100-6M5.436 13.683A4.001 4.001 0 017 6h1.832c4.1 0 7.625-1.234 9.168-3v14c-1.543-1.766-5.067-3-9.168-3H7a3.988 3.988 0 01-1.564-.317z"
1086
- ></path>
1111
+ />
1087
1112
  </svg>
1088
1113
  <span class="ml-3">News</span>
1089
1114
  </a>
@@ -1105,7 +1130,7 @@
1105
1130
  stroke-linejoin="round"
1106
1131
  stroke-width="2"
1107
1132
  d="M9 12h6m-6 4h6m2 5H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z"
1108
- ></path>
1133
+ />
1109
1134
  </svg>
1110
1135
  <span class="ml-3">Release Notes</span>
1111
1136
  </a>
@@ -1127,7 +1152,7 @@
1127
1152
  stroke-linejoin="round"
1128
1153
  stroke-width="2"
1129
1154
  d="M3 3h2l.4 2M7 13h10l4-8H5.4M7 13L5.4 5M7 13l-2.293 2.293c-.63.63-.184 1.707.707 1.707H17m0 0a2 2 0 100 4 2 2 0 000-4zm-8 2a2 2 0 11-4 0 2 2 0 014 0z"
1130
- ></path>
1155
+ />
1131
1156
  </svg>
1132
1157
  <span class="ml-3">Order Online</span>
1133
1158
  </a>
@@ -1148,7 +1173,8 @@
1148
1173
  stroke-linecap="round"
1149
1174
  stroke-linejoin="round"
1150
1175
  stroke-width="2"
1151
- d="M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z"></path>
1176
+ d="M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z"
1177
+ />
1152
1178
  </svg>
1153
1179
  <span class="ml-3">30-day Trial</span>
1154
1180
  </a>
@@ -1170,7 +1196,7 @@
1170
1196
  stroke-linejoin="round"
1171
1197
  stroke-width="2"
1172
1198
  d="M3 8l7.89 5.26a2 2 0 002.22 0L21 8M5 19h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v10a2 2 0 002 2z"
1173
- ></path>
1199
+ />
1174
1200
  </svg>
1175
1201
  <span class="ml-3">Sales</span>
1176
1202
  </a>
@@ -1192,13 +1218,13 @@
1192
1218
  stroke-linejoin="round"
1193
1219
  stroke-width="2"
1194
1220
  d="M3 8l7.89 5.26a2 2 0 002.22 0L21 8M5 19h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v10a2 2 0 002 2z"
1195
- ></path>
1221
+ />
1196
1222
  </svg>
1197
1223
  <span class="ml-3">Support</span>
1198
1224
  </a>
1199
1225
  </div>
1200
1226
  </div>
1201
- </div>
1227
+ </button>
1202
1228
  </div>
1203
1229
  {/if}
1204
1230
  </header>