import React from 'react'; import { Button, Description, Divider, Icon, Switch, Title, Tooltip } from 'libs/ui/src'; import { Wrapper } from '../../wrapper/wrapper.component'; const featuresArray = [ { title: 'Cloud-Based Drag & Drop Builder', hobbyists: true, premium: true, teams: true, enterprise: true }, { title: 'World Tracking', hobbyists: true, premium: true, teams: true, enterprise: true }, { title: 'Marker Tracking', hobbyists: true, premium: true, teams: true, enterprise: true }, { title: 'Body Tracking *', hobbyists: true, premium: true, teams: true, enterprise: true }, { title: 'Face Tracking *', hobbyists: true, premium: true, teams: true, enterprise: true }, { title: 'True-to-Size Product Viewer', hobbyists: true, premium: true, teams: true, enterprise: true }, { title: 'Sections Library', hobbyists: true, premium: true, teams: true, enterprise: true }, { title: 'Code Inject', hobbyists: true, premium: true, teams: true, enterprise: true }, { title: 'SDK', hobbyists: true, premium: true, teams: true, enterprise: true }, { title: 'Views / month', hobbyists: null, premium: null, teams: null, enterprise: null }, { title: 'Seats', hobbyists: null, premium: null, teams: null, enterprise: null }, { title: 'No Watermark', hobbyists: false, premium: true, teams: true, enterprise: true }, { title: 'Loader Customization *', hobbyists: false, premium: false, teams: true, enterprise: true }, { title: 'Team Library', hobbyists: false, premium: false, teams: true, enterprise: true }, { title: 'Commerical License', hobbyists: false, premium: false, teams: true, enterprise: true }, { title: 'Simple NFT Minting', hobbyists: false, premium: true, teams: true, enterprise: true }, { title: 'Agency Program Inclusion', hobbyists: false, premium: false, teams: true, enterprise: true }, { title: 'Analytics', hobbyists: false, premium: false, teams: true, enterprise: true }, { title: 'Programmatic NFT Minting', hobbyists: false, premium: false, teams: false, enterprise: true }, { title: 'Custom URL Domain Mapping *', hobbyists: false, premium: false, teams: false, enterprise: true }, { title: 'Dedicated Account Manager', hobbyists: false, premium: false, teams: false, enterprise: true }, { title: 'Custom Design & Development', hobbyists: false, premium: false, teams: false, enterprise: true } ]; const getDivider = () => ({ features: , hobbyists: , premium: , teams: , enterprise: }); const getTableCellsBody = (cells: Array) => { featuresArray.forEach((feature, index) => { if (feature.title === 'Views / month') { cells.push({ features: Views / month , hobbyists: 500 views, premium: 1K views, teams: 10K views, enterprise: TBD }); } else if (feature.title === 'Seats') { cells.push({ features: Seats , hobbyists: 1, premium: 1, teams: 5, enterprise: TBD }); } else { cells.push({ features: { feature.title } , hobbyists: feature.hobbyists ? : , premium: feature.premium ? : , teams: feature.teams ? : , enterprise: feature.enterprise ? : }); } cells.push(getDivider()); }); return cells; }; export const getTableHeader = (index: number) => { const tableCellsHeader = [ Save 10–15% Monthly { ' ' } { ' ' } Yearly Roll over the features list to see the details , HOBBYISTS Non-Commercial Use Try out our products for free with or without code, fast & easily , PREMIUM Non-Commercial Use Enhance the brand, engage the audience & sell through your work , TEAMS Commercial Use Empower teams of designers, engineers, marketers to create & manage projects , ENTERPRISE Commercial Use Use our fully loaded, NFT-enabled, customized services to create & manage your projects ]; return tableCellsHeader[ index ]; }; export const getTableFooter = (index: number) => { const tableCellsHeader = [ Free , $99 / month , $3K / month , Loaded + Customized ]; return tableCellsHeader[ index ]; }; export const getTableCells = () => { const tableCells: Array = []; const tableCellsWithBody = getTableCellsBody(tableCells); return tableCellsWithBody; };