Skip to content

Commit

Permalink
feat: style video in expanding container
Browse files Browse the repository at this point in the history
  • Loading branch information
CraigMcCahill committed Dec 19, 2022
1 parent 20dfd4f commit 0b4c46e
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions src/pages/beta/teachers/lessons/[lessonSlug].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -155,13 +155,16 @@ const LessonOverviewPage: NextPage<LessonOverviewPageProps> = ({
<Box>Presentaion element</Box>
</ExpandingContainer>
<ExpandingContainer title={"Video"} downloadable={true}>
{/* video goes here */}
<VideoPlayer
playbackId={video}
playbackPolicy={"signed"}
title={lessonTitle}
location={"lesson"}
/>
<Flex $mt={[0, 16]} $justifyContent={"center"} $width={"100%"}>
<Box $maxWidth={["100%", 840]}>
<VideoPlayer
playbackId={video}
playbackPolicy={"signed"}
title={lessonTitle}
location={"lesson"}
/>
</Box>
</Flex>
</ExpandingContainer>
<ExpandingContainer title={"Worksheet"} downloadable={true}>
<Box>Worksheet element</Box>
Expand Down

0 comments on commit 0b4c46e

Please sign in to comment.