tecitheme 0.10.11 → 0.10.13

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.
@@ -11,7 +11,7 @@
11
11
 
12
12
  <section {id} class="relative {getColorStyles('background', data.color)}">
13
13
  <div class="h-56 sm:h-72 md:absolute md:left-0 md:h-full md:w-1/2">
14
- <img class="h-full w-full object-cover" src="https://teci.imgix.net/www/images/{data.image}?w=608&fit=clip&auto=compress&auto=format" alt="Image for {data.preheading}">
14
+ <img class="h-full w-full object-cover" src="https://files.thunderheadeng.com/www/images/{data.image}?w=608&fit=clip&auto=compress&auto=format" alt="Image for {data.preheading}">
15
15
  </div>
16
16
  <div class="relative mx-auto max-w-7xl py-12 px-6 lg:px-8 lg:py-16">
17
17
  <div class="md:ml-auto md:w-1/2 md:pl-10">
@@ -11,10 +11,10 @@ import Button from './Button.svelte'
11
11
 
12
12
  if (data.image) {
13
13
  if (data.image.includes("gif")) {
14
- backgroundImage = "https://teci.imgix.net/www/images/" + data.image;
14
+ backgroundImage = "https://files.thunderheadeng.com/www/images/" + data.image;
15
15
  } else {
16
16
  backgroundImage =
17
- "https://teci.imgix.net/www/images/" +
17
+ "https://files.thunderheadeng.com/www/images/" +
18
18
  data.image +
19
19
  "?w=698&h=392&fit=crop&auto=compress&auto=format";
20
20
  }
@@ -16,13 +16,13 @@
16
16
  figureImage = image;
17
17
  figureLink = link ? link : image;
18
18
  } else if (image.includes("gif")) {
19
- figureImage = "https://teci.imgix.net/www/images/" + image;
20
- figureLink = link ? link : "https://teci.imgix.net/www/images/" + image;
19
+ figureImage = "https://files.thunderheadeng.com/www/images/" + image;
20
+ figureLink = link ? link : "https://files.thunderheadeng.com/www/images/" + image;
21
21
  } else {
22
- figureImage = "https://teci.imgix.net/www/images/" +
22
+ figureImage = "https://files.thunderheadeng.com/www/images/" +
23
23
  image +
24
24
  "?auto=compress&auto=format";
25
- figureLink = link ? link : "https://teci.imgix.net/www/images/" + image;
25
+ figureLink = link ? link : "https://files.thunderheadeng.com/www/images/" + image;
26
26
  }
27
27
  </script>
28
28
 
@@ -69,11 +69,11 @@ import Icon from './Icon.svelte'
69
69
  </div>
70
70
  <div class="relative hidden md:block md:col-span-4 lg:col-span-5 xl:col-span-6">
