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
gractwo-pl/components/Header.js
jakubmanczak a6ac9b7665 add a navpusher to fix nav's overlapping issues
due to the "sticky" nature of the navigation bar used in the site content would get pushed under it and hidden
another element with the height of the navbar has been added that now fixed this issue
2022-08-08 15:17:12 +02:00

32 lines
648 B
JavaScript

import Link from "next/link";
import { GractwoLogo } from "./GractwoLogo";
export default function Home() {
return (
<>
<nav className="main">
<GractwoLogo className="logo" />
<Link href="/">
<a>Główna</a>
</Link>
<Link href="">
<a>Rankingi</a>
</Link>
<Link href="/o-gractwie">
<a>O Gractwie</a>
</Link>
<Link href="">
<a>Zaloguj się</a>
</Link>
</nav>
<p className="navpusher">
I&apos;m coming after you.
{/*
This is rendered behind the navbar, pushing the main page's
content downwards while keeping nav's fixed position.
*/}
</p>
</>
);
}