/// DATA USED IN APP const nav_links_data = [ { title : 'follow us on x', link: 'https://x.com/fLxtime1' }, { title : 'join Discord', link: 'https://discord.com/invite/KYJyxH42xk' }, { title : 'docs', link: 'https://flxtime.fun/docs/' }, { title : 'trade $FLXT', link: 'https://www.birdeye.so/token/CwMuoD9nK6LEN6BwzLVZEmbuJXm8rXfzRGaM1YGim14h?chain=solana' }, ] const footer_links = [ { title : 'flex with us @FIxtime1', icon: './assets/icon/x.svg', link:'https://x.com/fLxtime1' }, { title : 'join the fun at discord', icon: './assets/icon/discord.svg', link:'https://discord.com/invite/KYJyxH42xk' }, { title : 'CA: CwMuoD9nK6LEN6BwzLVZEmbuJXm8rXfzRGaM1YGim14h', icon: './assets/icon/cre.svg', } ] const flex_cards = [ { id: 1, title: "Rewards", description: "Submit proofs to the oracle, and you will be rewarded for valid submissions.", icon:"../assets/icon/rewards.svg", // Path to the image }, { id: 2, title: "Community", description: "Be part of a global, fast-growing, and active Flexers community.", icon: "../assets/icon/union.svg", // Path to the image }, { id: 3, title: "Multi-modal", description: "Choose where you want to mine. Use Crankk, ESP32-S3 Board, Docker, and more.", icon: "../assets/icon/cards.svg", // Path to the image }, ]; const token_map = [ { title : '70% mining rewards', icon : './assets/img/reward-img.png' }, { title : '8% staking rewards', icon : './assets/img/stake-img.png' }, { title : '2% airdrop', icon : './assets/img/airdrop-img.png' }, { title : '10% partnerships', icon : './assets/img/partners-img.png' }, { title : '5% founding team (3-years locked)', icon : './assets/img/community-img.png' }, { title : '5% strategic reserves', icon : './assets/img/reserve-img.png' }, { title : '10B total supply', icon : './assets/img/timeframe-img.png' } ] ///============== MAIN HOME PAGE COMPONENT function App (){ return(
{/*
*/}
) } //=============== SECTIONS ///NAVBAR // this is the top bar navigation section function NavBar(){ const[icon, setIcon] = React.useState('menu'); // stores BOXICON assign name for icons used in menu button ///handle menu open and close || switching of menu button icon // i'm only using icon value to conditionally display menu tray on small screens because of speed const handleOpenMenu = () => setIcon(oldValue => oldValue === 'menu' ? 'x' : 'menu'); return( ) } ///HERO SECTION function HeroSection({className =''}){ return(

FIxTime

Make time more rewarding.
Learn more
) } // Project Description function ProjectDesc({className = ''}) { return (
circle-text

FIxTime

/ flex•time /

FlxTime is a project that allows miners (Flexers) to mine tokens using the method they want—via Crankk, ESP32-S3 board, Docker, and more.

our logo
) } // BECOME A FLEXER SECTION function Flexer({className = ''}) { return(

Ready to become a Flexer ?

{flex_cards.map(({description, id, icon, title})=>())}
) } // Tokenomics Section Component function TokenomicsSection({className = ''}) { return (
); } // Stake Section Component function StakeSection({className =''}) { return (

Stake your time

Watch your $FLXT grow! Staking is available via the Console.

); } // Footer Component function Footer({className=''}) { return ( ); } //====CHILD COMPONENTS ///NAV LINK //nav link takes title of the link and the actual link const NavLink= React.memo(({title, link})=>{ if (link) { return( {title} {/* boxIcon is a third party icons package */} ) } else { return( ) } }); // Tokenomics Description Component function TokenomicsDescription({className=''}) { return (

Tokenomics

/ flex-o-nomics /

$FLXT is the primary token of FlxTime for rewards and governance.

); } ///FILLED BUTTON // icon is the name of the icon to be placed in the button NOTE: all valid names are available at https://boxicons.com/ const FilledBtn = React.memo(({title, icon='', className ='', href='', onClick=''}) => { if (href){ return ( {title} {icon && } )} else if(onClick){ return( ) } }) //FLEXER CARD const FlexerCard = React.memo(({title, desc, icon})=>{ return(
{`${title}
{title}

{desc}

) }) ///SEPARATOR const Separator = React.memo(({className =''})=>{ return(
) }) // FOOTER LINKS function FooterLinks({title, icon, link}) { return( {icon && } {title} ) } /// TOKENOMICS DIAGRAM /// MAIN MAP function TokenomicsMap({className = ''}) { return(
our token
{ token_map.map(map=>()) }
) } /// MAP POINTS function MapPoint({icon, title, className=''}) { return(
{`${title}
{title}
) } ///MOUNTS APP ReactDOM.createRoot(document.getElementById('app')).render()