import { Container, Flex, Text, useBreakpointValue } from '@metafam/ds'; import React, { useRef } from 'react'; import BackgroundImageDesktop from '#assets/landing/sections/section-3.jpg'; import BackgroundImageMobile from '#assets/landing/sections/section-3.sm.jpg'; import { FullPageContainer } from '#components/Container'; import { useMotionDetector } from '#lib/hooks/useMotionDetector'; import { useOnScreen } from '#lib/hooks/useOnScreen'; import { LandingNextButton } from './LandingNextButton'; import { LandingPageSectionProps } from './landingSection'; const Build: React.FC = ({ section, nextSection }) => { const ref = useRef(null); const onScreen = useOnScreen(ref); const root = typeof window !== 'undefined' ? document.body : null; const noMotion = useMotionDetector(root); const displayElement = noMotion ? true : !!onScreen; const responsiveBg = useBreakpointValue({ base: BackgroundImageMobile, md: BackgroundImageDesktop, }); return ( While you’re sleeping… People are waking up to the{' '} world-shaping potential of Web3 technologies. They are grabbing the opportunity to{' '} build the future {' '} they want to live in. Web3 technologies are allowing us to{' '} reimagine socioeconomic systems {' '} from the ground up. ); }; export default Build;