diff options
| -rw-r--r-- | src/components/Content.tsx | 57 |
1 files changed, 42 insertions, 15 deletions
diff --git a/src/components/Content.tsx b/src/components/Content.tsx index 7815951..e0adf3f 100644 --- a/src/components/Content.tsx +++ b/src/components/Content.tsx @@ -76,20 +76,25 @@ export function Content() { return ( <PanelSection> - <InstallationButton - isInstalled={isInstalled} - isInstalling={isInstalling} - isUninstalling={isUninstalling} - onInstall={onInstall} - onUninstall={onUninstall} - /> - - <StatusDisplay - dllDetected={dllDetected} - dllDetectionStatus={dllDetectionStatus} - isInstalled={isInstalled} - installationStatus={installationStatus} - /> + {/* Show installation components at top when not fully installed */} + {!isInstalled && ( + <> + <InstallationButton + isInstalled={isInstalled} + isInstalling={isInstalling} + isUninstalling={isUninstalling} + onInstall={onInstall} + onUninstall={onUninstall} + /> + + <StatusDisplay + dllDetected={dllDetected} + dllDetectionStatus={dllDetectionStatus} + isInstalled={isInstalled} + installationStatus={installationStatus} + /> + </> + )} <SmartClipboardButton /> @@ -118,7 +123,29 @@ export function Content() { <ClipboardButton /> {/* Plugin Update Checker */} - <PluginUpdateChecker /> {/* Nerd Stuff Button */} + <PluginUpdateChecker /> + + {/* Show installation components at bottom when fully installed */} + {isInstalled && ( + <> + <InstallationButton + isInstalled={isInstalled} + isInstalling={isInstalling} + isUninstalling={isUninstalling} + onInstall={onInstall} + onUninstall={onUninstall} + /> + + <StatusDisplay + dllDetected={dllDetected} + dllDetectionStatus={dllDetectionStatus} + isInstalled={isInstalled} + installationStatus={installationStatus} + /> + </> + )} + + {/* Nerd Stuff Button */} <PanelSectionRow> <ButtonItem layout="below" |
