import clsx from 'clsx'; import Highlight, { defaultProps } from 'prism-react-renderer'; import { Fragment, useRef } from 'react'; import ButtonLink from './ButtonLink'; import NewsletterForm from './NewsletterForm'; const codeLanguage = 'javascript'; const code = `export default { strategy: 'predictive', engine: { cpus: 12, backups: ['./storage/cache.wtf'], }, }`; const tabs = [ { name: 'cache-advance.config.js', isActive: true }, { name: 'package.json', isActive: false }, ]; function TrafficLightsIcon(props) { return ( ); } /* eslint jsx-a11y/label-has-associated-control: off */ export function Hero() { const el = useRef(null); return (
{/* Commented code on line 37, 39 and 113 will reenable the two columns hero */} {/*
*/}
{/*
*/}

The JavaScript framework for data portals

Portal.JS is a framework for rapidly building rich data portal frontends using a modern frontend approach. It can be used to present a single dataset or build a full-scale data catalog/portal.

Get Started Gallery

A project of Datopian Datopian

{/*
{tabs.map((tab) => (
{tab.name}
))}
{({ className, style, tokens, getLineProps, getTokenProps, }) => (
                        
                          {tokens.map((line, lineIndex) => (
                            
{line.map((token, tokenIndex) => ( ))}
))}
)}
*/}
); }