From 9ea9b83fee38568fecdd79f4ffb91dc902eb90cd Mon Sep 17 00:00:00 2001 From: Andrew Kingston Date: Mon, 24 May 2021 16:19:29 +0100 Subject: [PATCH 1/4] Add real Budibase space logo as the default logo --- packages/builder/assets/bb-space-black.svg | 18 +++++++++++++ packages/builder/assets/bb-space-purple.svg | 25 +++++++++++++++++++ .../src/pages/builder/admin/index.svelte | 5 ++-- .../src/pages/builder/apps/index.svelte | 3 ++- .../src/pages/builder/auth/forgot.svelte | 3 ++- .../src/pages/builder/auth/login.svelte | 5 ++-- .../src/pages/builder/auth/reset.svelte | 11 ++++---- .../src/pages/builder/invite/index.svelte | 5 ++-- .../src/pages/builder/portal/_layout.svelte | 6 ++--- .../builder/src/stores/portal/organisation.js | 2 +- packages/builder/vite.config.js | 4 +++ 11 files changed, 68 insertions(+), 19 deletions(-) create mode 100644 packages/builder/assets/bb-space-black.svg create mode 100644 packages/builder/assets/bb-space-purple.svg diff --git a/packages/builder/assets/bb-space-black.svg b/packages/builder/assets/bb-space-black.svg new file mode 100644 index 0000000000..fa1743f90c --- /dev/null +++ b/packages/builder/assets/bb-space-black.svg @@ -0,0 +1,18 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/builder/assets/bb-space-purple.svg b/packages/builder/assets/bb-space-purple.svg new file mode 100644 index 0000000000..ccfb8b220d --- /dev/null +++ b/packages/builder/assets/bb-space-purple.svg @@ -0,0 +1,25 @@ + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/builder/src/pages/builder/admin/index.svelte b/packages/builder/src/pages/builder/admin/index.svelte index 6baf927973..b63eab849b 100644 --- a/packages/builder/src/pages/builder/admin/index.svelte +++ b/packages/builder/src/pages/builder/admin/index.svelte @@ -9,8 +9,9 @@ } from "@budibase/bbui" import { goto } from "@roxi/routify" import api from "builderStore/api" - import { admin, organisation } from "stores/portal" + import { admin } from "stores/portal" import PasswordRepeatInput from "components/common/users/PasswordRepeatInput.svelte" + import Logo from "assets/bb-space-black.svg" let adminUser = {} let error @@ -35,7 +36,7 @@
- + Create an admin user diff --git a/packages/builder/src/pages/builder/apps/index.svelte b/packages/builder/src/pages/builder/apps/index.svelte index 5fb75a43be..0365efa1a3 100644 --- a/packages/builder/src/pages/builder/apps/index.svelte +++ b/packages/builder/src/pages/builder/apps/index.svelte @@ -19,6 +19,7 @@ import UpdateUserInfoModal from "components/settings/UpdateUserInfoModal.svelte" import ChangePasswordModal from "components/settings/ChangePasswordModal.svelte" import { processStringSync } from "@budibase/string-templates" + import Logo from "assets/bb-space-black.svg" let loaded = false let userInfoModal @@ -38,7 +39,7 @@
- +
diff --git a/packages/builder/src/pages/builder/auth/forgot.svelte b/packages/builder/src/pages/builder/auth/forgot.svelte index f26c3bfc2b..f56293313a 100644 --- a/packages/builder/src/pages/builder/auth/forgot.svelte +++ b/packages/builder/src/pages/builder/auth/forgot.svelte @@ -8,6 +8,7 @@ Heading, } from "@budibase/bbui" import { organisation, auth } from "stores/portal" + import Logo from "assets/bb-space-black.svg" let email = "" @@ -25,7 +26,7 @@
- + Forgotten your password? diff --git a/packages/builder/src/pages/builder/auth/login.svelte b/packages/builder/src/pages/builder/auth/login.svelte index 1cc032fb2c..734a26cbf5 100644 --- a/packages/builder/src/pages/builder/auth/login.svelte +++ b/packages/builder/src/pages/builder/auth/login.svelte @@ -10,8 +10,9 @@ notifications, } from "@budibase/bbui" import { goto, params } from "@roxi/routify" - import { auth, organisation } from "stores/portal" + import { auth } from "stores/portal" import GoogleButton from "./_components/GoogleButton.svelte" + import Logo from "assets/bb-space-black.svg" let username = "" let password = "" @@ -49,7 +50,7 @@
- + Sign in to Budibase diff --git a/packages/builder/src/pages/builder/auth/reset.svelte b/packages/builder/src/pages/builder/auth/reset.svelte index 2287ee5ca0..e3e6ab42d9 100644 --- a/packages/builder/src/pages/builder/auth/reset.svelte +++ b/packages/builder/src/pages/builder/auth/reset.svelte @@ -2,7 +2,8 @@ import { Body, Button, Heading, Layout, notifications } from "@budibase/bbui" import { goto, params } from "@roxi/routify" import PasswordRepeatInput from "components/common/users/PasswordRepeatInput.svelte" - import { auth, organisation } from "stores/portal" + import { auth } from "stores/portal" + import Logo from "assets/bb-space-black.svg" const resetCode = $params["?code"] let password, error @@ -33,10 +34,7 @@
- Organisation logo + Organisation logo Reset your password @@ -49,8 +47,9 @@ cta on:click={reset} disabled={error || (forceResetPassword ? false : !resetCode)} - >Reset your password + Reset your password +
diff --git a/packages/builder/src/pages/builder/invite/index.svelte b/packages/builder/src/pages/builder/invite/index.svelte index 65b20f8a9d..fb1a5b8281 100644 --- a/packages/builder/src/pages/builder/invite/index.svelte +++ b/packages/builder/src/pages/builder/invite/index.svelte @@ -1,8 +1,9 @@