From 0bc8bf1fe93ffe4bc1f7db116288415c71371b28 Mon Sep 17 00:00:00 2001 From: iliya Date: Mon, 23 Mar 2026 17:51:09 +0200 Subject: [PATCH] feat(landing): enhance base URL handling and improve image paths - Introduced baseURL configuration to dynamically set asset paths in the landing components. - Updated AppLogo and HeroSection components to use baseURL for logo image sources. - Refactored ScreenshotsSection to utilize a publicPath function for consistent image path handling. - Improved LanguageSwitcher to synchronize the i18n locale with the store on mount. - Enhanced TaskCommentInput to handle file uploads more robustly, including validation for empty files and improved error handling. - Adjusted MessageComposer to conditionally support attachments based on team status. --- landing/components/common/AppLogo.vue | 3 +- .../components/layout/LanguageSwitcher.vue | 7 ++ landing/components/sections/HeroSection.vue | 3 +- .../sections/ScreenshotsSection.vue | 21 ++--- landing/composables/useLocation.ts | 14 ++-- landing/nuxt.config.ts | 4 +- landing/public/favicon-32.png | Bin 1579 -> 1717 bytes landing/public/favicon.ico | Bin 4286 -> 3638 bytes src/main/services/team/TeamInboxReader.ts | 3 +- .../team/attachments/AttachmentDisplay.tsx | 6 +- .../attachments/AttachmentPreviewItem.tsx | 3 +- .../attachments/AttachmentPreviewList.tsx | 3 +- .../team/dialogs/SendMessageDialog.tsx | 2 + .../team/dialogs/TaskCommentInput.tsx | 76 +++++++++++------- .../team/messages/MessageComposer.tsx | 14 ++-- src/renderer/hooks/useAttachments.ts | 2 +- src/renderer/hooks/useComposerDraft.ts | 2 +- .../hooks/useStableTeamMentionMeta.ts | 45 +---------- 18 files changed, 100 insertions(+), 108 deletions(-) diff --git a/landing/components/common/AppLogo.vue b/landing/components/common/AppLogo.vue index 8cea3b4c..d8ed900f 100644 --- a/landing/components/common/AppLogo.vue +++ b/landing/components/common/AppLogo.vue @@ -1,10 +1,11 @@