diff --git a/apps/web/src/app/live/[id]/page.tsx b/apps/web/src/app/live/[id]/page.tsx new file mode 100644 index 0000000..4644ba8 --- /dev/null +++ b/apps/web/src/app/live/[id]/page.tsx @@ -0,0 +1,24 @@ +import '@vidstack/react/player/styles/default/theme.css'; +import '@vidstack/react/player/styles/default/layouts/audio.css'; +import '@vidstack/react/player/styles/default/layouts/video.css'; + +import Chat from '../../../components/Chat'; +import LiveVideoPlayer from '../../../components/LiveVideoPlayer'; + +export default function LiveStreamPage() { + return ( + <> +
+ + +
+ + ); +} diff --git a/apps/web/src/app/page.tsx b/apps/web/src/app/page.tsx index 592d0eb..6b077d1 100644 --- a/apps/web/src/app/page.tsx +++ b/apps/web/src/app/page.tsx @@ -1,19 +1,11 @@ import Navbar from '../components/Navbar'; import VideosList from '../components/VideosList'; -import getUsers from '../../utils/API/getUsers'; -import { User } from '@clerk/nextjs/server'; export default async function Page() { - const users = await getUsers(); return ( <> -
    - {users.data && users.data.map((user: User) => ( -
  1. {user?.username}
  2. - ))} -
); } diff --git a/apps/web/src/components/Chat.tsx b/apps/web/src/components/Chat.tsx new file mode 100644 index 0000000..5570527 --- /dev/null +++ b/apps/web/src/components/Chat.tsx @@ -0,0 +1,72 @@ +import { Button } from '@org/shared'; +import { Textarea } from '@org/shared'; +import { SendIcon } from 'lucide-react'; + +export default function Chat() { + return( +
+
Live Chat
+
+
+
+ JD +
+
+
John Doe
+
+ Hey, this is looking great! +
+
+
+
+
+ SA +
+
+
Sarah Adams
+
+ Wow, the video quality is amazing! +
+
+
+
+
+ MJ +
+
+
Michael Johnson
+
+ Can not wait to see more of this! +
+
+
+
+
+ EM +
+
+
Emily Miller
+
+ This is so cool, I am loving it! +
+
+
+
+
+
+