mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-11-12 13:30:35 +08:00
Fix project metadata rendering
This commit is contained in:
@@ -82,9 +82,9 @@
|
||||
<div class="anchor">
|
||||
<span>commit {project.anchor.stateHash}</span>
|
||||
<span>
|
||||
{#each meta.maintainers as user}
|
||||
{#each meta.maintainers as urn}
|
||||
<span class="avatar">
|
||||
<Blockies address={user.urn} />
|
||||
<Blockies address={urn} />
|
||||
</span>
|
||||
{/each}
|
||||
</span>
|
||||
|
||||
+3
-6
@@ -1,6 +1,8 @@
|
||||
import type { Config } from '@app/config';
|
||||
import * as api from '@app/api';
|
||||
|
||||
export type Urn = string;
|
||||
|
||||
export interface Project {
|
||||
id: string;
|
||||
anchor: {
|
||||
@@ -8,15 +10,10 @@ export interface Project {
|
||||
};
|
||||
}
|
||||
|
||||
export interface Person {
|
||||
urn: string;
|
||||
avatar: { emoji: string; background: { r: number; g: number; b: number } };
|
||||
}
|
||||
|
||||
export interface Meta {
|
||||
name: string;
|
||||
description: string;
|
||||
maintainers: Person[];
|
||||
maintainers: Urn[];
|
||||
}
|
||||
|
||||
export interface Author {
|
||||
|
||||
Reference in New Issue
Block a user