tecitheme 0.14.5 → 0.15.0

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.
@@ -52,7 +52,9 @@
52
52
  <a class="relative flex h-full flex-col overflow-hidden shadow ring-1 ring-black/5 {item.url ? "hover:scale-105 transition ease-in-out delay-75" : ""}" href={item.url} rel="external">
53
53
 
54
54
  <!-- Image -->
55
- <img class="h-80 object-cover object-left mask-image-b mask-image-start-90 mask-image-end-100" src={getTeciImageURL(item.image.url)} alt={item.image.alt}>
55
+ {#if item.image}
56
+ <img class="h-80 object-cover object-left mask-image-b mask-image-start-90 mask-image-end-100" src={getTeciImageURL(item.image.url)} alt={item.image.alt}>
57
+ {/if}
56
58
 
57
59
  <!-- Text -->
58
60
  <div class="p-10 pt-4">
@@ -211,9 +211,11 @@
211
211
  </div>
212
212
 
213
213
  <!-- Call to Action -->
214
- {#if card.cta}
215
- <a href={card.cta.href} class="py-2 lg:px-3 sm:px-12 text-center text-sm font-semibold leading-6 {getColorStyles("button", card.highlightOption ? "white" : data.color)}">{card.cta.text}</a>
216
- {/if}
214
+ <div class="flex flex-col space-y-2">
215
+ {#each card.cta as cta}
216
+ <a href={cta.href} class="py-2 lg:px-3 sm:px-12 text-center text-sm font-semibold leading-6 {getColorStyles("button", card.highlightOption ? "white" : data.color)}">{cta.text}</a>
217
+ {/each}
218
+ </div>
217
219
  </div>
218
220
 
219
221
  <!-- Highlighted Features -->
@@ -208,7 +208,7 @@
208
208
  Ventus
209
209
  </p>
210
210
  <p class="mt-1 text-sm">
211
- Create 3D pressurization models of smoke control solutions for stairwells, atria, and underground spaces.
211
+ Build fast Pressure Zone models for buildings, including stairwells, shafts, atriums and underground facilities.
212
212
  </p>
213
213
  </div>
214
214
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tecitheme",
3
- "version": "0.14.5",
3
+ "version": "0.15.0",
4
4
  "license": "MIT",
5
5
  "scripts": {
6
6
  "dev": "vite dev",