From 54273b85f3fe6f7d58fbb4195cbaf24f3ac42450 Mon Sep 17 00:00:00 2001 From: AurelienFT Date: Thu, 23 May 2024 13:54:28 +0200 Subject: [PATCH] add text faq --- frontend/.eslintrc.cjs | 1 + frontend/src/App.tsx | 29 +++++++++++++++++++++++++++-- 2 files changed, 28 insertions(+), 2 deletions(-) diff --git a/frontend/.eslintrc.cjs b/frontend/.eslintrc.cjs index 7e09b46..a4b92ac 100644 --- a/frontend/.eslintrc.cjs +++ b/frontend/.eslintrc.cjs @@ -3,5 +3,6 @@ module.exports = { plugins: ['html', 'import'], rules: { 'no-console': 'off', + 'max-len': ['error', { ignoreStrings: true, code: 120 }], }, }; diff --git a/frontend/src/App.tsx b/frontend/src/App.tsx index 42ee78f..20506a6 100644 --- a/frontend/src/App.tsx +++ b/frontend/src/App.tsx @@ -7,12 +7,37 @@ import { MNSManagement } from './components/MNSManagement'; const faqData: FAQData[] = [ { question: 'What is Massa Name Service ?', - answer: 'Massa Name Service is a decentralized naming ...', + answer: + 'Massa Name Service is a decentralized naming service which allows users and smart contracts to be recognized on the Massa blockchain.', }, { question: 'How do I register a name ?', answer: - 'To register a name, you must connect your wallet and search for an available name...', + 'To register a name, you need to connect your Massa wallet and enter the name you want to register in the claim section. If the name is available, you can claim it by paying the registration fee.', + }, + { + question: 'How much does it cost to register a name ?', + answer: + 'The cost depends on the size of the name. 10000 coins for 2 characters, 1000 coins for 3 characters, 100 coins for 4 characters, 10 coins for 5 characters and 1 coin for 6 and more characters. An little additional amount is taken to cover storage fees. You can see the exact price while typing a domain in the claim section.', + }, + { + question: 'How do I transfer a name ?', + answer: + 'Massa Names are NFTs and can be transferred like any other NFT. You can transfer them on purrfect universe using the icon at the top of the page.', + }, + { + question: 'Can I change the address my name is targeting ?', + answer: + 'Yes you can change the address your name is targeting by using the edit icon in the management section. It will change the target address but you will still be the owner of the name.', + }, + { + question: 'For how long is a name registered ?', + answer: 'Forever.', + }, + { + question: 'Can I free my name and get my coins back ?', + answer: + 'Yes you can free your name using the trash icon in the management section. You will get half of the coins you paid for the registration back.', }, ];