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" title="{errors[$page.status].title} Houses Of"
/> />
<PageTransition> <PageTransition>
<main class="page-error"> <main class="page-error">
<div class="page-error__top"> <div class="page-error__top">

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -23,6 +23,7 @@
image="" image=""
/> />
<PageTransition> <PageTransition>
<main class="explore"> <main class="explore">
<Heading {text} /> <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" 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> <PageTransition>
<main class="subscribe"> <main class="subscribe">
<div class="subscribe__top"> <div class="subscribe__top">