2022-08-26 22:49:44 +03:00
|
|
|
|
import { useRouter } from "next/router";
|
2022-08-26 20:02:52 +03:00
|
|
|
|
import React from "react";
|
|
|
|
|
import styles from "./header.module.css"
|
2022-08-26 22:49:44 +03:00
|
|
|
|
import 'antd/dist/antd.css';
|
2022-08-26 20:02:52 +03:00
|
|
|
|
|
|
|
|
|
export const Header:React.FC = () =>{
|
2022-08-26 22:49:44 +03:00
|
|
|
|
let router = useRouter()
|
|
|
|
|
|
2022-08-26 20:02:52 +03:00
|
|
|
|
return(
|
|
|
|
|
<div className={styles.header}>
|
2022-08-26 22:49:44 +03:00
|
|
|
|
<div className={styles.logo} onClick={()=>router.push("/")}>
|
|
|
|
|
<img src="/images/logo.svg"></img>
|
|
|
|
|
</div>
|
|
|
|
|
<div className={styles.itemWrapper}>
|
|
|
|
|
<div className={styles.item} onClick={()=>router.push("/")}>
|
2022-08-28 02:18:20 +03:00
|
|
|
|
Проверить документы
|
|
|
|
|
</div>
|
2022-08-28 03:07:26 +03:00
|
|
|
|
<div className={styles.item} onClick={()=>router.push("/guide")}>
|
2022-08-28 02:18:20 +03:00
|
|
|
|
Инструкция
|
2022-08-26 22:49:44 +03:00
|
|
|
|
</div>
|
2022-08-28 02:18:20 +03:00
|
|
|
|
<div className={styles.item} onClick={()=>router.push("/history")}>
|
2022-08-26 22:49:44 +03:00
|
|
|
|
История файлов
|
|
|
|
|
</div>
|
2022-08-28 02:18:20 +03:00
|
|
|
|
<div className={styles.item} onClick={()=>router.push("/about")}>
|
|
|
|
|
О нас
|
|
|
|
|
</div>
|
|
|
|
|
<div className={styles.item} onClick={()=>router.push("/download")}>
|
|
|
|
|
Скачать <img src="/images/downloadSmall.svg"></img>
|
|
|
|
|
</div>
|
2022-08-26 20:02:52 +03:00
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
);
|
|
|
|
|
}
|