28 lines
538 B
Plaintext
28 lines
538 B
Plaintext
---
|
|
export interface Exec {
|
|
title: string;
|
|
name: string;
|
|
pronouns: string;
|
|
gh: string;
|
|
img: string;
|
|
}
|
|
|
|
const { title, name, pronouns, gh, img } = Astro.props;
|
|
|
|
const img_url = `https://cdn.hullcss.org/assets/exec/${img}`;
|
|
const url = `https://github.com/${gh}`;
|
|
|
|
---
|
|
|
|
|
|
|
|
<div class="exec">
|
|
<div class="exec-pfp">
|
|
<img src={img_url} alt={name}>
|
|
</div>
|
|
<div class="exec-info">
|
|
<h3><b>{title}: <a href={url}>{name}</a> </b> <i> ({pronouns}) </i></h3>
|
|
<p><slot /></p>
|
|
</div>
|
|
</div>
|