frontend/сomponents/header/index.tsx
2022-10-23 03:11:10 +03:00

13 lines
537 B
TypeScript
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import Link from "next/link";
import React from "react"
import styles from "./header.module.css"
export const MyHeader:React.FC = () =>{
return(
<div className={styles.header}>
<div className={styles.link}><Link href="/">Главная</Link></div>
<div className={styles.link}><Link className={styles.link} href="/about-us">О нас</Link></div>
<div className={styles.link}><Link className={styles.link} href="/about-project">О проекте</Link></div>
</div>
);
}