Skip to content

Commit 7fe0db8

Browse files
committed
[FE] feat: 참여자가 없는 비디오 페이지 기본 레이아웃 구현 (#74)
1 parent ede426f commit 7fe0db8

File tree

2 files changed

+40
-0
lines changed

2 files changed

+40
-0
lines changed
+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
import { useState } from 'react';
2+
3+
import { BodyRegularText, TitleText1 } from '@/styles/Typography';
4+
5+
import * as S from './styles';
6+
7+
const VideoPage = () => {
8+
const [isAttend, setIsAttend] = useState(false);
9+
10+
return (
11+
<S.VideoPage>
12+
{isAttend ? (
13+
<>참여시 비디오들</>
14+
) : (
15+
<S.EmptyParticipant>
16+
<TitleText1>채널 이름</TitleText1>
17+
<BodyRegularText>현재 음성 채널에 아무도 없어요</BodyRegularText>
18+
</S.EmptyParticipant>
19+
)}
20+
</S.VideoPage>
21+
);
22+
};
23+
24+
export default VideoPage;
+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
import styled from 'styled-components';
2+
3+
export const VideoPage = styled.div`
4+
display: flex;
5+
width: 100%;
6+
color: white;
7+
`;
8+
9+
export const EmptyParticipant = styled.div`
10+
display: flex;
11+
flex-direction: column;
12+
align-items: center;
13+
justify-content: center;
14+
15+
width: 100%;
16+
`;

0 commit comments

Comments
 (0)