import Link from 'next/link'; import React, { useState } from 'react'; import { Disclosure} from '@headlessui/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: '/about', current: false }, ] function classNames(...classes) { return classes.filter(Boolean).join(' ') } const Navigation = (): JSX.Element => { const [isOpen, setIsOpen] = useState(false); return (

Dashboard

{/* */}
{/* */}
); }; export default Navigation;