2026-05-02 08:26:18 +12:00
|
|
|
<script lang="ts">
|
|
|
|
|
import Icon from '$lib/components/Icon.svelte';
|
|
|
|
|
import type { IntroContent } from '$lib/types';
|
|
|
|
|
|
|
|
|
|
export let intro: IntroContent;
|
|
|
|
|
|
|
|
|
|
const stars = Array.from({ length: 5 });
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
<div id="intro">
|
2026-05-02 08:53:36 +12:00
|
|
|
<div class="intro-inner">
|
|
|
|
|
<div class="intro-trust-badge">
|
2026-05-03 11:16:53 +12:00
|
|
|
<a
|
|
|
|
|
class="intro-trust-mark intro-trust-mark-link"
|
|
|
|
|
href={intro.reviewCta.href}
|
|
|
|
|
target="_blank"
|
|
|
|
|
rel="noopener"
|
|
|
|
|
aria-label="Read our Google reviews"
|
|
|
|
|
>
|
|
|
|
|
<img
|
|
|
|
|
class="intro-google-logo"
|
|
|
|
|
src="/images/google-g-logo.svg"
|
|
|
|
|
alt=""
|
|
|
|
|
width="28"
|
|
|
|
|
height="29"
|
|
|
|
|
/>
|
|
|
|
|
</a>
|
2026-05-02 08:26:18 +12:00
|
|
|
|
2026-05-02 08:53:36 +12:00
|
|
|
<div class="intro-trust-copy">
|
2026-05-15 01:28:10 +12:00
|
|
|
<p>
|
|
|
|
|
<span class="intro-trust-copy-desktop">{intro.text}</span>
|
|
|
|
|
<span class="intro-trust-copy-mobile">30+ 5-star Google reviews. Small & medium dog specialists in Auckland.</span>
|
|
|
|
|
</p>
|
2026-05-02 08:26:18 +12:00
|
|
|
|
2026-05-02 08:53:36 +12:00
|
|
|
<div class="intro-trust-meta">
|
|
|
|
|
<div class="intro-trust-stars" aria-label="5 star rating">
|
|
|
|
|
{#each stars as _, index}
|
|
|
|
|
<Icon name="fas fa-star" className={`intro-star intro-star-${index + 1}`} />
|
|
|
|
|
{/each}
|
|
|
|
|
</div>
|
2026-05-02 08:26:18 +12:00
|
|
|
|
2026-05-03 11:16:53 +12:00
|
|
|
<a class="intro-trust-cta" href={intro.reviewCta.href} target="_blank" rel="noopener">
|
2026-05-02 08:53:36 +12:00
|
|
|
{intro.reviewCta.label}
|
|
|
|
|
</a>
|
|
|
|
|
</div>
|
2026-05-02 08:26:18 +12:00
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|