diff --git a/dockerfile b/dockerfile
index a3ddff1..2a7c984 100644
--- a/dockerfile
+++ b/dockerfile
@@ -9,4 +9,5 @@ COPY . ./
RUN npm run build
FROM nginx:alpine-slim
-COPY --from=build /app/build /usr/share/nginx/html
\ No newline at end of file
+COPY --from=build /app/build /usr/share/nginx/html
+RUN chown -R nginx:nginx /usr/share/nginx/html
\ No newline at end of file
diff --git a/src/routes/more/+page.svelte b/src/routes/more/+page.svelte
index cd22d46..198751c 100644
--- a/src/routes/more/+page.svelte
+++ b/src/routes/more/+page.svelte
@@ -5,6 +5,7 @@
const links = [
{title: "Your Data", path: "/more/data"},
+ {title: "Registration", path: "/more/reg"},
{title: "Location Reference Code Lookup", path: "/more/corpus"},
{title: "Reason Code Lookup", path: "/more/reasons"},
{title: "Privacy Policy", path: "/more/privacy"},
diff --git a/src/routes/more/reg/+page.svelte b/src/routes/more/reg/+page.svelte
new file mode 100644
index 0000000..a183683
--- /dev/null
+++ b/src/routes/more/reg/+page.svelte
@@ -0,0 +1,110 @@
+
+
+{#if isLoading}
+
The staff version of OwlBoard offers several extra features:
+To register, you will need to enter a work email address to receive a confirmation email
+An email has been sent, click the link in the email to activate your profile.
+When you click the link, your authorisation key will be automatically be stored in your browser.
+If you use multiple browsers, you will only be logged in using the browser you open the link with.
+You will be able to register again using the same email address
+{:else if state == "unauth"} +The email address you entered does not belong to an authorised business.
+If you think this is an error, you can report an issue in the 'More' menu.
+{:else if state == "error"} +There was an error processing your request.
+Check that the email you entered was correct or try again later.
+{:else if state == "reg"} +You are already registered for OwlBoard
+{/if} + + + \ No newline at end of file diff --git a/src/routes/more/reg/submit/+page.svelte b/src/routes/more/reg/submit/+page.svelte new file mode 100644 index 0000000..21a8ae7 --- /dev/null +++ b/src/routes/more/reg/submit/+page.svelte @@ -0,0 +1,72 @@ + +Unable to read your access key.
+Please click the link in your email again.
+{:else if state == "unauth"} +Your link is not valid, links expire after 30 minutes.
+You can try to register again.
+{:else if state == "error"} +There was an error on our end, please try again later
+{:else if state == "done"} +You are now logged in
+{/if} + \ No newline at end of file