Linting.
This commit is contained in:
parent
8426998e77
commit
6718287a65
|
@ -29,11 +29,19 @@
|
||||||
class="container"
|
class="container"
|
||||||
use:styleable={$component.styles}
|
use:styleable={$component.styles}
|
||||||
style="--cardWidth: {cardWidth}">
|
style="--cardWidth: {cardWidth}">
|
||||||
{#if showImage}<img style="--imageWidth: {imageWidth}; --imageHeight: {imageHeight}" class="image" src={imageUrl} alt="" />{/if}
|
{#if showImage}
|
||||||
|
<img
|
||||||
|
style="--imageWidth: {imageWidth}; --imageHeight: {imageHeight}"
|
||||||
|
class="image"
|
||||||
|
src={imageUrl}
|
||||||
|
alt="" />
|
||||||
|
{/if}
|
||||||
<div class="content">
|
<div class="content">
|
||||||
<h2 class="heading">{heading}</h2>
|
<h2 class="heading">{heading}</h2>
|
||||||
<h4 class="text">{description}</h4>
|
<h4 class="text">{description}</h4>
|
||||||
<a style="--linkColor: {linkColor}; --linkHoverColor: {linkHoverColor}" href={linkUrl}>{linkText}</a>
|
<a
|
||||||
|
style="--linkColor: {linkColor}; --linkHoverColor: {linkHoverColor}"
|
||||||
|
href={linkUrl}>{linkText}</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -24,7 +24,13 @@
|
||||||
use:styleable={$component.styles}
|
use:styleable={$component.styles}
|
||||||
class="container"
|
class="container"
|
||||||
style="--cardWidth: {cardWidth}">
|
style="--cardWidth: {cardWidth}">
|
||||||
{#if showImage}<img style="--imageWidth: {imageWidth}; --imageHeight: {imageHeight}" class="image" src={imageUrl} alt="" />{/if}
|
{#if showImage}
|
||||||
|
<img
|
||||||
|
style="--imageWidth: {imageWidth}; --imageHeight: {imageHeight}"
|
||||||
|
class="image"
|
||||||
|
src={imageUrl}
|
||||||
|
alt="" />
|
||||||
|
{/if}
|
||||||
<div class="content">
|
<div class="content">
|
||||||
<main>
|
<main>
|
||||||
<h2 class="heading">{heading}</h2>
|
<h2 class="heading">{heading}</h2>
|
||||||
|
@ -32,7 +38,9 @@
|
||||||
</main>
|
</main>
|
||||||
<footer>
|
<footer>
|
||||||
<p class="subtext">{subtext}</p>
|
<p class="subtext">{subtext}</p>
|
||||||
<a style="--linkColor: {linkColor}; --linkHoverColor: {linkHoverColor}" href={linkUrl}>{linkText}</a>
|
<a
|
||||||
|
style="--linkColor: {linkColor}; --linkHoverColor: {linkHoverColor}"
|
||||||
|
href={linkUrl}>{linkText}</a>
|
||||||
</footer>
|
</footer>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue