File tree Expand file tree Collapse file tree 1 file changed +5
-17
lines changed
src/app/conf/2025/schedule/[id] Expand file tree Collapse file tree 1 file changed +5
-17
lines changed Original file line number Diff line number Diff line change @@ -8,8 +8,6 @@ import { metadata as layoutMetadata } from "@/app/conf/2023/layout"
88import { speakers , schedule } from "../../_data"
99import { ScheduleSession } from "../../../2023/types"
1010
11- import ExternalLinkIcon from "@/app/conf/2025/pixelarticons/external-link.svg?svgr"
12-
1311import { findVideo , SessionVideo } from "./session-video"
1412import { NavbarPlaceholder } from "../../components/navbar"
1513import { BackLink } from "../_components/back-link"
@@ -108,21 +106,11 @@ export default function SessionPage({ params }: SessionProps) {
108106
109107 < div className = "py-8 xl:mt-16" >
110108 { event . files ?. map ( ( { path } ) => (
111- < div key = { path } className = "flex flex-col" >
112- < Button
113- variant = "tertiary"
114- href = { path }
115- target = "_blank"
116- rel = "noreferrer"
117- className = { clsx (
118- "m-1 h-fit items-center gap-x-2 self-end bg-neu-100 !p-2 text-neu-700 transition-opacity hover:bg-neu-200/80 hover:text-neu-900 disabled:opacity-0" ,
119- ) }
120- >
121- View full PDF
122- < ExternalLinkIcon className = "size-4" />
123- </ Button >
124- < iframe src = { path } className = "aspect-video size-full" />
125- </ div >
109+ < iframe
110+ key = { path }
111+ src = { path }
112+ className = "aspect-video size-full"
113+ />
126114 ) ) }
127115 </ div >
128116 </ section >
You can’t perform that action at this time.
0 commit comments