File tree 2 files changed +40
-0
lines changed
src/frontend/src/pages/VideoPage
2 files changed +40
-0
lines changed Original file line number Diff line number Diff line change
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 ;
Original file line number Diff line number Diff line change
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
+ ` ;
You can’t perform that action at this time.
0 commit comments