Add line break to pages content

This commit is contained in:
2022-10-11 14:41:43 +02:00
parent a927b358d7
commit d8237bfbdc
8 changed files with 10 additions and 5 deletions

View File

@@ -34,6 +34,7 @@
title="{errors[$page.status].title} Houses Of"
/>
<PageTransition>
<main class="page-error">
<div class="page-error__top">

View File

@@ -82,6 +82,7 @@
/>
<!-- image={getAssetUrlKey(settings.seo_image.id, 'share-image')} -->
<PageTransition>
<main class="homepage">
<section class="homepage__intro"

View File

@@ -210,13 +210,15 @@
})
</script>
<svelte:window bind:scrollY />
<Metas
title="Houses Of {location.name}"
description="Discover {totalPhotos} beautiful homes from {location.name}, {location.country.name}"
image={latestPhoto ? getAssetUrlKey(latestPhoto.image.id, 'share-image') : null}
/>
<svelte:window bind:scrollY />
<PageTransition>
<main class="location-page">

View File

@@ -291,10 +291,7 @@
})
</script>
<svelte:window
bind:innerWidth
on:keydown={handleKeydown}
/>
<svelte:window bind:innerWidth on:keydown={handleKeydown} />
{#if currentPhoto}
<Metas

View File

@@ -180,6 +180,7 @@
image={about.seo_image ? getAssetUrlKey(about.seo_image.id, 'share-image') : null}
/>
<PageTransition>
<main class="about">
<Banner

View File

@@ -66,6 +66,7 @@
description={data.credits.text}
/>
<PageTransition>
<main class="credits">
<Heading

View File

@@ -23,6 +23,7 @@
image=""
/>
<PageTransition>
<main class="explore">
<Heading {text} />

View File

@@ -65,6 +65,7 @@
description="Subscribe to the Houses Of newsletter to be notified when new photos or locations are added to the site and when more prints are available on our shop"
/>
<PageTransition>
<main class="subscribe">
<div class="subscribe__top">