From e6c06d86a73f1bfcd9ab57bce2f23add8e0ef2f6 Mon Sep 17 00:00:00 2001 From: Arjun Patel Date: Wed, 19 Jan 2022 17:16:54 -0800 Subject: [PATCH] Update RoomTypeTag.tsx --- components/RoomTypeTag.tsx | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/components/RoomTypeTag.tsx b/components/RoomTypeTag.tsx index 663132c..a7696b4 100644 --- a/components/RoomTypeTag.tsx +++ b/components/RoomTypeTag.tsx @@ -8,20 +8,20 @@ interface RoomTypeTagProps { } export default function RoomTypeTag(props: RoomTypeTagProps) { + const universalClassNames = + "text-xs font-bold p-1 rounded-md flex flex-row space-x-2 items-center shadow-lg"; + // show live even if it's some other type because people are in it if (props.roomStatus == RoomStatus.live) { return ( - + live ); } else if (props.roomStatus == RoomStatus.archived) { return ( - + archived ); @@ -31,10 +31,7 @@ export default function RoomTypeTag(props: RoomTypeTagProps) { switch (props.roomType) { case RoomType.now: return ( - + live @@ -42,7 +39,7 @@ export default function RoomTypeTag(props: RoomTypeTagProps) { case RoomType.scheduled: return ( - + scheduled @@ -50,7 +47,9 @@ export default function RoomTypeTag(props: RoomTypeTagProps) { case RoomType.recurring: return ( - + recurring