@@ -4,6 +4,7 @@ import { ErrorBoundary, Suspense } from "@suspensive/react";
44import { DateTime } from "luxon" ;
55import * as React from "react" ;
66import { Navigate , useParams } from "react-router-dom" ;
7+ import * as R from "remeda" ;
78
89import PyCon2025Logo from "../../assets/pyconkr2025_logo.png" ;
910import { useAppContext } from "../../contexts/app_context" ;
@@ -147,7 +148,8 @@ export const PresentationDetailPage: React.FC = ErrorBoundary.with(
147148 const descriptionFallback = language === "ko" ? "해당 발표의 설명은 준비 중이에요!" : "Description of the presentation is under preparation!" ;
148149 const categoriesStr = language === "ko" ? "카테고리" : "Categories" ;
149150 const speakersStr = language === "ko" ? "발표자" : "Speakers" ;
150- // const slideShowStr = language === "ko" ? "발표 슬라이드" : "Presentation Slideshow";
151+ const slideShowStr = language === "ko" ? "발표 슬라이드" : "Presentation Slideshow" ;
152+ const slideShowLinkStr = language === "ko" ? "링크" : "Link" ;
151153
152154 const datetimeLabel = language === "ko" ? "발표 시각" : "Presentation Time" ;
153155 const datetimeSeparator = language === "ko" ? " ~ " : " - " ;
@@ -232,17 +234,14 @@ export const PresentationDetailPage: React.FC = ErrorBoundary.with(
232234 </ TableCell >
233235 </ TableRow >
234236 ) : null }
237+ { R . isString ( presentation . public_slideshow_file ) ? (
238+ < TableRow >
239+ < TableCell children = { < Typography variant = "subtitle1" fontWeight = "bold" children = { slideShowStr } /> } />
240+ < TableCell children = { < Common . Components . LinkHandler href = { presentation . public_slideshow_file } children = { slideShowLinkStr } /> } />
241+ </ TableRow >
242+ ) : null }
235243 </ TableBody >
236244 </ Table >
237- { /* {presentation.slideshow_url && (
238- <>
239- <Typography variant="subtitle1" fontWeight="bold" sx={{ width: "100%", p: 2, a: { color: "blue" } }}>
240- {slideShowStr} :
241- <Common.Components.LinkHandler href={presentation.slideshow_url} children={presentation.slideshow_url} />
242- </Typography>
243- <Divider flexItem />
244- </>
245- )} */ }
246245 { presentation . image && (
247246 < StyledPresentationImage
248247 alt = "Presentation Image"
0 commit comments