tecitheme 0.14.0 → 0.14.1
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.
|
@@ -107,13 +107,6 @@
|
|
|
107
107
|
<!-- Image -->
|
|
108
108
|
<div id={id + "image"} class="relative mt-12 sm:mt-16 lg:mt-0 {textPosition == "left" ? "" : "lg:col-start-1"}"
|
|
109
109
|
>
|
|
110
|
-
{#if !$scrollTargetVisible}
|
|
111
|
-
<div
|
|
112
|
-
out:fly={{ delay: 0, duration: 500, easing: cubicInOut, x: textPosition == "left" ? '100%' : '-100%' }}
|
|
113
|
-
class="absolute top-0 bottom-0 w-full bg-gray-200 animate-pulse my-16"
|
|
114
|
-
>
|
|
115
|
-
</div>
|
|
116
|
-
{/if}
|
|
117
110
|
{#if $scrollTargetVisible}
|
|
118
111
|
<div
|
|
119
112
|
class="{textPosition == "left" ? "-mr-48 pl-6 md:-mr-16" : "-ml-48 pr-6 md:-ml-16"} lg:relative lg:m-0 lg:h-full lg:px-0"
|
|
@@ -122,6 +115,12 @@
|
|
|
122
115
|
>
|
|
123
116
|
<img class="w-full shadow-xl ring-1 ring-black/5 lg:absolute {textPosition == "left" ? "lg:left-0" : "right-0"} lg:h-full lg:w-auto lg:max-w-none" src="https://files.thunderheadeng.com/www/images/{image.url}?fmt=auto" alt={image.alt}>
|
|
124
117
|
</div>
|
|
118
|
+
{:else}
|
|
119
|
+
<div
|
|
120
|
+
out:fly={{ delay: 0, duration: 500, easing: cubicInOut, x: textPosition == "left" ? '100%' : '-100%' }}
|
|
121
|
+
class="absolute top-0 bottom-0 w-full bg-gray-200 animate-pulse my-16"
|
|
122
|
+
>
|
|
123
|
+
</div>
|
|
125
124
|
{/if}
|
|
126
125
|
</div>
|
|
127
126
|
</div>
|