diff options
| author | mihna123 <mihailonvojinovic@gmail.com> | 2026-06-06 19:51:23 +0200 |
|---|---|---|
| committer | mihna123 <mihailonvojinovic@gmail.com> | 2026-06-06 19:51:23 +0200 |
| commit | 31c60e3b4214c385ac8316597af53a525b55ca94 (patch) | |
| tree | 3b7476a3c36b6408594989f3de18c90f5e4673f8 /src/components/header.tsx | |
| parent | c2d33aa0c52bc2bee61b0195c30e37f81cafa643 (diff) | |
| download | invoice-31c60e3b4214c385ac8316597af53a525b55ca94.tar.gz invoice-31c60e3b4214c385ac8316597af53a525b55ca94.zip | |
feat: update the layout and add more pages
- Add a proper header to the layout
- Add a help page with instructions how to generate an invoice
- Add an empty blog page that will eventually be filled with blogs
Diffstat (limited to 'src/components/header.tsx')
| -rw-r--r-- | src/components/header.tsx | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/src/components/header.tsx b/src/components/header.tsx new file mode 100644 index 0000000..d54d957 --- /dev/null +++ b/src/components/header.tsx @@ -0,0 +1,21 @@ +import Link from 'next/link'; + +export const Header = () => { + return ( + <header className="flex w-full justify-center border-b p-2"> + <div className="flex w-5xl items-center gap-4"> + <Link href="/" className="text-xl"> + 🧾 Free Invoice Generator + </Link> + <ul className="flex gap-2"> + <li> + <Link href="/blog">Blog</Link> + </li> + <li> + <Link href="/help">Help</Link> + </li> + </ul> + </div> + </header> + ); +}; |
