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.
30 lines
1.1 KiB
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 pr-6 py-4">Главная</a>
|
|
</Link>
|
|
<Link as={`/posts/regulations`} href={`/posts/[slug]`}>
|
|
<a className="text-gray-900 dark:text-white pr-6 py-4">Правила</a>
|
|
</Link>
|
|
<Link as={`/posts/festival-schedule`} href={`/posts/[slug]`}>
|
|
<a className="text-gray-900 dark:text-white pr-6 py-4">Расписание</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;
|
|
|