71
71
  {#if data.video}
72
- <video src="https://teci.imgix.net/www/videos/{data.video}" autoplay="true" loop muted
72
+ <video src="https://files.thunderheadeng.com/www/videos/{data.video}" autoplay="true" loop muted
73
73
  class="absolute object-cover h-full w-full">
74
74
  </video>
75
75
  {:else if data.image}
76
- <img src="https://teci.imgix.net/www/images/{data.image}?fmt=auto" alt={data.heading}
76
+ <img src="https://files.thunderheadeng.com/www/images/{data.image}?fmt=auto" alt={data.heading}
77
77
  class="absolute object-cover h-full w-full"
78
78
  >
79
79
  {/if}
@@ -14,7 +14,7 @@
14
14
  <span {id} class="not-prose">
15
15
  <img
16
16
  class={classes}
17
- src="https://teci.imgix.net/www/images/pyrosim_icon.svg"
17
+ src="https://files.thunderheadeng.com/www/images/pyrosim_icon.svg"
18
18
  alt="PyroSim"
19
19
  title="PyroSim Icon"
20
20
  />
@@ -23,7 +23,7 @@
23
23
  <span {id} class="not-prose">
24
24
  <img
25
25
  class={classes}
26
- src="https://teci.imgix.net/www/images/pyrosim-results_icon.svg"
26
+ src="https://files.thunderheadeng.com/www/images/pyrosim-results_icon.svg"
27
27
  alt="PyroSim Results"
28
28
  title="PyroSim Results Icon"
29
29
  />
@@ -32,7 +32,7 @@
32
32
  <span {id} class="not-prose">
33
33
  <img
34
34
  class={classes}
35
- src="https://teci.imgix.net/www/images/pyrosim_logo.svg"
35
+ src="https://files.thunderheadeng.com/www/images/pyrosim_logo.svg"
36
36
  alt="PyroSim Logo"
37
37
  title="PyroSim Logo"
38
38
  />
@@ -41,7 +41,7 @@
41
41
  <span {id} class="not-prose">
42
42
  <img
43
43
  class={classes}
44
- src="https://teci.imgix.net/www/images/pathfinder_icon.svg"
44
+ src="https://files.thunderheadeng.com/www/images/pathfinder_icon.svg"
45
45
  alt="Pathfinder"
46
46
  title="Pathfinder Icon"
47
47
  />
@@ -50,7 +50,7 @@
50
50
  <span {id} class="not-prose">
51
51
  <img
52
52
  class={classes}
53
- src="https://teci.imgix.net/www/images/pathfinder-results_icon.svg"
53
+ src="https://files.thunderheadeng.com/www/images/pathfinder-results_icon.svg"
54
54
  alt="Pathfinder Results"
55
55
  title="Pathfinder Results Icon"
56
56
  />
@@ -59,7 +59,7 @@
59
59
  <span {id} class="not-prose">
60
60
  <img
61
61
  class={classes}
62
- src="https://teci.imgix.net/www/images/pathfinder_logo.svg"
62
+ src="https://files.thunderheadeng.com/www/images/pathfinder_logo.svg"
63
63
  alt="Pathfinder Logo"
64
64
  title="Pathfinder Logo"
65
65
  />
@@ -68,7 +68,7 @@
68
68
  <span {id} class="not-prose">
69
69
  <img
70
70
  class={classes}
71
- src="https://teci.imgix.net/www/images/ventus_icon.svg"
71
+ src="https://files.thunderheadeng.com/www/images/ventus_icon.svg"
72
72
  alt="Ventus"
73
73
  title="Ventus Icon"
74
74
  />
@@ -77,7 +77,7 @@
77
77
  <span {id} class="not-prose">
78
78
  <img
79
79
  class={classes}
80
- src="https://teci.imgix.net/www/images/ventus_logo.svg"
80
+ src="https://files.thunderheadeng.com/www/images/ventus_logo.svg"
81
81
  alt="Ventus Logo"
82
82
  title="Ventus Logo"
83
83
  />
@@ -86,7 +86,7 @@
86
86
  <span {id} class="not-prose">
87
87
  <img
88
88
  class={classes}
89
- src="https://teci.imgix.net/www/images/petrasim_icon.svg"
89
+ src="https://files.thunderheadeng.com/www/images/petrasim_icon.svg"
90
90
  alt="PetraSim"
91
91
  title="PetraSim Icon"
92
92
  />
@@ -95,7 +95,7 @@
95
95
  <span {id} class="not-prose">
96
96
  <img
97
97
  class={classes}
98
- src="https://teci.imgix.net/www/images/petrasim_logo.svg"
98
+ src="https://files.thunderheadeng.com/www/images/petrasim_logo.svg"
99
99
  alt="PetraSim Logo"
100
100
  title="PetraSim Logo"
101
101
  />
@@ -104,7 +104,7 @@
104
104
  <span {id} class="not-prose">
105
105
  <img
106
106
  class={classes}
107
- src="https://teci.imgix.net/www/images/teci_logo.svg"
107
+ src="https://files.thunderheadeng.com/www/images/teci_logo.svg"
108
108
  alt="Thunderhead Logo"
109
109
  title="Thunderhead Logo"
110
110
  />
@@ -17,18 +17,18 @@ import Video from './Video.svelte'
17
17
  figureImage = data.image;
18
18
  figureLink = data.link ? data.link : data.image;
19
19
  } else if (data.image.includes("gif")) {
20
- figureImage = "https://teci.imgix.net/www/images/" + data.image;
20
+ figureImage = "https://files.thunderheadeng.com/www/images/" + data.image;
21
21
  figureLink = data.link
22
22
  ? data.link
23
- : "https://teci.imgix.net/www/images/" + data.image;
23
+ : "https://files.thunderheadeng.com/www/images/" + data.image;
24
24
  } else {
25
25
  figureImage =
26
- "https://teci.imgix.net/www/images/" +
26
+ "https://files.thunderheadeng.com/www/images/" +
27
27
  data.image +
28
28
  "?w=576&ar=16:9&fit=crop&auto=compress&auto=format";
29
29
  figureLink = data.link
30
30
  ? data.link
31
- : "https://teci.imgix.net/www/images/" + data.image;
31
+ : "https://files.thunderheadeng.com/www/images/" + data.image;
32
32
  }
33
33
  }
34
34
  </script>
@@ -226,7 +226,7 @@
226
226
  <p class="text-base font-medium text-gray-400 px-4">{drop.text}</p>
