import { useEffect, useState } from 'react' import Image from 'next/image' import { Tab } from '@headlessui/react' import clsx from 'clsx' import { Container } from '@/components/Container' import backgroundImage from '@/images/background-features.jpg' import screenshotExpenses from '@/images/screenshots/expenses.png' import screenshotPayroll from '@/images/screenshots/payroll.png' import screenshotReporting from '@/images/screenshots/reporting.png' import screenshotVatReturns from '@/images/screenshots/vat-returns.png' const features = [ { title: 'Payroll', description: "Keep track of everyone's salaries and whether or not they've been paid. Direct deposit not supported.", image: screenshotPayroll, }, { title: 'Claim expenses', description: "All of your receipts organized into one place, as long as you don't mind typing in the data by hand.", image: screenshotExpenses, }, { title: 'VAT handling', description: "We only sell our software to companies who don't deal with VAT at all, so technically we do all the VAT stuff they need.", image: screenshotVatReturns, }, { title: 'Reporting', description: 'Easily export your data into an Excel spreadsheet where you can do whatever the hell you want with it.', image: screenshotReporting, }, ] export function PrimaryFeatures() { let [tabOrientation, setTabOrientation] = useState('horizontal') useEffect(() => { let lgMediaQuery = window.matchMedia('(min-width: 1024px)') function onMediaQueryChange({ matches }) { setTabOrientation(matches ? 'vertical' : 'horizontal') } onMediaQueryChange(lgMediaQuery) lgMediaQuery.addEventListener('change', onMediaQueryChange) return () => { lgMediaQuery.removeEventListener('change', onMediaQueryChange) } }, []) return (

Everything you need to run your books.

Well everything you need if you aren’t that picky about minor details like tax compliance.

{({ selectedIndex }) => ( <>
{features.map((feature, featureIndex) => (

{feature.title}

))}
{features.map((feature) => (

{feature.description}

))} )}
) }