Merge branch 'v2' of https://git.server.flayks.com/cetrucflotte/housesof into v2
# Conflicts: # src/routes/photos.svelte
This commit is contained in:
11
src/components/atoms/DiscoverText.svelte
Normal file
11
src/components/atoms/DiscoverText.svelte
Normal file
@@ -0,0 +1,11 @@
|
||||
<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} cities</strong>
|
||||
of <strong>{count.countries} countries</strong>
|
||||
</p>
|
||||
Reference in New Issue
Block a user