From d7f6d957b7dd7af79a42afc419051d05d6c2bd3e Mon Sep 17 00:00:00 2001 From: Fred Boniface Date: Tue, 10 Mar 2026 23:39:08 +0000 Subject: [PATCH] Add 'About' page --- src/lib/global.css | 26 ++++++++++++ src/routes/+layout.svelte | 33 ++++++--------- src/routes/about/+page.svelte | 75 ++++++++++++++++++++++++++++++++++- 3 files changed, 113 insertions(+), 21 deletions(-) diff --git a/src/lib/global.css b/src/lib/global.css index 2a642c1..c8718dd 100644 --- a/src/lib/global.css +++ b/src/lib/global.css @@ -44,6 +44,20 @@ font-display: swap; } + :root { + /* Brand Colours */ + --color-brand: #4fd1d1; + --color-accent: #3c6f79; + --color-title: #ebebeb; + --color-bg-light: #404c55; + --color-bg-dark: #2b343c; + + /* Shadows */ + --color-shadow: hsla(210, 20%, 5%, 0.35); + --shadow-std: 0 4px 12px var(--color-shadow); + --shadow-up: 0 -4px 12px var(--color-shadow); + } + body { margin: 0; padding: 0; @@ -52,4 +66,16 @@ body { -webkit-font-smoothing: antialiased; -mos-osx-font-smoothing: grayscale; overflow-x: hidden; +} + +a { + color: var(--color-brand); +} + +a:visited { + color: var(--color-brand); +} + +a:hover { + color: var(--color-accent); } \ No newline at end of file diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte index c7382d6..e24f375 100644 --- a/src/routes/+layout.svelte +++ b/src/routes/+layout.svelte @@ -58,7 +58,7 @@ > @@ -68,20 +68,6 @@ diff --git a/src/routes/about/+page.svelte b/src/routes/about/+page.svelte index 4d28455..0d731b2 100644 --- a/src/routes/about/+page.svelte +++ b/src/routes/about/+page.svelte @@ -1,2 +1,75 @@ \ No newline at end of file + import logo from '$lib/assets/round-logo.svg' + + let isSpinning = $state(false); + + function handleLogoTap() { + if (isSpinning) return; + isSpinning = true; + setTimeout(() => isSpinning = false, 800); + } + + +
+ +
+ +
+

+ © 2022-2026 Frederick Boniface +

+

+ Created by train crew, for train crew +

+

+ OwlBoard was created in 2022, evolving from 'Athena' which just provided 'Quick Links' to Tiger departure boards. The aim was to provide fast and easy access to the information we need on a daily basis. +

+

+ Some components that combine to form OwlBoard are open-source, see the Git reposititories for more info. +

+
+ +
+

+ Data is sourced from multiple providers, including National Rail Enquiries and Network Rail along side OwlBoard's own data +

+
+ + \ No newline at end of file