-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
42 changed files
with
295 additions
and
61 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
export default function CaptionedImage({ | ||
src, | ||
alt, | ||
caption, | ||
}: { | ||
src: string; | ||
alt: string; | ||
caption: string; | ||
}) { | ||
return ( | ||
<figure className="w-56 flex-shrink-0"> | ||
<img src={src} alt={alt} className="h-auto w-full object-contain" /> | ||
<figcaption>{caption}</figcaption> | ||
</figure> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,89 @@ | ||
const YEAR = '2024/2025'; | ||
const exec: ExecMember[] = [ | ||
{ | ||
name: 'Ben Hammond', | ||
roles: ['President'], | ||
image: require('@site/static/images/home/exec/ben.jpg').default, | ||
}, | ||
{ | ||
name: 'Stan Simmons', | ||
roles: ['Hires Manager', 'Vice President'], | ||
image: require('@site/static/images/home/exec/stan.jpg').default, | ||
}, | ||
{ | ||
name: 'Josh Heng', | ||
roles: ['Treasurer'], | ||
image: require('@site/static/images/home/exec/josh.jpg').default, | ||
}, | ||
{ | ||
name: 'Kishan Sharma', | ||
roles: ['Secretary'], | ||
image: require('@site/static/images/home/exec/kishan.jpg').default, | ||
}, | ||
{ | ||
name: 'Freya Cox', | ||
roles: ['Training Manager'], | ||
image: require('@site/static/images/home/exec/freya.jpg').default, | ||
}, | ||
{ | ||
name: 'Ethan Graham', | ||
roles: ['Equipment Manager', 'Safety Officer'], | ||
image: require('@site/static/images/home/exec/ethan.jpg').default, | ||
}, | ||
{ | ||
name: 'Kit Calvert', | ||
roles: ['Socials and Publicity Secretary', 'Welfare Officer'], | ||
image: require('@site/static/images/home/exec/kit.jpg').default, | ||
}, | ||
{ | ||
name: 'Danny Turner', | ||
roles: ['Socials and Publicity Secretary', 'Equal Opportunities Officer'], | ||
image: require('@site/static/images/home/exec/danny.jpg').default, | ||
}, | ||
]; | ||
|
||
type ExecMember = { | ||
name: string; | ||
roles: string[]; | ||
image: string; | ||
}; | ||
|
||
export default function TheExec() { | ||
return ( | ||
<div> | ||
<h2>The Exec</h2> | ||
<h2>The TechXec</h2> | ||
<p> | ||
The Tech Crew Exec are a group of members elected to oversee the society | ||
and its operations and can be contacted at{' '} | ||
<a href="mailto:[email protected]" target="_blank"> | ||
[email protected] | ||
</a> | ||
. For the year {YEAR}, the TechXec are: | ||
</p> | ||
<div className="flex flex-wrap gap-4 mt-2"> | ||
{exec.map((member) => ( | ||
<article className="overflow-hidden rounded-xl flex w-56 flex-col border-black border-2"> | ||
<header className="bg-black h-10 flex justify-center items-center"> | ||
<div className="rounded-2xl w-12 h-3 mt-0.5 bg-white" /> | ||
</header> | ||
<div className="flex-grow flex flex-col px-4 py-4 text-black"> | ||
<img | ||
src={member.image} | ||
alt={`Image of ${member.name}`} | ||
className="mx-auto mb-2 w-28 h-auto" | ||
/> | ||
<ul className="text-center text-sm"> | ||
{member.roles.map((role) => ( | ||
<li key={role}>{role}</li> | ||
))} | ||
</ul> | ||
</div> | ||
<footer className="bg-black text-white text-center uppercase font-bold text-lg px-2 py-2"> | ||
{member.name} | ||
</footer> | ||
</article> | ||
))} | ||
</div> | ||
</div> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -69,4 +69,8 @@ h2 { | |
|
||
.theme-doc-markdown blockquote { | ||
@apply mb-2; | ||
} | ||
|
||
.theme-doc-markdown p, .content-styling p { | ||
@apply mb-3; | ||
} |
Oops, something went wrong.