From b3235bca861230b17ceed6ab74706bc74c18afff Mon Sep 17 00:00:00 2001 From: Sebastian-ubs <141921979+Sebastian-ubs@users.noreply.github.com> Date: Mon, 7 Apr 2025 18:37:47 +0200 Subject: [PATCH 1/2] add ExternalUrl button --- src/scripture-forge/src/home/home.web-view.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/scripture-forge/src/home/home.web-view.tsx b/src/scripture-forge/src/home/home.web-view.tsx index 570865a..815a048 100644 --- a/src/scripture-forge/src/home/home.web-view.tsx +++ b/src/scripture-forge/src/home/home.web-view.tsx @@ -34,7 +34,7 @@ import { isString, LocalizeKey, } from 'platform-bible-utils'; -import { AlertCircle } from 'lucide-react'; +import { AlertCircle, ExternalUrl } from 'lucide-react'; import ProjectTable from './project-table.component'; import { expandServerConfiguration } from '../auth/server-configuration.model'; @@ -174,7 +174,7 @@ globalThis.webViewComponent = function ScriptureForgeHome({ let logInOrOutButtonContents: ReactNode = isLoggedIn ? localizedStrings['%scriptureForge_home_logout_action_label%'] - : localizedStrings['%scriptureForge_home_login_action_label%']; + : localizedStrings['%scriptureForge_home_login_action_label%'] ; if (isLoginBusy) logInOrOutButtonContents = ; return !isLoggedIn ? ( From e9a239a4628265c7ecaf459402d5a7546ec11dec Mon Sep 17 00:00:00 2001 From: Sebastian-ubs <141921979+Sebastian-ubs@users.noreply.github.com> Date: Mon, 7 Apr 2025 18:41:53 +0200 Subject: [PATCH 2/2] use correct name --- src/scripture-forge/src/home/home.web-view.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/scripture-forge/src/home/home.web-view.tsx b/src/scripture-forge/src/home/home.web-view.tsx index 815a048..1c70a43 100644 --- a/src/scripture-forge/src/home/home.web-view.tsx +++ b/src/scripture-forge/src/home/home.web-view.tsx @@ -34,7 +34,7 @@ import { isString, LocalizeKey, } from 'platform-bible-utils'; -import { AlertCircle, ExternalUrl } from 'lucide-react'; +import { AlertCircle, ExternalLink } from 'lucide-react'; import ProjectTable from './project-table.component'; import { expandServerConfiguration } from '../auth/server-configuration.model'; @@ -174,7 +174,7 @@ globalThis.webViewComponent = function ScriptureForgeHome({ let logInOrOutButtonContents: ReactNode = isLoggedIn ? localizedStrings['%scriptureForge_home_logout_action_label%'] - : localizedStrings['%scriptureForge_home_login_action_label%'] ; + : localizedStrings['%scriptureForge_home_login_action_label%'] ; if (isLoginBusy) logInOrOutButtonContents = ; return !isLoggedIn ? (