Update the invite others screen to match with the design

This commit is contained in:
harshithpabbati 2022-01-17 14:07:22 +05:30
parent 623c15f2d3
commit f4564acca1
1 changed files with 59 additions and 51 deletions

View File

@ -3,20 +3,25 @@ import Button from '@custom/shared/components/Button';
import { Card, CardBody, CardHeader } from '@custom/shared/components/Card'; import { Card, CardBody, CardHeader } from '@custom/shared/components/Card';
import { TextInput } from '@custom/shared/components/Input'; import { TextInput } from '@custom/shared/components/Input';
import Tile from '@custom/shared/components/Tile'; import Tile from '@custom/shared/components/Tile';
import VideoContainer from '@custom/shared/components/VideoContainer';
import { DEFAULT_ASPECT_RATIO } from '@custom/shared/constants'; import { DEFAULT_ASPECT_RATIO } from '@custom/shared/constants';
import { useParticipants } from '@custom/shared/contexts/ParticipantsProvider'; import { useParticipants } from '@custom/shared/contexts/ParticipantsProvider';
import Container from './Container';
import Header from './Header';
export const InviteOthers = () => { export const InviteOthers = () => {
const { localParticipant } = useParticipants(); const { localParticipant } = useParticipants();
return ( return (
<Container>
<Header />
<VideoContainer>
<div className="invite-wrapper"> <div className="invite-wrapper">
<div className="invite-others"> <div className="invite-others">
<Card variant="dark"> <Card variant="dark">
<CardHeader> <CardHeader>Waiting for others to join?</CardHeader>
Waiting for others to join!
</CardHeader>
<CardBody> <CardBody>
<h3>Copy the link and invite them to the call!</h3>
<div className="link"> <div className="link">
<TextInput <TextInput
variant="border" variant="border"
@ -56,11 +61,14 @@ export const InviteOthers = () => {
} }
.preview { .preview {
position: absolute;
bottom: 0;
width: 186px; width: 186px;
} }
`} `}</style>
</style>
</div> </div>
</VideoContainer>
</Container>
) )
} }