diff --git a/apps/web/modules/videos/views/videos-single-view.tsx b/apps/web/modules/videos/views/videos-single-view.tsx index 428598134a..c2924ff7ca 100644 --- a/apps/web/modules/videos/views/videos-single-view.tsx +++ b/apps/web/modules/videos/views/videos-single-view.tsx @@ -13,6 +13,7 @@ import { useLocale } from "@calcom/lib/hooks/useLocale"; import { markdownToSafeHTML } from "@calcom/lib/markdownToSafeHTML"; import type { inferSSRProps } from "@calcom/types/inferSSRProps"; import classNames from "@calcom/ui/classNames"; +import { Badge } from "@calcom/ui/components/badge"; import { Button } from "@calcom/ui/components/button"; import { Dialog, DialogContent } from "@calcom/ui/components/dialog"; import { Input } from "@calcom/ui/components/form"; @@ -120,7 +121,7 @@ export default function JoinCall(props: PageProps) { } return callFrame; - } catch (err) { + } catch (_err) { return DailyIframe.getCallInstance(); } }, @@ -160,8 +161,6 @@ export default function JoinCall(props: PageProps) { activeMeetingPassword, activeMeetingUrl, createCallFrame, - loggedInUserName, - overrideName, guestCredentials, ]); @@ -182,7 +181,7 @@ export default function JoinCall(props: PageProps) {
{calVideoLogo ? ( My Org Logo - e.preventDefault()}> -
-
-
-
{t("join_as_guest")}
-

{t("ideal_for_one_time_calls")}

+ e.preventDefault()}> +
+
+
+
+ +
+
+

{bookingTitle}

+

{t("hosted_by", { name: hostName })}

+
- - {requireEmailForGuests ? ( -
- - - - - -
- ) : ( -
- - -
- )} + + {t("ready")} +
- {error && ( -
-
-
-

{error}

-
-
-
- )} +
+

{t("ready_to_join")}

+

{t("enter_name_to_join_call")}

+
- {/* Divider */} -
+
+ -
-
-

- {t("sign_in_to_cal_com")} -

-

- {t("track_meetings_and_manage_schedule")} -

-
+ {requireEmailForGuests && ( + + )}
+ + {error && ( +
+

{error}

+
+ )} + +

+ + {t("sign_in")} + {" "} + {t("to_track_no_shows")} +

@@ -562,72 +542,66 @@ export function VideoMeetingInfo(props: VideoMeetingInfo) { }); return ( - <> - ); } diff --git a/apps/web/public/static/locales/en/common.json b/apps/web/public/static/locales/en/common.json index e7ddb634fd..6b01c57918 100644 --- a/apps/web/public/static/locales/en/common.json +++ b/apps/web/public/static/locales/en/common.json @@ -745,6 +745,12 @@ "custom_attendee_location": "Custom attendee location", "continue_as_guest": "Continue as guest", "join_as_guest": "Join as guest", + "join_call_as_guest": "Join call as guest", + "ready_to_join": "Ready to join?", + "enter_name_to_join_call": "Enter your name to join the call", + "hosted_by": "Hosted by {{name}}", + "ready": "Ready", + "to_track_no_shows": "to track no-shows", "ideal_for_one_time_calls": "Ideal for one-time calls", "hosts_must_use_login": "Hosts must login to cal.com and then join this meeting", "invalid_guest_email": "We don't recognize this email address for this meeting. Double-check you're using the same email that received the invitation.",