import { useState } from 'react' import Head from 'next/head' import Link from 'next/link' import styles from '../styles/Home.module.css' export default function Home() { const [open, setOpen] = useState(false); const handleClick = (event) => { event.preventDefault(); setOpen(!open); }; const navMenu = [{ title: 'Home', path: '/' }, { title: 'Gallery', path: '/gallery' }, { title: 'Docs', path: '/docs' }, { title: 'Learn', path: '/learn' }, { title: 'Github', path: 'https://github.com/datopian/portal.js' }] return ( <>
Create Portal App

Welcome to Portal.js!

Rapidly build rich data portals using a modern frontend framework!

Documentation →

Find in-depth information about Portal.js features and API.

Learn →

Learn about Portal.js with examples!

Gallery →

Discover examples of Portal.js projects.

Contribute →

Checkout the Portal.js repository on github

) }