From 8bd6454b67e85e4cd1167363efd9d140f522d6ab Mon Sep 17 00:00:00 2001 From: Fred Boniface Date: Thu, 29 Jun 2023 22:01:55 +0100 Subject: [PATCH] Tidy general styling and introduce overlay --- src/app.css | 5 +-- src/lib/islands/island.svelte | 1 + src/lib/islands/overlay-island.svelte | 1 + src/lib/ldb/alert-bar.svelte | 6 ++-- src/lib/navigation/header.svelte | 1 + src/lib/overlays/welcome.svelte | 49 +++++++++++++++++++++++++++ src/routes/+page.svelte | 7 +++- src/routes/more/privacy/+page.svelte | 47 ++++++++----------------- src/routes/more/reg/+page.svelte | 15 ++++++-- src/routes/pis/+page.svelte | 1 + 10 files changed, 91 insertions(+), 42 deletions(-) create mode 100644 src/lib/overlays/welcome.svelte diff --git a/src/app.css b/src/app.css index 9571ac8..9e8445f 100644 --- a/src/app.css +++ b/src/app.css @@ -59,7 +59,7 @@ body { background-color: var(--main-bg-color); background-image: radial-gradient(var(--second-bg-color), var(--main-bg-color)); - color: var(--main-text-color); + color: var(--second-text-color); font-family: urwgothic, sans-serif; text-align: center; padding-bottom: 60px; /*Footer height*/ @@ -67,9 +67,6 @@ a { color: var(--link-color) } - p { - color: var(--second-text-color) - } button:hover { cursor: pointer; } \ No newline at end of file diff --git a/src/lib/islands/island.svelte b/src/lib/islands/island.svelte index d833844..f9b151a 100644 --- a/src/lib/islands/island.svelte +++ b/src/lib/islands/island.svelte @@ -12,6 +12,7 @@ span { font-family: urwgothic, 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif; font-weight: 600; font-size: 20px; + color: var(--main-text-color) } div { width: 85%; diff --git a/src/lib/islands/overlay-island.svelte b/src/lib/islands/overlay-island.svelte index 20199ec..17a8a39 100644 --- a/src/lib/islands/overlay-island.svelte +++ b/src/lib/islands/overlay-island.svelte @@ -12,6 +12,7 @@ \ No newline at end of file diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte index 7f96f68..e520060 100644 --- a/src/routes/+page.svelte +++ b/src/routes/+page.svelte @@ -3,6 +3,7 @@ import Nav from '$lib/navigation/nav.svelte' import InputIsland from '$lib/islands/input-island-form.svelte' import QuickLinkIsland from '$lib/islands/quick-link-island.svelte'; + import Welcome from '$lib/overlays/welcome.svelte'; const title = "OwlBoard" const inputIslands = [ @@ -19,10 +20,14 @@ const inputIslands = [ queryName: "headcode" } ] -const variables = {title: "test",action:"/", placeholder:"test",queryName:"test"} + +const isWelcomed = "false"; // Usually a bool - is incomplete so should be hidden for now. +{#if !isWelcomed} + +{/if}
{#each inputIslands as variables} diff --git a/src/routes/more/privacy/+page.svelte b/src/routes/more/privacy/+page.svelte index 9947f09..da435a5 100644 --- a/src/routes/more/privacy/+page.svelte +++ b/src/routes/more/privacy/+page.svelte @@ -6,38 +6,21 @@
-
-

OwlBoard stores as little data as possible to offer its functions for you to use. - OwlBoard does not use any cookies. To see the exact data that we store go to My Data. -

-

Owlboard does not log IP addresses or browser fingerprints.

-

If you do not sign up

-

If you do not sign up, no personal data is processed or stored unless you report an issue. - Any personal settings are stored in your browser and do not leave your device. -

-

If you do sign up

-

If you do sign up for the rail staff version of OwlBoard, then we do need to store some data - but none of it can be used to personally identify you. Any personal settings are stored in your - browser and do not leave your device. -

-

When you sign up, you will need to provide a work email address which is checked to confirm that - it originates from a railway company. You are then sent an email with a registration link, OwlBoard - at this point, the username portion of the email address is discarted - for example 'a-user@owlboard.info' - would be stored at 'owlboard.info'. This host part of your email address is stored so that the data that - is displayed to you can be filtered, showing relevent results more prominently. -

-

The email-server may store the address and message content per it's usual operation and you consent to this - when you sign up. -

-

Alongside the host poriton of your email address, we store a randomly generated UUID which is used to authorize - access to the rail staff data. -

-

Reporting an Issue

-

When you report an issue, some data is collected - This data is: your browsers User Agent string and the size of the window you - are viewing the website in.

-

Any data that is submitted when you report an issue will be publically viewable alongside the - OwlBoard/backend git repository.

-
+
+

OwlBoard stores the minimum amount of data necessary to provide its functions for your use. No personal data is stored unless you report an issue. To review the specific data that we store, please visit My Data.

+

OwlBoard does not utilize any cookies. IP addresses and browser fingerprints are not logged.

+

If You Do Not Sign Up

+

If you choose not to sign up, no personal data will be processed or stored unless you report an issue. Any personal settings are stored locally in your browser and do not leave your device.

+

If You Sign Up

+

If you sign up for the rail staff version of OwlBoard, we do require the storage of some data. However, none of this data can be used to personally identify you. Any personal settings are stored locally in your browser and do not leave your device.

+

During the sign-up process, you will be asked to provide a work email address, which will be checked to confirm its origin from a railway company. Once confirmed, an email containing a registration link will be sent to you. At this point, the username portion of your email address is discarded. For example, if your email address is 'a-user@owlboard.info', only 'owlboard.info' will be stored. This host portion of your email address is stored to filter and display relevant results prominently.

+

The email server may store the address and message content as part of its regular operation, and your consent to this is implied when you sign up.

+

In addition to the host portion of your email address, a randomly generated UUID is stored for the purpose of authorizing access to the rail staff data.

+

Reporting an Issue

+

When you report an issue, certain data is collected, including your browser's User Agent string and the size of the window in which you are viewing the website.

+

Any data submitted when reporting an issue will be publicly viewable alongside the OwlBoard/backend git repository.

+
+