Skip to content

Commit

Permalink
Put privacy statement at bottom of landing page
Browse files Browse the repository at this point in the history
  • Loading branch information
Peter York committed Nov 26, 2024
1 parent ac2a36a commit 3db1411
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 20 deletions.
13 changes: 0 additions & 13 deletions src/lib/common/PrivacyStatement.svelte

This file was deleted.

13 changes: 6 additions & 7 deletions src/pages/LandingPage.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,11 @@
import { initAll } from "govuk-frontend";
import { AlphaBanner, DefaultButton } from "govuk-svelte";
import About from "lib/common/About.svelte";
import PrivacyStatement from "lib/common/PrivacyStatement.svelte";
import { SecondaryButton } from "govuk-svelte";
import { Header } from "lib/common";
import { ExternalLink, Header } from "lib/common";
import { onMount } from "svelte";
let showAbout = false;
let showPrivacyStatement = false;
onMount(async () => {
// For govuk components. Must happen here.
Expand All @@ -36,10 +34,6 @@
</SecondaryButton>
<About bind:open={showAbout} />

<SecondaryButton on:click={() => (showPrivacyStatement = true)}>
Privacy Statement
</SecondaryButton>
<PrivacyStatement bind:open={showPrivacyStatement} />

<h2>Sketch Your Scheme:</h2>
<p>
Expand All @@ -64,4 +58,9 @@
</a>
.
</p>

<h3>Privacy Statement</h3>
<p>
Plan Your Active Travel Schemes only stores your sketches, which contain no personal data. These sketches are stored in your browser's local storage and not sent over the network. We collect server-side logs to track usage and comply with auditing and security requirements. This tool uses MapTiler, an external service, for hosting maps and location search; please refer also to their <ExternalLink href="https://www.maptiler.com/privacy-policy/">privacy policy</ExternalLink>.
</p>
</div>

0 comments on commit 3db1411

Please sign in to comment.