You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
robotop.krasnikov.pro/.history/components/Navigation_20220708225112.tsx

30 lines
1.1 KiB

import Link from 'next/link';
import React from 'react';
const Navigation = (): JSX.Element => {
return (
<nav>
<h1 className="font-medium text-xl">RoboTop - роботехнический фестиваль</h1>
<Link href="/">
<a className="text-gray-900 dark:text-white ">Главная</a>
</Link>
<Link as={`/posts/regulations`} href={`/posts/[slug]`}>
<a className="text-gray-900 dark:text-white ">Правила</a>
</Link>
<Link as={`/posts/festival-schedule`} href={`/posts/[slug]`}>
<a className="text-gray-900 dark:text-white pr-6">Расписание</a>
</Link>
<Link href={`/registration`}>
<a className="text-gray-900 dark:text-white pr-6">Регистрация</a>
</Link>
<Link as={`/posts/task-completion-examples`} href={`/posts/[slug]`}>
<a className="text-gray-900 dark:text-white pr-6">Примеры выполнения задания</a>
</Link>
<Link href="/about">
<a className="text-gray-900 dark:text-white py-4">О нас</a>
</Link>
</nav>
);
};
export default Navigation;