From ab76915c005e07c2e62f7df2b415ac8d3ca1c5a7 Mon Sep 17 00:00:00 2001 From: Dominik Zborowski Date: Mon, 28 Oct 2024 14:39:28 +0100 Subject: [PATCH] feat: settings link for non logged users (#512) --- components/AppNavbar.vue | 65 ++++++++++- components/AppNavbarLanding.vue | 105 +++++++++++++++++- components/AppNavbarProfileDropdown.vue | 9 +- components/AppNotFound.vue | 7 +- components/AssetAssetsDocument.vue | 9 +- components/AssetAssetsOther.vue | 9 +- components/AssetImage.vue | 10 +- components/BuyLyxCard.vue | 7 +- components/DappShowcase.vue | 18 ++- components/ModalTemplateConnectWallet.vue | 5 +- components/NftAssetView.vue | 9 +- components/ProfileCardShareUniversalPage.vue | 7 +- components/ProfileCardShareUniversalSwaps.vue | 7 +- components/TokenAssetView.vue | 7 +- components/TokenListCardLyx.vue | 5 +- .../ProfileCardShareUniversalPage.spec.ts | 18 ++- .../ProfileCardShareUniversalSwaps.spec.ts | 18 ++- .../useBrowserExtensionProvider.ts | 7 +- domains/graph/components/NftListCardGraph.vue | 10 +- .../graph/components/TokenListCardGraph.vue | 7 +- domains/grid/components/GridWidget.vue | 7 +- domains/rpc/components/NftListCardRpc.vue | 10 +- domains/rpc/components/TokenListCardRpc.vue | 7 +- package.json | 2 +- pages/[profileAddress]/lyx-details.vue | 5 +- pages/contract/[...slug].vue | 7 +- pages/index.vue | 2 +- yarn.lock | 10 +- 28 files changed, 334 insertions(+), 55 deletions(-) diff --git a/components/AppNavbar.vue b/components/AppNavbar.vue index 4a0d275d..ee99a495 100644 --- a/components/AppNavbar.vue +++ b/components/AppNavbar.vue @@ -45,6 +45,10 @@ const handleMobileSearch = () => { const handleNavigateSettings = () => { navigateTo(settingsRoute()) } + +const handleNavigateMyUpDashboard = () => { + navigateTo(myUpDappDashboardUrl(), { external: true }) +}