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

@@ -14,7 +14,7 @@
<div class="browse"> <div class="browse">
<div class="browse__description"> <div class="browse__description">
<p>Browse all the cities and countries</p> <p>{explore_list}</p>
</div> </div>
<ul class="browse__continents" role="navigation"> <ul class="browse__continents" role="navigation">

View File

@@ -67,6 +67,8 @@
seo_name seo_name
seo_title seo_title
seo_description seo_description
description
explore_list
limit_new limit_new
instagram instagram
footer_links footer_links

View File

@@ -11,7 +11,7 @@
export let photos: any export let photos: any
const { location, count }: any = getContext('global') const { settings, location, count }: any = getContext('global')
</script> </script>
<Metas <Metas
@@ -23,7 +23,7 @@
<main class="homepage"> <main class="homepage">
<section class="homepage__intro"> <section class="homepage__intro">
<h1 class="title-huge">Houses</h1> <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="#"> <Button text="Explore locations" url="#">
<img src="/images/icons/globe.svg" alt="explore globe"> <img src="/images/icons/globe.svg" alt="explore globe">
</Button> </Button>