🚧 Switch to monorepo with Turbo
This commit is contained in:
15
apps/website/src/components/atoms/DiscoverText.svelte
Normal file
15
apps/website/src/components/atoms/DiscoverText.svelte
Normal file
@@ -0,0 +1,15 @@
|
||||
<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>
|
||||
Reference in New Issue
Block a user