From b2f81c11496a54cd86b6b87144952ac4bb98272a Mon Sep 17 00:00:00 2001 From: Phil Date: Fri, 30 Sep 2022 20:01:51 +0100 Subject: [PATCH] Twitch minor fix (#973) * Made Twitch copy link buttons links so right-click -> copy URL works. * Added Twitch OBS screenshot to public folder. --- web/pages/twitch.tsx | 120 +++++++++++++---------- web/public/twitch-bot-obs-screenshot.jpg | Bin 0 -> 130637 bytes 2 files changed, 70 insertions(+), 50 deletions(-) create mode 100644 web/public/twitch-bot-obs-screenshot.jpg diff --git a/web/pages/twitch.tsx b/web/pages/twitch.tsx index 6508a69e..2331fa1c 100644 --- a/web/pages/twitch.tsx +++ b/web/pages/twitch.tsx @@ -257,6 +257,30 @@ function BotSetupStep(props: { ) } +function CopyLinkButton(props: { link: string; text: string }) { + const { link, text } = props + const toastTheme = { + className: '!bg-primary !text-white', + icon: