From b2c17ef237b6c7540d4947f3d4544dc08dbd33ad Mon Sep 17 00:00:00 2001 From: Erwin Boskma Date: Sat, 23 Dec 2023 20:02:24 +0100 Subject: [PATCH] Branding --- index.html | 2 +- public/assets/img/incus-logo.svg | 129 ++++++++++++++++++++++++++++++ public/assets/img/lxd-logo.svg | 34 -------- src/components/Logo.tsx | 6 +- src/sass/_pattern_navigation.scss | 8 +- src/util/title.tsx | 2 +- 6 files changed, 138 insertions(+), 43 deletions(-) create mode 100644 public/assets/img/incus-logo.svg delete mode 100644 public/assets/img/lxd-logo.svg diff --git a/index.html b/index.html index 6aa1283..85b46bd 100644 --- a/index.html +++ b/index.html @@ -5,7 +5,7 @@ - LXD UI + Incus UI diff --git a/public/assets/img/incus-logo.svg b/public/assets/img/incus-logo.svg new file mode 100644 index 0000000..9caf711 --- /dev/null +++ b/public/assets/img/incus-logo.svg @@ -0,0 +1,129 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/public/assets/img/lxd-logo.svg b/public/assets/img/lxd-logo.svg deleted file mode 100644 index 272ef59..0000000 --- a/public/assets/img/lxd-logo.svg +++ /dev/null @@ -1,34 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/src/components/Logo.tsx b/src/components/Logo.tsx index bcaf07e..92a0a5a 100644 --- a/src/components/Logo.tsx +++ b/src/components/Logo.tsx @@ -15,11 +15,11 @@ const Logo: FC = () => { return ( LXD-UI logo -
Canonical LXD
+
Incus UI
); }; diff --git a/src/sass/_pattern_navigation.scss b/src/sass/_pattern_navigation.scss index a224ef4..d68f363 100644 --- a/src/sass/_pattern_navigation.scss +++ b/src/sass/_pattern_navigation.scss @@ -5,20 +5,20 @@ .p-panel__logo-image { height: 36px; - margin-top: -3px; + margin-top: 2px; max-width: inherit; } .logo-text { color: #fff; - left: 47px; + left: 70px; position: absolute; top: $spv--x-small; } @include mobile { .logo-text { - left: 38px; + left: 66px; } } @@ -28,7 +28,7 @@ } .logo-text { - left: 52px; + left: 80px; } } } diff --git a/src/util/title.tsx b/src/util/title.tsx index 715fd43..a40b0b7 100644 --- a/src/util/title.tsx +++ b/src/util/title.tsx @@ -6,6 +6,6 @@ export const setTitle = () => { useEffect(() => { const host = settings?.config["user.ui_title"] ?? location.hostname; - document.title = `${host} | LXD UI`; + document.title = `${host} | Incus UI`; }, [settings?.config]); }; -- 2.42.0