Skip to content

Commit

Permalink
Add the links to the tutorial pages
Browse files Browse the repository at this point in the history
  • Loading branch information
Peter York committed Dec 10, 2024
1 parent 1e40258 commit eeb007a
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
12 changes: 9 additions & 3 deletions src/pages/LandingPage.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,9 @@
import "../style/main.css";
// @ts-expect-error no declarations
import { initAll } from "govuk-frontend";
import { DefaultButton } from "govuk-svelte";
import { DefaultButton, SecondaryButton } from "govuk-svelte";
import About from "lib/common/About.svelte";
import { SecondaryButton } from "govuk-svelte";
import { Beta, Header } from "lib/common";
import { Beta, ExternalLink, Header } from "lib/common";
import { onMount } from "svelte";
let showAbout = false;
Expand Down Expand Up @@ -38,6 +37,13 @@
files that can be shared with others using this tool or imported into other
GIS software.
</p>
<h3>Tutorial</h3>
<p>
<ExternalLink href="https://www.youtube.com/watch?v=6u2lK8xzQfM">
Here
</ExternalLink> is a tutorial explaining the use of the scheme sketcher for all
users, including guidance at those submitting sketches for ATE review.
</p>
<DefaultButton on:click={goToSketcher}>Start</DefaultButton>

<h2>Browse existing sketches and geographic context:</h2>
Expand Down
2 changes: 2 additions & 0 deletions src/pages/SketchSchemes.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
import { writable } from "svelte/store";
import { emptySchemes } from "scheme-sketcher-lib/draw/stores";
import { getKey } from "lib/common/files";
import ExternalLink from "lib/common/ExternalLink.svelte";
// FileManagement will set this up
let gjSchemes = writable(emptySchemes(cfg));
Expand Down Expand Up @@ -90,6 +91,7 @@
</div>

<h2 style="margin-bottom: 0px">Scheme Sketcher</h2>
<ExternalLink href="https://www.youtube.com/watch?v=6u2lK8xzQfM">Tutorial</ExternalLink>
{/if}

<FileManagement {gjSchemes} {authority} {filename} />
Expand Down

0 comments on commit eeb007a

Please sign in to comment.