Files
housesof/apps/website/src/components/atoms/DiscoverText.svelte
2023-02-10 17:28:54 +01:00

16 lines
375 B
Svelte

<style lang="scss">
@import "../../style/atoms/discover";
</style>
<script lang="ts">
import { getContext } from 'svelte'
const { count }: any = getContext('global')
</script>
<p class="discover">
Discover <strong>{count.photos} homes</strong><br>
from <strong>{count.locations} places</strong>
in <strong>{count.countries} countries</strong>
</p>