This commit is contained in:
Malted 2023-09-14 20:57:30 +01:00
parent d7f3e8b81d
commit c3c741f26b
No known key found for this signature in database
3 changed files with 7 additions and 5 deletions

View file

@ -3,7 +3,7 @@ import Icon from '@hackclub/icons'
import { useState } from 'react'
export default function Bio({ popup = true, spanTwo = false, ...props }) {
let { img, name, teamRole, pronouns, text, subrole, href } = props
let { img, name, teamRole, pronouns, text, subrole, href, video } = props
const [expand, setExpand] = useState(false)
return (
<>
@ -102,7 +102,7 @@ export default function Bio({ popup = true, spanTwo = false, ...props }) {
<Text mt={2} mb={0} color="black">
{text}
</Text>
{name === 'Ben Dixon' && (
{video && (
<Flex
sx={{
marginTop: 4,
@ -113,7 +113,7 @@ export default function Bio({ popup = true, spanTwo = false, ...props }) {
>
<iframe
width="100%"
src="https://www.youtube-nocookie.com/embed/POv-3yIPSWc?si=25WKed0HkazCZZOz"
src={video}
title="YouTube video player"
frameborder="0"
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"

View file

@ -1098,7 +1098,7 @@ function Page({
<iframe
width="560"
height="315"
src="https://www.youtube-nocookie.com/embed/sJNK4VKeoBM?si=zvhDKhb9C5G2b4TJ&amp;controls=1&autoplay=1&mute=1"
src="https://www.youtube-nocookie.com/embed/sJNK4VKeoBM?si=zvhDKhb9C5G2b4TJ&controls=1&autoplay=1&mute=1"
title="YouTube video player"
frameborder="0"
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"
@ -1118,7 +1118,7 @@ function Page({
<iframe
width="560"
height="315"
src="https://www.youtube-nocookie.com/embed/ChBg4aowzX8?si=X2J_T95yiaKXB2q4&amp;controls=1&autoplay=1&mute=1"
src="https://www.youtube-nocookie.com/embed/ChBg4aowzX8?si=X2J_T95yiaKXB2q4&controls=1&autoplay=1&mute=1"
title="YouTube video player"
frameborder="0"
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"

View file

@ -304,6 +304,7 @@ export default function Team() {
text="Liv recently graduated from the University of Vermont, where she studied health policy and gained experience as a writing fellow and business assistant. Originally from New York City, she is always eager to be one in a fast-paced community of diverse thinking and grand ideas. Supporting projects and makers with incredible goals is her favorite part about being at Hack Club."
img="/team/liv.png"
pronouns="she/her"
video="https://www.youtube-nocookie.com/embed/MtN1YnoL46Q?si=FJcJN7kMptzBaGn4"
/>
<Bio
name="Gary Tou"
@ -338,6 +339,7 @@ export default function Team() {
text={`Coming all the way from drizzly England, Ben reconnected with his adoration for teaching people about programming through the computer graphics demoscene during lockdown; firmly believing “HLSL is basically pseudocode”. At Hack Club, Ben designs and implements snazzy new features at HCB, along with raiding their granola bars.`}
img="https://ca.slack-edge.com/T0266FRGM-U03DFNYGPCN-d76abb1ba329-512"
pronouns="he/him"
video="https://www.youtube-nocookie.com/embed/POv-3yIPSWc?si=25WKed0HkazCZZOz"
/>
</Grid>
</Box>