@@ -8,6 +8,8 @@ import { api } from "~/utils/api";
8
8
import { AiOutlineVideoCameraAdd } from "react-icons/ai" ;
9
9
import JoinRoom from "~/components/join" ;
10
10
import Image from "next/image" ;
11
+ import Features from "~/components/features" ;
12
+ import CharacterAnimation from "~/components/animation/character" ;
11
13
12
14
function ConnectionTab ( ) {
13
15
const { data : session , status } = useSession ( ) ;
@@ -25,7 +27,7 @@ function ConnectionTab() {
25
27
< >
26
28
< Navbar status = { status } session = { session } />
27
29
< div className = "isolate flex h-screen w-screen flex-col items-center justify-center space-y-4 p-5 text-center md:flex-row" >
28
- < div className = "absolute inset-x-0 top-[-10rem] -z-10 transform-gpu overflow-hidden blur-3xl sm:top-[-20rem] opacity-60 " >
30
+ < div className = "absolute inset-x-0 top-[-10rem] -z-10 transform-gpu overflow-hidden opacity-60 blur-3xl sm:top-[-20rem]" >
29
31
< svg
30
32
className = "relative left-[calc(50%-11rem)] -z-10 h-[21.1875rem] max-w-none -translate-x-1/2 rotate-[30deg] sm:left-[calc(50%-30rem)] sm:h-[42.375rem]"
31
33
viewBox = "0 0 1155 678"
@@ -52,22 +54,26 @@ function ConnectionTab() {
52
54
</ defs >
53
55
</ svg >
54
56
</ div >
55
-
57
+
56
58
< div className = "w-full max-w-md space-y-4" >
57
59
< Typing />
58
60
59
- < p className = "text-sm text-gray-400" >
60
- Multilingual Video Conferencing App
61
- </ p >
61
+ < CharacterAnimation
62
+ className = "flex justify-center"
63
+ textStyle = "text-sm text-gray-400"
64
+ text = "Multilingual Video Conferencing App"
65
+ />
62
66
63
67
< div className = "flex flex-col items-center space-y-4 lg:flex-row lg:space-y-0 lg:space-x-4" >
64
68
< button onClick = { createRoomHandler } className = "lk-button h-fit" >
65
69
< AiOutlineVideoCameraAdd />
66
- Create Room
70
+ < CharacterAnimation text = " Create Room" textStyle = "text-sm" />
67
71
</ button >
68
72
69
73
< JoinRoom />
70
74
</ div >
75
+
76
+ < Features />
71
77
</ div >
72
78
73
79
< div className = "flex w-full max-w-md items-center justify-center" >
@@ -79,7 +85,7 @@ function ConnectionTab() {
79
85
priority
80
86
/>
81
87
</ div >
82
- < div className = "absolute inset-x-0 top-[calc(100%-13rem)] -z-10 transform-gpu overflow-hidden blur-3xl sm:top-[calc(100%-30rem)] opacity-60 " >
88
+ < div className = "absolute inset-x-0 top-[calc(100%-13rem)] -z-10 transform-gpu overflow-hidden opacity-60 blur-3xl sm:top-[calc(100%-30rem)]" >
83
89
< svg
84
90
className = "relative left-[calc(50%+3rem)] h-[21.1875rem] max-w-none -translate-x-1/2 sm:left-[calc(50%+36rem)] sm:h-[42.375rem]"
85
91
viewBox = "0 0 1155 678"
0 commit comments