From bfd5e4de60a37277d392482a20aa777ca31d3765 Mon Sep 17 00:00:00 2001 From: xiaowang256 <111274524+xiaowangxiaowang256256@users.noreply.github.com> Date: Sun, 17 Mar 2024 00:32:02 +0800 Subject: [PATCH] refactor: extract contributor (#75) --- src/utils/contributor.ts | 1 + src/views/contributor.vue | 84 +++++++++++++++++++++++++-------------- 2 files changed, 56 insertions(+), 29 deletions(-) diff --git a/src/utils/contributor.ts b/src/utils/contributor.ts index cf16090..2d69dac 100644 --- a/src/utils/contributor.ts +++ b/src/utils/contributor.ts @@ -10,6 +10,7 @@ export interface RawContributor { github: string blog?: string twitter?: string + title?: string audios?: Link[] videos?: Link[] description: string diff --git a/src/views/contributor.vue b/src/views/contributor.vue index 0754370..01f79fe 100644 --- a/src/views/contributor.vue +++ b/src/views/contributor.vue @@ -26,40 +26,66 @@ if (contributor.value)