diff --git a/src/pages/Home.tsx b/src/pages/Home.tsx index c4941fb..eefeb6f 100644 --- a/src/pages/Home.tsx +++ b/src/pages/Home.tsx @@ -1,6 +1,7 @@ import BackToTopButton from '../shared/components/backtotop' import AboutSection from '../shared/components/home/AboutSection' import FirstSection from '../shared/components/home/FirstSection' +import QnASection from '../shared/components/home/QnASection' import RoadMap from '../shared/components/home/RoadMap' import TokenomicsSection from '../shared/components/home/TokenomicsSection' @@ -13,6 +14,7 @@ const Home = (props: Props) => { + ) diff --git a/src/shared/components/home/FirstSection.tsx b/src/shared/components/home/FirstSection.tsx index dee53ab..8fdc83c 100644 --- a/src/shared/components/home/FirstSection.tsx +++ b/src/shared/components/home/FirstSection.tsx @@ -9,9 +9,10 @@ import { BsTwitter, BsTelegram, BsInstagram, + BsRocketFill, } from 'react-icons/bs' - -import { MdContentCopy } from 'react-icons/md' +import { IoCopyOutline } from 'react-icons/io5' +import { TbAddressBook } from 'react-icons/tb' import { useSprings, useSpring, animated } from '@react-spring/web' const socials = [ @@ -50,7 +51,7 @@ const socials = [ const FirstSection = () => { const address = '0x3c97331438e90680a17c35905ffc2b8ef760f844' const truncateAddress = (address: string) => { - return address.slice(0, 8) + '......' + address.slice(-7) + return address.slice(0, 5) + '......' + address.slice(-5) } const copyToClipboard = (address: string) => { @@ -98,26 +99,56 @@ const FirstSection = () => {
-

- Join Our Community -

- -
- {socials.map((social) => ( - - ))} +
+
+ +

+ Address on BSC{' '} +

+ +
+
+ {truncateAddress(address)} + +
+ {/*
+
+ +

+ Join Our Community{' '} +

+ +
+
+ {socials.map((social) => ( + + ))} +
+
*/}
diff --git a/src/shared/components/home/QnASection.tsx b/src/shared/components/home/QnASection.tsx new file mode 100644 index 0000000..5cccfb6 --- /dev/null +++ b/src/shared/components/home/QnASection.tsx @@ -0,0 +1,28 @@ +import { useSpring, animated } from '@react-spring/web' +import React, { useEffect, useRef, useState } from 'react' +import { VscDebugBreakpointLog } from 'react-icons/vsc' + +type Props = {} + +const QnASection = (props: Props) => { + return ( +
+
+

+ FAQS +

+

+ See some of the most frequently asked questions about Fight + {/* Out here. Got a question that’s not on the list? Let us know + below! */} +

+
+
ABC
+
+ ) +} + +export default QnASection