diff --git a/lib/shared-statics/events.json b/lib/shared-statics/events.json new file mode 100644 index 000000000..3e7fabc33 --- /dev/null +++ b/lib/shared-statics/events.json @@ -0,0 +1,9 @@ +{ + "code-unbound-new-age-development-environments": { + "name": "Code Unbound: New Age Development Environments", + "dyteMeetingId": "bbbba7f8-3643-41fd-831a-15a321f80966", + "date": "2023-04-01T00:00:00.000Z", + "starttime": "00:00:00", + "endtime": "00:00:00" + } +} \ No newline at end of file diff --git a/src/apps/webinar/src/app/orgs/webinar-ui.tsx b/src/apps/webinar/src/app/orgs/webinar-ui.tsx index af421d8e3..49c1d40ed 100644 --- a/src/apps/webinar/src/app/orgs/webinar-ui.tsx +++ b/src/apps/webinar/src/app/orgs/webinar-ui.tsx @@ -26,6 +26,17 @@ type WebinarUIProps = { }; }; +// {eventName, dyte-meeting-id, date-time} + +// check if event is live if live show join or else show register + +// kloudlite.io/events/code-unbound-webinar-event-1/join + // check if user is logged in . If not redirect to login page. After login redirect to kloudlite.io/events/code-unbound-webinar-event-1/join + // check if user is registered . if event is live take him to the event + // else send him the email thanking for registering, If possible calendar invite + +// kloudlite.io/events/code-unbound-webinar-event-1 + export const WebinarUI = ({ userDetails, meetingStatus, envVars }: WebinarUIProps) => { const { dyteOrgId, dyteApiKey, dyteMeetingId, marketApiUrl } = envVars;