From c33efc51ee8e9e2c44aafa04975b4d01276ae4f4 Mon Sep 17 00:00:00 2001
From: Captain Jack Sparrow <163903675+sussy-code@users.noreply.github.com>
Date: Mon, 29 Apr 2024 02:49:43 +0000
Subject: [PATCH] Remove extension banner and update dropdown
---
src/assets/locales/en.json | 3 +-
src/components/LinksDropdown.tsx | 7 +++
src/pages/Discover.tsx | 50 +++++++++--------
src/setup/Layout.tsx | 28 +---------
src/stores/banner/BannerLocation.tsx | 81 +---------------------------
5 files changed, 35 insertions(+), 134 deletions(-)
diff --git a/src/assets/locales/en.json b/src/assets/locales/en.json
index a08f91d2..06c348b8 100644
--- a/src/assets/locales/en.json
+++ b/src/assets/locales/en.json
@@ -201,7 +201,8 @@
"logout": "Log out",
"register": "Sync to sudo-cloud",
"settings": "Settings",
- "support": "Support"
+ "support": "Support",
+ "discover": "Discover"
}
},
"notFound": {
diff --git a/src/components/LinksDropdown.tsx b/src/components/LinksDropdown.tsx
index a40f5083..0fb0957e 100644
--- a/src/components/LinksDropdown.tsx
+++ b/src/components/LinksDropdown.tsx
@@ -142,6 +142,9 @@ export function LinksDropdown(props: { children: React.ReactNode }) {