From abf6a6077d968c65040a6fd10a15a4808225c8ca Mon Sep 17 00:00:00 2001 From: Marie Gauthier Date: Thu, 23 May 2024 04:07:23 +0200 Subject: [PATCH] feat: add project card prompt to profile page (#60) * feat: add project card prompt to profile page * fix: set profilePage as unique --- schemas/documents/registry/profilePage.js | 7 +++++++ uniqueDocuments.js | 1 + 2 files changed, 8 insertions(+) diff --git a/schemas/documents/registry/profilePage.js b/schemas/documents/registry/profilePage.js index 93a7599..06f9eb8 100644 --- a/schemas/documents/registry/profilePage.js +++ b/schemas/documents/registry/profilePage.js @@ -10,5 +10,12 @@ export default { description: 'This card gets displayed the first time a user accesses his/her own profile page', }, + { + title: 'Project card prompt', + name: 'projectCardPrompt', + type: 'customPortableText', + description: + 'This prompt gets displayed on off-chain projects cards on project admin\'s private view of their projects', + }, ], }; diff --git a/uniqueDocuments.js b/uniqueDocuments.js index 4edc0c6..da62dab 100644 --- a/uniqueDocuments.js +++ b/uniqueDocuments.js @@ -31,4 +31,5 @@ export const uniqueDocuments = [ 'tokenPage', 'validatorsPage', 'walletAddressRegistrationPage', + 'profilePage' ];