diff --git a/src/pages/ValidatorOnboarding/Advicsories/Advicsories.tsx b/src/pages/ValidatorOnboarding/Advicsories/Advicsories.tsx
index b9c69351..eca88eaa 100644
--- a/src/pages/ValidatorOnboarding/Advicsories/Advicsories.tsx
+++ b/src/pages/ValidatorOnboarding/Advicsories/Advicsories.tsx
@@ -1,8 +1,21 @@
import { Button, Shadow, Text } from '@status-im/components'
+import { useState } from 'react'
import { Stack, XStack, YStack } from 'tamagui'
-import { Link } from 'react-router-dom'
+import AdvisoriesContent from './AdvisoriesContent'
const Advicsories = () => {
+ const [selectedTitle, setSelectedTitle] = useState('Bad Behaviour')
+
+ const advisoryTopics = {
+ 'Proof of Stake': 'This is content for Proof of Stake...',
+ Deposit: 'This is content for Deposit...',
+ 'Key Management': 'This is content for Key Management...',
+ 'Bad Behaviour':
+ 'If you try to cheat the system, or act contrary to the specification, you will be liable to incur a penalty known as slashing*. Running your validator keys simultaneously on two or more machines will result in slashing.* Simply being offline with an otherwise healthy network does not result in slashing, but will result in small inactivity penalties.',
+ Requirements: 'This is content for Requirements...',
+ Risks: 'This is content for Risks...',
+ }
+ const unicodeNumbers = ['➀', '➁', '➂', '➃', '➄', '➅']
return (
<>
{
style={{ padding: '16px 32px' }}
>
- Advisories
- ① Proof of Stake
- ② Deposit
- ③ Key Management
-
- ④ Bad Behaviour
-
- ⑤ Requirements
- ⑤ Risks
+
+ Advisories
+
+ {Object.keys(advisoryTopics).map((title, index) => (
+ setSelectedTitle(title)}
+ style={{ cursor: 'pointer' }}
+ >
+
+ {unicodeNumbers[index]} {title}
+
+
+ ))}
- Bad Behaviour
-
- If you try to cheat the system, or act contrary to the specification, you will be
- liable to incur a penalty known as slashing*. Running your validator keys
- simultaneously on two or more machines will result in slashing.* Simply being offline
- with an otherwise healthy network does not result in slashing, but will result in
- small inactivity penalties.
-
-
-
- The Ethereum consensus layer specification
-
-
-
-
- More on slashing risks
-
-
+
diff --git a/src/pages/ValidatorOnboarding/Advicsories/AdvisoriesContent.tsx b/src/pages/ValidatorOnboarding/Advicsories/AdvisoriesContent.tsx
new file mode 100644
index 00000000..b6405dd4
--- /dev/null
+++ b/src/pages/ValidatorOnboarding/Advicsories/AdvisoriesContent.tsx
@@ -0,0 +1,31 @@
+import { Text } from '@status-im/components'
+import { Link } from 'react-router-dom'
+type AdvisoriesContentProps = {
+ title: string
+ content: string
+}
+const AdvisoriesContent = ({ title, content }: AdvisoriesContentProps) => {
+ return (
+ <>
+ {title}
+ {content}
+
+
+ The Ethereum consensus layer specification
+
+
+
+
+ More on slashing risks
+
+
+ >
+ )
+}
+export default AdvisoriesContent