Skip to content

Commit 61a7bb5

Browse files
committed
Add slides buttons
1 parent 67b4440 commit 61a7bb5

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/pages/sessions/[...slug].astro

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ const {
6767
language,
6868
showInFeedback,
6969
videoLink,
70+
presentationLink,
7071
} = Astro.props
7172
7273
const rawAbstract = abstract ? markdownToTxt(abstract) : undefined
@@ -116,6 +117,12 @@ const openFeedbackLink = showInFeedback
116117
Voir le replay
117118
</ButtonLink>
118119
)
120+
}{
121+
presentationLink && (
122+
<ButtonLink href={presentationLink} target="_blank" external>
123+
Voir les slides
124+
</ButtonLink>
125+
)
119126
}
120127
<Stack>
121128
{

0 commit comments

Comments
 (0)