import Link from 'next/link'; import React, { useState } from 'react'; import { MenuIcon, XIcon } from '@heroicons/react/outline' import { Transition } from "@headlessui/react"; const navigation = [ { name: 'Главная', href: '/', current: true }, { name: 'Правила', href: '/posts/[slug]', as:'/posts/regulations', current: false }, { name: 'Регистрация', href: '/registration', current: false }, { name: 'Расписание', href: '/posts/[slug]', as:'/posts/festival-schedule', current: false }, { name: 'Примеры выполнения задания', href: '/posts/[slug]', as:'/posts/task-completion-examples', current: false }, { name: 'О нас', href: '/about', current: false }, ] function classNames(...classes) { return classes.filter(Boolean).join(' ') } const Navigation = (): JSX.Element => { const [isOpen, setIsOpen] = useState(false); return ( ); }; export default Navigation;