35 lines
835 B
Plaintext
35 lines
835 B
Plaintext
---
|
|
import { formatRecorder } from "src/utils/format";
|
|
import Metadata from "./Metadata.astro";
|
|
|
|
interface Props {
|
|
translators?: string[] | undefined;
|
|
transcribers?: string[] | undefined;
|
|
proofreaders?: string[] | undefined;
|
|
}
|
|
|
|
const { translators = [], transcribers = [], proofreaders = [] } = Astro.props;
|
|
---
|
|
|
|
{
|
|
/* ------------------------------------------- HTML ------------------------------------------- */
|
|
}
|
|
|
|
<Metadata
|
|
icon="material-symbols:person-outline"
|
|
title="Translators"
|
|
values={translators.map((id) => formatRecorder(id))}
|
|
/>
|
|
|
|
<Metadata
|
|
icon="material-symbols:person-edit-outline"
|
|
title="Transcribers"
|
|
values={transcribers.map((id) => formatRecorder(id))}
|
|
/>
|
|
|
|
<Metadata
|
|
icon="material-symbols:person-check-outline"
|
|
title="Proofreaders"
|
|
values={proofreaders.map((id) => formatRecorder(id))}
|
|
/>
|