feat: hashes in avatar file names (closes #19)
This commit is contained in:
parent
e36bd247f5
commit
163e7c3fd6
17 changed files with 133 additions and 77 deletions
|
@ -9,6 +9,7 @@
|
|||
import PronounLink from "$lib/components/PronounLink.svelte";
|
||||
import FallbackImage from "$lib/components/FallbackImage.svelte";
|
||||
import { Button, Icon } from "sveltestrap";
|
||||
import { memberAvatars } from "$lib/api/entities";
|
||||
|
||||
export let data: PageData;
|
||||
|
||||
|
@ -29,7 +30,7 @@
|
|||
<div class="grid">
|
||||
<div class="row">
|
||||
<div class="col-md text-center">
|
||||
<FallbackImage width={200} urls={data.avatar_urls} alt="Avatar for @{data.name}" />
|
||||
<FallbackImage width={200} urls={memberAvatars(data)} alt="Avatar for @{data.name}" />
|
||||
</div>
|
||||
<div class="col-md">
|
||||
<h2>{data.display_name ?? data.name}</h2>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue