From 899a1fd805234a345d6d7280fffaa93b5a009cb5 Mon Sep 17 00:00:00 2001 From: avinash2wards Date: Sun, 24 Sep 2023 00:48:41 +0530 Subject: [PATCH] fix: improve landing page for mobile view --- src/components/participants.js | 26 ++++++++++++++------------ 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/src/components/participants.js b/src/components/participants.js index f5cd446..ca0740f 100644 --- a/src/components/participants.js +++ b/src/components/participants.js @@ -21,17 +21,19 @@ export default function ParticipantsCard({ }; return ( <> - {isAdmin ? ( - <> -

Create a Room

- - ) : ( - <> -

Join a room

-

{`You have been invited to join a room`}

- - )} -
+ +
+ {isAdmin ? ( + <> +

Create a Room

+ + ) : ( + <> +

Join a room

+

{`You have been invited to join a room`}

+ + )} +
{ @@ -49,7 +51,7 @@ export default function ParticipantsCard({ )} />
-
+