From 72cc7cb4439c35a420a7cac05e6bf7f4aed9a761 Mon Sep 17 00:00:00 2001 From: Gabe Kangas Date: Sun, 29 Jan 2023 16:31:52 -0800 Subject: [PATCH] Add skip link to offline message --- web/components/ui/Content/Content.tsx | 22 ++++++++++++---------- web/components/ui/Header/Header.tsx | 6 +++++- 2 files changed, 17 insertions(+), 11 deletions(-) diff --git a/web/components/ui/Content/Content.tsx b/web/components/ui/Content/Content.tsx index e6ca5ce5a..ff9051942 100644 --- a/web/components/ui/Content/Content.tsx +++ b/web/components/ui/Content/Content.tsx @@ -343,16 +343,18 @@ export const Content: FC = () => { /> )} {!online && !appState.appLoading && ( - setShowNotifyModal(true)} - onFollowClick={() => setShowFollowModal(true)} - /> +
+ setShowNotifyModal(true)} + onFollowClick={() => setShowFollowModal(true)} + /> +
)} {isStreamLive && ( = ({ online, }) => (
- {online && ( + {online ? ( Skip to player + ) : ( + + Skip to offline message + )} Skip to page content