tecitheme 0.0.19 → 0.0.20
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.
- package/components/CTA.svelte +18 -20
- package/components/Header.svelte +1044 -534
- package/components/HeadingCentered.svelte +22 -22
- package/components/MediaFeature.svelte +6 -4
- package/components/MetaSocial.svelte +28 -0
- package/components/MetaSocial.svelte.d.ts +29 -0
- package/components/NewsGrid.svelte +70 -38
- package/components/SidebarContent.svelte +4 -2
- package/components/ThreeColumn.svelte +2 -2
- package/layouts/blocks.svelte +13 -0
- package/layouts/blocks.svelte.d.ts +4 -2
- package/package.json +16 -18
package/components/CTA.svelte
CHANGED
|
@@ -3,26 +3,24 @@
|
|
|
3
3
|
</script>
|
|
4
4
|
|
|
5
5
|
<!-- This example requires Tailwind CSS v2.0+ -->
|
|
6
|
-
<section class="mb-12">
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
<a href={link.linkURL} class="btn w-full inline-flex items-center px-5 py-3 text-base">{link.linkText}</a>
|
|
23
|
-
</div>
|
|
24
|
-
{/each}
|
|
6
|
+
<section class="mb-12 mx-auto text-center px-4 sm:px-6 lg:px-8">
|
|
7
|
+
{#if data.title}
|
|
8
|
+
<h2 class="{ data.subtitle ? 'mb-4' : 'mb-8'} text-3xl font-bold tracking-tight text-gray-900 sm:text-4xl">
|
|
9
|
+
<span class="block">{data.title}</span>
|
|
10
|
+
</h2>
|
|
11
|
+
{/if}
|
|
12
|
+
{#if data.subtitle}
|
|
13
|
+
<h3 class="mb-8 text-xl font-bold tracking-tight text-teci-blue-dark">
|
|
14
|
+
<span class="block">{data.subtitle}</span>
|
|
15
|
+
</h3>
|
|
16
|
+
{/if}
|
|
17
|
+
{#if data.links}
|
|
18
|
+
<div class="flex flex-col space-x-0 space-y-8 justify-center items-center md:space-x-8 md:space-y-0 md:flex-row md:justify-around">
|
|
19
|
+
{#each data.links as link}
|
|
20
|
+
<div class="inline-flex shadow-sm w-full max-w-xs">
|
|
21
|
+
<a href={link.linkURL} class="btn w-full inline-flex items-center px-5 py-3 text-base">{link.linkText}</a>
|
|
25
22
|
</div>
|
|
26
|
-
{/
|
|
23
|
+
{/each}
|
|
27
24
|
</div>
|
|
25
|
+
{/if}
|
|
28
26
|
</section>
|