This repository has been archived on 2026-03-27. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
web/components/Navigation/Navigation.tsx
2022-12-10 23:58:09 +01:00

44 lines
996 B
TypeScript

import styles from "./Navigation.module.scss";
import GractwoLogo from "../logo";
import Link from "next/link";
const PageNavigation = () => {
let username: string = "";
return (
<>
<div className={styles.nav}>
<GractwoLogo className={styles.logo} />
{/* <h1 className={styles.wordmark}>Gractwo!</h1> */}
<Link href="/" className={styles.link}>
główna
</Link>
<Link href="/o-gractwie" className={styles.link}>
o gractwie
</Link>
<Link href="/cytaty" className={styles.link}>
cytaty
</Link>
<Link href="/rankingi" className={styles.link}>
rankingi
</Link>
<Link
href="/"
style={{ display: "flex" }}
className={`${styles.link} ${styles.profile}`}
>
zaloguj się
</Link>
<Link
href="/"
style={{ display: "none" }}
className={`${styles.link} ${styles.profile}`}
>
{username ? username : "twój profil"}
</Link>
</div>
</>
);
};
export default PageNavigation;