Skip to content

Commit 1f79ce8

Browse files
committed
Remove [View full PDF] button
1 parent 89590e7 commit 1f79ce8

File tree

1 file changed

+5
-17
lines changed

1 file changed

+5
-17
lines changed

src/app/conf/2025/schedule/[id]/page.tsx

Lines changed: 5 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@ import { metadata as layoutMetadata } from "@/app/conf/2023/layout"
88
import { speakers, schedule } from "../../_data"
99
import { ScheduleSession } from "../../../2023/types"
1010

11-
import ExternalLinkIcon from "@/app/conf/2025/pixelarticons/external-link.svg?svgr"
12-
1311
import { findVideo, SessionVideo } from "./session-video"
1412
import { NavbarPlaceholder } from "../../components/navbar"
1513
import { 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>

0 commit comments

Comments
 (0)