From 176949d8c8e603297d505ec32d3d35f13d4a1d51 Mon Sep 17 00:00:00 2001 From: Victor Jack <67293106+thedon-dev@users.noreply.github.com> Date: Wed, 12 Aug 2026 07:55:19 +0100 Subject: [PATCH] feat: add back button on login page to return to landing page (#808) * Back button in Login page Modified the back button to have two options, href option and onlick The onClick bceomes usable when there's no href prop and the onClick takes you directly to the previous page While the href takes you to the url you indicated * added a showBack condition to show the button * modified the onClick function * Removed the back button, made the Image act as the back button * Changed the OAuth place holder * Update back-button.svelte * remove f --------- Co-authored-by: Rotimi Best --- .../src/lib/features/ui/auth-ui.svelte | 23 ++++++++++++------- .../src/lib/utils/translations/da.json | 12 +++++++--- .../src/lib/utils/translations/de.json | 12 +++++++--- .../src/lib/utils/translations/en.json | 1 + .../src/lib/utils/translations/es.json | 12 +++++++--- .../src/lib/utils/translations/fr.json | 12 +++++++--- .../src/lib/utils/translations/hi.json | 12 +++++++--- .../src/lib/utils/translations/pl.json | 12 +++++++--- .../src/lib/utils/translations/pt.json | 12 +++++++--- .../src/lib/utils/translations/ru.json | 12 +++++++--- .../src/lib/utils/translations/vi.json | 12 +++++++--- 11 files changed, 97 insertions(+), 35 deletions(-) diff --git a/apps/dashboard/src/lib/features/ui/auth-ui.svelte b/apps/dashboard/src/lib/features/ui/auth-ui.svelte index 04a8d496..c90f8e1a 100644 --- a/apps/dashboard/src/lib/features/ui/auth-ui.svelte +++ b/apps/dashboard/src/lib/features/ui/auth-ui.svelte @@ -1,6 +1,7 @@