Feat/exec info (#17)

* Update Execs.astro

* updated pfps

Signed-off-by: Ash Entwisle <ash.entwisle@protonmail.com>

---------

Signed-off-by: Ash Entwisle <ash.entwisle@protonmail.com>
issue/index
Ash 2023-10-26 14:05:36 +01:00 committed by GitHub
parent 7d791c0df2
commit cad68314a3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 15 additions and 11 deletions

BIN
public/assets/exec/alex.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 571 KiB

BIN
public/assets/exec/ash.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 48 KiB

BIN
public/assets/exec/will.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 MiB

View File

@ -10,6 +10,7 @@ export interface Exec {
const { title, name, pronouns, gh, img } = Astro.props;
const img_url = `/assets/execs/${img}`;
const url = `https://github.com/${gh}`;
---
@ -20,7 +21,7 @@ const img_url = `/assets/execs/${img}`;
<img src={img_url} alt={name}>
</div>
<div class="exec-info">
<h3><b>{title}: <a href={gh}>{name}</a> </b> <i> ({pronouns}) </i></h3>
<h3><b>{title}: <a href={url}>{name}</a> </b> <i> ({pronouns}) </i></h3>
<slot />
</div>
</div>

View File

@ -8,8 +8,8 @@ import Exec from "./Exec.astro";
<Exec
title="President"
name="Zoe"
pronouns="add/here"
gh="add-here"
pronouns="she/her"
gh="zoeelen"
img="zoe.png"
>
lorem
@ -18,8 +18,8 @@ import Exec from "./Exec.astro";
<Exec
title="Secretary"
name="Will"
pronouns="add/here"
gh="add-here"
pronouns="he"
gh=""
img="will.png"
>
Hey! I'm Will and I am a second year computer science student on the year industry course.
@ -31,18 +31,21 @@ import Exec from "./Exec.astro";
<Exec
title="Treasurer"
name="Alex"
pronouns="add/here"
gh="add-here"
pronouns="he/him"
gh="alex8obrien"
img="alex.png"
>
lorem
Hi, I'm Alex the treasurer for the 23/24 executive committee.
My role is to manage the society finances and ensure we can afford to run fun events throughout the year.
In my spare time, I like to work on my personal projects including my website and public libraries.
I can't wait to meet you all and enjoy the year with HullCSS.
</Exec>
<Exec
title="Social Secretary"
name="Aren"
pronouns="add/here"
gh="add-here"
pronouns="he/him"
gh="arenmarsden"
img="aren.png"
>
lorem
@ -61,4 +64,4 @@ import Exec from "./Exec.astro";
Feel free to message me on discord if you need a hand with anything.
</Exec>
</div>
</div>