227
227
  {#each drop.links as link}
228
228
  <a
229
- href={drop.url}
229
+ href={link.url}
230
230
  rel="external"
231
231
  class="flex items-start py-3 px-4 transition duration-150 ease-in-out hover:bg-gray-50"
232
232
  >
@@ -32,7 +32,7 @@
32
32
  </dl>
33
33
  </div>
34
34
  <figure>
35
- <img class="w-full" alt="{(data.imageAltText?data.imageAltText:data.heading)}" src="https://teci.imgix.net/www/images/{data.image}?w=1152&fit=crop&auto=compress&auto=format">
35
+ <img class="w-full" alt="{(data.imageAltText?data.imageAltText:data.heading)}" src="https://files.thunderheadeng.com/www/images/{data.image}?w=1152&fit=crop&auto=compress&auto=format">
36
36
  </figure>
37
37
  </div>
38
38
  </div>
@@ -89,7 +89,7 @@ import Icon from './Icon.svelte'
89
89
  <div class="hidden lg:block lg:flex-shrink-0">
90
90
  <img
91
91
  class="h-64 w-64 rounded-full xl:h-80 xl:w-80"
92
- src="https://teci.imgix.net/www/images/{quote.image}?w=320&fit=facearea,crop&facepad=3&monochrome=9B9B9B&auto=compress&auto=format"
92
+ src="https://files.thunderheadeng.com/www/images/{quote.image}?w=320&fit=facearea,crop&facepad=3&monochrome=9B9B9B&auto=compress&auto=format"
93
93
  alt="Image of {quote.fullname}"
94
94
  title="{quote.fullname}"
95
95
  />
@@ -129,7 +129,7 @@ import Icon from './Icon.svelte'
129
129
  <div class="flex-shrink-0 lg:hidden">
130
130
  <img
131
131
  class="h-12 w-12 rounded-full"
132
- src="https://teci.imgix.net/www/images/{quote.image}?w=48&fit=clip&monochrome=9B9B9B&auto=compress&auto=format"
132
+ src="https://files.thunderheadeng.com/www/images/{quote.image}?w=48&fit=clip&monochrome=9B9B9B&auto=compress&auto=format"
133
133
  alt="Thumbnail Image of {quote.fullname}"
134
134
  />
135
135
  </div>
@@ -47,7 +47,7 @@
47
47
  if (v) {
48
48
  if (v.includes("mp4")) {
49
49
  youtube = false;
50
- videoURL = `https://teci.imgix.net/www/videos/${v}`;
50
+ videoURL = `https://files.thunderheadeng.com/www/videos/${v}`;
51
51
  } else {
52
52
  youtube = true;
53
53
  videoID = v;
@@ -55,7 +55,7 @@
55
55
  } else if (data.v) {
56
56
  if (data.v.includes("mp4")) {
57
57
  youtube = false;
58
- videoURL = `https://teci.imgix.net/www/videos/${data.v}`;
58
+ videoURL = `https://files.thunderheadeng.com/www/videos/${data.v}`;
59
59
  } else {
60
60
  youtube = true;
61
61
  videoID = data.v;
@@ -66,9 +66,9 @@
66
66
  };
67
67
 
68
68
  if (thumbnail) {
69
- thumb = `https://teci.imgix.net/www/images/${thumbnail}?w=1214&fit=clip&auto=compress&auto=format`;
69
+ thumb = `https://files.thunderheadeng.com/www/images/${thumbnail}?w=1214&fit=clip&auto=compress&auto=format`;
70
70
  } else if (data.thumbnail) {
71
- thumb = `https://teci.imgix.net/www/images/${data.thumbnail}?w=1214&fit=clip&auto=compress&auto=format`;
71
+ thumb = `https://files.thunderheadeng.com/www/images/${data.thumbnail}?w=1214&fit=clip&auto=compress&auto=format`;
72
72
  } else if (videoID) {
73
73
  if (youtube) {
74
74
  thumb = `https://i.ytimg.com/vi/${videoID}/maxresdefault.jpg`;
@@ -58,9 +58,9 @@
58
58
  let featuredImage;
59
59
 
60
60
  if (image) {
61
- featuredImage = "https://teci.imgix.net/www/images/" + image + "?w=1200&h=627&fit=crop&auto=compress&auto=format";
61
+ featuredImage = "https://files.thunderheadeng.com/www/images/" + image + "?w=1200&h=627&fit=crop&auto=compress&auto=format";
62
62
  } else {
63
- featuredImage = "https://teci.imgix.net/www/images/teci_icon_250.png";
63
+ featuredImage = "https://files.thunderheadeng.com/www/images/teci_icon_250.png";
64
64
  }
65
65
 
66
66
  let pageNav = page_sections ? page_sections.filter(sect => sect.fieldGroup === "pageNav")[0] : undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tecitheme",
3
- "version": "0.10.11",
3
+ "version": "0.10.13",
4
4
  "license": "MIT",
5
5
  "scripts": {
6
6
  "dev": "vite dev",