Use text content from API

This commit is contained in:
2021-10-02 20:35:49 +02:00
parent 717d100d76
commit 7376595b5e
3 changed files with 5 additions and 3 deletions

View File

@@ -11,7 +11,7 @@
export let photos: any
const { location, count }: any = getContext('global')
const { settings, location, count }: any = getContext('global')
</script>
<Metas
@@ -23,7 +23,7 @@
<main class="homepage">
<section class="homepage__intro">
<h1 class="title-huge">Houses</h1>
<p class="text-medium">Houses Of is a project that showcases houses of character around the world.</p>
<p class="text-medium">{settings.description}</p>
<Button text="Explore locations" url="#">
<img src="/images/icons/globe.svg" alt="explore globe">
</Button>