diff --git a/src/renderer/src/components/Landing.tsx b/src/renderer/src/components/Landing.tsx index 0d2c1d9a2b1..02fe5639671 100644 --- a/src/renderer/src/components/Landing.tsx +++ b/src/renderer/src/components/Landing.tsx @@ -5,7 +5,7 @@ import { } from './cloud-workspaces/CloudWorkspacesHome' import { useCloudWorkspaceHighlight } from './cloud-workspaces/cloud-workspace-links' import { useEffect, useEffectEvent, useMemo, useRef, useState } from 'react' -import { AlertTriangle, ExternalLink, FolderPlus, GitBranchPlus, Star, X } from 'lucide-react' +import { AlertTriangle, ExternalLink, Star, X } from 'lucide-react' import { cn } from '../lib/utils' import { useAppStore } from '../store' import { isGitRepoKind } from '../../../shared/repo-kind' @@ -23,7 +23,7 @@ import { useLandingPreflightRuntime } from './landing-preflight-runtime' import { useLandingOrcaStarState, type LandingStarState } from './landing-github-star-state' import { openAppHttpLink } from '@/lib/browser/navigation/app-http-link-open' import { - LANDING_ACTION_BUTTON_CLASS, + LandingActions, LandingBrand, LandingShortcutList, type LandingShortcutItem @@ -260,50 +260,43 @@ export default function Landing(): React.JSX.Element { return (
- {hasProjects - ? t( - 'auto.components.Landing.9c00bd4adf', - 'Select a workspace from the sidebar to begin.' - ) - : t('auto.components.Landing.cd21242762', 'Add a project to get started.')} -
+ {/* With the cloud list showing, only the no-project hint stays: the list is what to pick. */} + {(!cloudListPresent || !hasProjects) && ( ++ {hasProjects + ? t( + 'auto.components.Landing.9c00bd4adf', + 'Select a workspace from the sidebar to begin.' + ) + : t('auto.components.Landing.cd21242762', 'Add a project to get started.')} +
+ )} -