diff --git a/public/images/book/dappsar.png b/public/images/book/dappsar.png new file mode 100644 index 00000000..e7897e60 Binary files /dev/null and b/public/images/book/dappsar.png differ diff --git a/src/components/Navbar/NofTown.jsx b/src/components/Navbar/NofTown.jsx index 3adf5e24..ac50b0ca 100644 --- a/src/components/Navbar/NofTown.jsx +++ b/src/components/Navbar/NofTown.jsx @@ -1,16 +1,21 @@ import React from 'react' +import PropTypes from 'prop-types' import Link from 'next/link' -function NofTown() { +function NofTown({ defaultClassName = 'navbar__center__li__noftown' }) { return ( - + ) } +NofTown.propTypes = { + defaultClassName: PropTypes.string +} + export default NofTown diff --git a/src/components/Navbar/Whitepaper.jsx b/src/components/Navbar/Whitepaper.jsx index 6f76d853..003d4a65 100644 --- a/src/components/Navbar/Whitepaper.jsx +++ b/src/components/Navbar/Whitepaper.jsx @@ -1,20 +1,20 @@ import React from 'react' +import PropTypes from 'prop-types' import Link from 'next/link' import { useTranslation } from 'next-i18next' -function Whitepaper() { +function Whitepaper({ defaultClassName = 'navbar__center__li__whitepaper' }) { const { t } = useTranslation() return ( - - + + ) } +Whitepaper.propTypes = { + defaultClassName: PropTypes.string +} + export default Whitepaper diff --git a/src/sections/Main/Main.jsx b/src/sections/Main/Main.jsx index 7a13b7d4..92ec0fb9 100644 --- a/src/sections/Main/Main.jsx +++ b/src/sections/Main/Main.jsx @@ -210,7 +210,7 @@ const Main = () => {

{t ? t('TEAM') : ''}

{Profiles && - Profiles.map((profile) => ( + Profiles.slice(0, 9).map((profile) => (
profile

@@ -226,6 +226,27 @@ const Main = () => { ) const Page8 = () => ( + +

+

{t ? t('TEAM') : ''}

+
+ {Profiles && + Profiles.slice(9).map((profile) => ( +
+ profile +

+ {profile.caption} +
+ {profile.position} +

+
+ ))} +
+
+ + ) + + const Page9 = () => (

{t ? t('FRIENDS') : ''}

@@ -242,7 +263,7 @@ const Main = () => { ) - const Page9 = () => ( + const Page10 = () => ( {!windowSize.mobile && ( <> @@ -259,10 +280,12 @@ const Main = () => { )} {windowSize.mobile && (
-

{t ? t('collections') : ''}

+

{t ? t('cards') : ''}

- - +
+
+ +
)}
@@ -281,7 +304,8 @@ const Main = () => { , , , - + windowSize.mobile ? : , + windowSize.mobile ? : ]} /> ) diff --git a/src/sections/Main/Profiles.json b/src/sections/Main/Profiles.json index 0fe15f02..e55831e8 100644 --- a/src/sections/Main/Profiles.json +++ b/src/sections/Main/Profiles.json @@ -52,5 +52,11 @@ "caption": "N. Huircapan", "position": "Web3 Developer", "icon": "/images/book/Huircapan.png" + }, + { + "id": 10, + "caption": "dappsar", + "position": "Web3/FE Developer", + "icon": "/images/book/dappsar.png" } ] \ No newline at end of file