summaryrefslogtreecommitdiff
path: root/src/components/Content.tsx
diff options
context:
space:
mode:
authorKurt Himebauch <136133082+xXJSONDeruloXx@users.noreply.github.com>2025-07-19 08:40:49 -0400
committerGitHub <noreply@github.com>2025-07-19 08:40:49 -0400
commitf010473bfdf6b9a58960a5dac71fa48837ae6a1c (patch)
treec0392ef13b7cc47bc27369e7840e58fa23e745b7 /src/components/Content.tsx
parentb9302548a4def670c8600086ba8685c075ceac3d (diff)
parent75a94598341899eea5260206975686c05e793956 (diff)
downloaddecky-lsfg-vk-f010473bfdf6b9a58960a5dac71fa48837ae6a1c.tar.gz
decky-lsfg-vk-f010473bfdf6b9a58960a5dac71fa48837ae6a1c.zip
Merge pull request #41 from xXJSONDeruloXx/nerd-stuffv0.6.4
Nerd stuff
Diffstat (limited to 'src/components/Content.tsx')
-rw-r--r--src/components/Content.tsx17
1 files changed, 16 insertions, 1 deletions
diff --git a/src/components/Content.tsx b/src/components/Content.tsx
index 613e722..9ce4c35 100644
--- a/src/components/Content.tsx
+++ b/src/components/Content.tsx
@@ -1,5 +1,5 @@
import { useEffect } from "react";
-import { PanelSection } from "@decky/ui";
+import { PanelSection, showModal, ButtonItem, PanelSectionRow } from "@decky/ui";
import { useInstallationStatus, useDllDetection, useLsfgConfig } from "../hooks/useLsfgHooks";
import { useInstallationActions } from "../hooks/useInstallationActions";
import { StatusDisplay } from "./StatusDisplay";
@@ -9,6 +9,7 @@ import { UsageInstructions } from "./UsageInstructions";
import { WikiButton } from "./WikiButton";
import { ClipboardButton } from "./ClipboardButton";
import { PluginUpdateChecker } from "./PluginUpdateChecker";
+import { NerdStuffModal } from "./NerdStuffModal";
import { ConfigurationData } from "../config/configSchema";
export function Content() {
@@ -49,6 +50,10 @@ export function Content() {
handleUninstall(setIsInstalled, setInstallationStatus);
};
+ const handleShowNerdStuff = () => {
+ showModal(<NerdStuffModal />);
+ };
+
return (
<PanelSection>
<InstallationButton
@@ -81,6 +86,16 @@ export function Content() {
{/* Plugin Update Checker */}
<PluginUpdateChecker />
+
+ {/* Nerd Stuff Button */}
+ <PanelSectionRow>
+ <ButtonItem
+ layout="below"
+ onClick={handleShowNerdStuff}
+ >
+ Nerd Stuff
+ </ButtonItem>
+ </PanelSectionRow>
</PanelSection>
);
}