summaryrefslogtreecommitdiff
path: root/src/components/ClipboardButton.tsx
diff options
context:
space:
mode:
authorxXJSONDeruloXx <danielhimebauch@gmail.com>2025-07-15 21:45:20 -0400
committerxXJSONDeruloXx <danielhimebauch@gmail.com>2025-07-15 21:45:20 -0400
commit3f7dd8ce0a0f11f894332a3b4351ecd7a9abd141 (patch)
tree94800a7c641dc5f04dc49b291138baf85bb948be /src/components/ClipboardButton.tsx
parent15b007fddefecae48a3c736320770411d64bbb8f (diff)
downloaddecky-lsfg-vk-3f7dd8ce0a0f11f894332a3b4351ecd7a9abd141.tar.gz
decky-lsfg-vk-3f7dd8ce0a0f11f894332a3b4351ecd7a9abd141.zip
add clipboard web launch button
Diffstat (limited to 'src/components/ClipboardButton.tsx')
-rw-r--r--src/components/ClipboardButton.tsx22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/components/ClipboardButton.tsx b/src/components/ClipboardButton.tsx
new file mode 100644
index 0000000..3760e81
--- /dev/null
+++ b/src/components/ClipboardButton.tsx
@@ -0,0 +1,22 @@
+import { PanelSectionRow, ButtonItem } from "@decky/ui";
+import { FaExternalLinkAlt } from "react-icons/fa";
+
+export function ClipboardButton() {
+ const handleClipboardClick = () => {
+ window.open("https://github.com/xXJSONDeruloXx/decky-lossless-scaling-vk/wiki/Clipboard", "_blank");
+ };
+
+ return (
+ <PanelSectionRow>
+ <ButtonItem
+ layout="below"
+ onClick={handleClipboardClick}
+ >
+ <div style={{ display: "flex", alignItems: "center", gap: "8px" }}>
+ <FaExternalLinkAlt />
+ <div>Launch Option Clipboard</div>
+ </div>
+ </ButtonItem>
+ </PanelSectionRow>
+ );
+}