From 1b3714449b8af0b0a76ef16e24843d1d567ed44f Mon Sep 17 00:00:00 2001 From: Arzumify Date: Wed, 7 Aug 2024 17:00:16 +0100 Subject: [PATCH] Fix issue with homeserver button not being aligned --- login/index.html | 2 +- static/burgernotes.mobileconfig | 2 +- static/css/style.css | 2 ++ static/js/homeserver.js | 4 ++-- static/js/login.js | 4 ++-- static/js/main.js | 4 ++-- static/js/migrate.js | 4 ++-- static/js/signup.js | 4 ++-- 8 files changed, 14 insertions(+), 12 deletions(-) diff --git a/login/index.html b/login/index.html index 1f71b3b..818b404 100644 --- a/login/index.html +++ b/login/index.html @@ -66,7 +66,7 @@

- Homeservers

+
Homeservers
Privacy & Terms diff --git a/static/burgernotes.mobileconfig b/static/burgernotes.mobileconfig index edaf3bf..35ff4c2 100644 --- a/static/burgernotes.mobileconfig +++ b/static/burgernotes.mobileconfig @@ -35,7 +35,7 @@ Precomposed URL - notes.hectabit.org/app + notes.canary.hectabit.org/app PayloadDescription diff --git a/static/css/style.css b/static/css/style.css index 628c913..eb272cf 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -146,6 +146,7 @@ body { margin: 0; background-color: var(--editor); font-family: "Inter", sans-serif; + color: var(--text-color); } .hiddenButton { @@ -758,6 +759,7 @@ button:hover { .inoutdiv .iconbutton img { height: 20px; + filter: invert(var(--invertdm)); } .inoutdiv .iconbutton:hover { diff --git a/static/js/homeserver.js b/static/js/homeserver.js index e45d306..b2ca7a3 100644 --- a/static/js/homeserver.js +++ b/static/js/homeserver.js @@ -7,8 +7,8 @@ let backButton = document.getElementById("backButton") let remote = localStorage.getItem("SETTING-homeServer") if (remote == null) { - localStorage.setItem("SETTING-homeServer", "https://notes.hectabit.org") - remote = "https://notes.hectabit.org" + localStorage.setItem("SETTING-homeServer", "https://notes.canary.hectabit.org") + remote = "https://notes.canary.hectabit.org" } document.addEventListener("DOMContentLoaded", function() { diff --git a/static/js/login.js b/static/js/login.js index 1fc676b..51f34c3 100644 --- a/static/js/login.js +++ b/static/js/login.js @@ -8,8 +8,8 @@ if (localStorage.getItem("PRIVATE-secretKey") !== null || localStorage.getItem(" let remote = localStorage.getItem("SETTING-homeServer") if (remote == null) { - localStorage.setItem("SETTING-homeServer", "https://notes.hectabit.org") - remote = "https://notes.hectabit.org" + localStorage.setItem("SETTING-homeServer", "https://notes.canary.hectabit.org") + remote = "https://notes.canary.hectabit.org" } let inputContainer = document.getElementById("inputContainer") diff --git a/static/js/main.js b/static/js/main.js index 8eb74d6..6a64c46 100644 --- a/static/js/main.js +++ b/static/js/main.js @@ -15,8 +15,8 @@ if (secretKey === null || password === null) { } if (remote == null) { - localStorage.setItem("SETTING-homeServer", "https://notes.hectabit.org") - remote = "https://notes.hectabit.org" + localStorage.setItem("SETTING-homeServer", "https://notes.canary.hectabit.org") + remote = "https://notes.canary.hectabit.org" } function formatBytes(a, b = 2) { diff --git a/static/js/migrate.js b/static/js/migrate.js index 246460e..4bb3e2d 100644 --- a/static/js/migrate.js +++ b/static/js/migrate.js @@ -10,8 +10,8 @@ if (secretKey === null || cryptoKey === null) { let remote = localStorage.getItem("SETTING-homeServer") if (remote == null) { - localStorage.setItem("SETTING-homeServer", "https://notes.hectabit.org") - remote = "https://notes.hectabit.org" + localStorage.setItem("SETTING-homeServer", "https://notes.canary.hectabit.org") + remote = "https://notes.canary.hectabit.org" } let notesPlainText = "" diff --git a/static/js/signup.js b/static/js/signup.js index 8300eb6..3ea3369 100644 --- a/static/js/signup.js +++ b/static/js/signup.js @@ -8,8 +8,8 @@ if (localStorage.getItem("PRIVATE-secretKey") !== null || localStorage.getItem(" let remote = localStorage.getItem("SETTING-homeServer") if (remote == null) { - localStorage.setItem("SETTING-homeServer", "https://notes.hectabit.org") - remote = "https://notes.hectabit.org" + localStorage.setItem("SETTING-homeServer", "https://notes.canary.hectabit.org") + remote = "https://notes.canary.hectabit.org" } let usernameBox = document.getElementById("usernameBox")