Skip to content

Commit

Permalink
docs(about page): embed youtube playlist (#844)
Browse files Browse the repository at this point in the history
Co-authored-by: Noam Gaash <noam.gaash@gmail.com>
  • Loading branch information
msgewendim and NoamGaash authored Jul 27, 2024
1 parent 573f6c2 commit 2bd169c
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
8 changes: 8 additions & 0 deletions src/pages/about/About.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@ ul {
padding: 0;
}

iframe {
border: none;
border-radius: 8px;
position: relative;
width: 100%;
height: 32rem;
}

li img {
width: 1.9em;
}
Expand Down
15 changes: 14 additions & 1 deletion src/pages/about/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ const About = () => {
{t(`${pageName}.title`)}
</Typography>
<WhatIsWebsite />
<YoutubePlaylist />
<DiscoveredMistake />
<Privacy />
<License />
Expand All @@ -43,7 +44,19 @@ const WhatIsWebsite = () => {
</Widget>
)
}

const YoutubePlaylist = () => {
return (
<iframe
width="560"
height="315"
src="https://www.youtube.com/embed/videoseries?si=oTULlxq8Is188hPu&amp;list=PL6Rh06rT7uiX1AQE-lm55hy-seL3idx3T"
title="YouTube video player"
frameBorder="0"
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"
referrerPolicy="strict-origin-when-cross-origin"
allowFullScreen></iframe>
)
}
const DiscoveredMistake = () => {
const { t } = useTranslation()

Expand Down

0 comments on commit 2bd169c

Please sign in to comment.