File tree Expand file tree Collapse file tree 4 files changed +14
-58
lines changed Expand file tree Collapse file tree 4 files changed +14
-58
lines changed Original file line number Diff line number Diff line change @@ -60,5 +60,6 @@ export default {
6060 'PyCon Korea 2022 will be held both online and offline. The talks will be streamed on the PyCon Korea YouTube(https://www.youtube.com/c/PyConKRtube).' ,
6161 pyConKrYoutube : 'PyCon Korea YouTube' ,
6262 firstFloor : 'First Floor' ,
63- secondFloor : 'Second Floor'
63+ secondFloor : 'Second Floor' ,
64+ videoLink : 'Video Link'
6465}
Original file line number Diff line number Diff line change @@ -65,5 +65,6 @@ export default {
6565 '파이콘 한국 2022는 파이콘 한국 유튜브 채널(https://www.youtube.com/c/PyConKRtube)에서 시청 가능합니다. 세션은 온라인과 오프라인 동시에 진행됩니다.' ,
6666 pyConKrYoutube : '파이콘 한국 유튜브' ,
6767 firstFloor : '1층' ,
68- secondFloor : '2층'
68+ secondFloor : '2층' ,
69+ videoLink : '발표 영상'
6970}
Original file line number Diff line number Diff line change @@ -16,13 +16,6 @@ interface TalkTableProps extends PageProps {
1616 data : ITalkList
1717}
1818
19- const LinkList = styled . li `
20- list-style: disc;
21- a {
22- color: ${ ( props ) => props . theme . colors . blue0 } ;
23- }
24- `
25-
2619const ButtonWrap = styled . div `
2720 margin-top: 1.5rem;
2821`
@@ -66,58 +59,9 @@ const TalkSchedule: NextPage = (props: TalkTableProps) => {
6659 isSameDay ( new Date ( item . video_open_at ) , new Date ( 2022 , 9 , 2 ) )
6760 )
6861
69- const trackLinkGroup = [
70- {
71- day : 'day1' ,
72- links : [
73- {
74- track : '트랙1' ,
75- link : `https://youtu.be/OrrquS5PFtw`
76- } ,
77- {
78- track : '트랙2' ,
79- link : `https://youtu.be/pJGRoe-jt9E`
80- }
81- ]
82- } ,
83- {
84- day : 'day2' ,
85- links : [
86- {
87- track : '트랙3' ,
88- link : `https://youtu.be/L6Lz793mzrU`
89- } ,
90- {
91- track : '트랙4' ,
92- link : `https://youtu.be/10qBldkS0wk`
93- }
94- ]
95- }
96- ]
97-
9862 return (
9963 < div >
10064 < PageTitle title = { pageName } />
101- < ul >
102- { trackLinkGroup
103- . filter ( ( item ) => item . day === selectedDay )
104- . map ( ( item , index ) => (
105- < div key = { `linkGroup-${ index } ` } >
106- { item . links . map ( ( linkItem , index ) => (
107- < LinkList key = { `linkItem-${ index } ` } >
108- 세션 { linkItem . track } 링크:{ ' ' }
109- < a
110- href = { linkItem . link }
111- target = { '_blank' }
112- rel = "noreferrer"
113- >
114- { linkItem . link }
115- </ a >
116- </ LinkList >
117- ) ) }
118- </ div >
119- ) ) }
120- </ ul >
12165 < ButtonWrap >
12266 < TalkTableToggleButton handleClick = { updateSelectedDay } />
12367 </ ButtonWrap >
Original file line number Diff line number Diff line change @@ -24,6 +24,9 @@ const DetailContainer = styled.div`
2424const Description = styled . div `
2525 margin-top: 2rem;
2626 white-space: pre-line;
27+ & + & {
28+ margin-top: 4rem;
29+ }
2730`
2831
2932const SpeakerContainer = styled . div `
@@ -39,6 +42,7 @@ const TalkListDetail: NextPage = (props: TalkListDetailProps) => {
3942 name : item . user_name ,
4043 introduction : item . introduction
4144 }
45+ const videoUrl = item . video_url ?? ''
4246
4347 return (
4448 < DetailContainer >
@@ -59,6 +63,12 @@ const TalkListDetail: NextPage = (props: TalkListDetailProps) => {
5963 < Heading3 useGradient = { true } > { t ( 'label:description' ) } </ Heading3 >
6064 < Linkify > { item . desc } </ Linkify >
6165 </ Description >
66+ < Description >
67+ < Heading3 useGradient = { true } > { t ( 'label:videoLink' ) } </ Heading3 >
68+ < a href = { videoUrl } target = { '_blank' } rel = "noreferrer" >
69+ { videoUrl }
70+ </ a >
71+ </ Description >
6272 < SpeakerContainer >
6373 < Heading3 useGradient = { true } >
6474 { t ( 'label:speakerIntro' ) }
You can’t perform that action at this time.
0 commit comments