import Link from 'next/link'; import { Button, Icons, Text, Icon } from 'react-basics'; import Page from 'components/layout/Page'; import PageHeader from 'components/layout/PageHeader'; import Funnel from 'assets/funnel.svg'; import Nodes from 'assets/nodes.svg'; import Lightbulb from 'assets/lightbulb.svg'; import styles from './ReportList.module.css'; const reports = [ { title: 'Event data', description: 'Query your event data.', url: '/reports/event-data', icon: , }, { title: 'Funnel', description: 'Understand the conversion and drop-off rate of users.', url: '/reports/funnel', icon: , }, { title: 'Insights', description: 'Explore your data by applying segments and filters.', url: '/reports/insights', icon: , }, ]; function ReportItem({ title, description, url, icon }) { return (
{icon} {title}
{description}
); } export function ReportList() { return (
{reports.map(({ title, description, url, icon }) => { return ( ); })}
); } export default ReportList;