Quickly create your meeting room or just paste your meeting link or code to join for free
diff --git a/packages/ui-app/app/[orgID]/meeting/[roomId]/page.tsx b/packages/ui-app/app/[orgID]/meeting/[roomId]/page.tsx
index f32c0ed2..c3507cb9 100644
--- a/packages/ui-app/app/[orgID]/meeting/[roomId]/page.tsx
+++ b/packages/ui-app/app/[orgID]/meeting/[roomId]/page.tsx
@@ -1,4 +1,4 @@
-import MeetingRoom from "./MeetingRoom";
+import MeetingRoom from "@/features/MeetingRoom";
export default function Page() {
return
diff --git a/packages/ui-app/app/[orgID]/meeting/[roomId]/MeetingRoom.tsx b/packages/ui-app/app/_features/MeetingRoom/index.tsx
similarity index 60%
rename from packages/ui-app/app/[orgID]/meeting/[roomId]/MeetingRoom.tsx
rename to packages/ui-app/app/_features/MeetingRoom/index.tsx
index 91f1b7e7..27821af8 100644
--- a/packages/ui-app/app/[orgID]/meeting/[roomId]/MeetingRoom.tsx
+++ b/packages/ui-app/app/_features/MeetingRoom/index.tsx
@@ -17,8 +17,10 @@ import { meetingGetParticipant } from '@/services/meeting'
import { useParams, useRouter } from 'next/navigation'
import { useUser } from '@goalie/nextjs'
import { Form, messageSuccess } from '@shared/ui'
-import { HiOutlineDuplicate } from 'react-icons/hi'
+import { HiOutlineDuplicate, HiOutlineX } from 'react-icons/hi'
import { copyToClipboard } from '@shared/libs'
+import './style.css'
+import { HiOutlineInformationCircle } from 'react-icons/hi2'
export default function MeetingContainer() {
// TODO: get user input for room and name
@@ -27,8 +29,6 @@ export default function MeetingContainer() {
const { user } = useUser()
const [token, setToken] = useState('')
- const link = `${process.env.NEXT_PUBLIC_FE_GATEWAY}${orgID}/meeting/${roomId}`
-
useEffect(() => {
if (user && user.name && roomId) {
meetingGetParticipant({ room: roomId, username: user.name }).then(res => {
@@ -42,7 +42,7 @@ export default function MeetingContainer() {
}
return (
-
+
{
push(`/${orgID}/meeting`)
@@ -68,30 +68,48 @@ export default function MeetingContainer() {
-
-
-
+ {/*
*/}
+ {/* */}
+ {/*
*/}
-
-
Your meeting is ready
-
-
Share this link with others you want in the meeting
+
+
+ )
+}
-
-
- {
- copyToClipboard(link)
- messageSuccess('Copied to clipboard already !')
- }}
- className='absolute top-2 right-2 p-1 w-6 h-6 hover:border-gray-900 cursor-pointer bg-white border rounded-md shadow' />
-
-
People who use this meeting link must get your permission before they can join
+function MeetingRoomInfo() {
+ const { roomId, orgID } = useParams()
+ const [visible, setVisible] = useState(true)
+
+ const getLink = () => {
+ return `${window.location.protocol}//${window.location.host}/${orgID}/meeting/${roomId}`
+ }
+
+ return
+
{
+ setVisible(true)
+ }} className={`cursor-pointer ${visible ? 'hidden' : ''}`} />
+
+
setVisible(false)} />
+ Your meeting is ready
+
+
Share this link with others you want in the meeting
+
+
+
+ {
+ copyToClipboard(getLink())
+ messageSuccess('Copied to clipboard already !')
+ }}
+ className='absolute top-2 right-2 p-1 w-6 h-6 hover:border-gray-900 cursor-pointer bg-white border rounded-md shadow' />
+
People who use this meeting link must get your permission before they can join
- )
+
+
}
function MyVideoConference() {
diff --git a/packages/ui-app/app/_features/MeetingRoom/style.css b/packages/ui-app/app/_features/MeetingRoom/style.css
new file mode 100644
index 00000000..1926d935
--- /dev/null
+++ b/packages/ui-app/app/_features/MeetingRoom/style.css
@@ -0,0 +1,3 @@
+.meeting-room .lk-chat {
+ @apply h-screen;
+}