Added tabler icons

This commit is contained in:
Leons Aleksandrovs
2025-07-04 21:20:13 +03:00
parent 4c4f3000e2
commit b6e644e298
5 changed files with 20 additions and 19 deletions
+7 -17
View File
@@ -1,24 +1,14 @@
import { Link } from "@tanstack/react-router";
import { IconHome } from "@tabler/icons-react";
export default function Header() {
return (
<header className="p-2 flex gap-2 bg-white text-black justify-between">
<nav className="flex flex-row">
<div className="px-2 font-bold">
<Link to="/">Home</Link>
</div>
<div className="px-2 font-bold">
<Link to="/demo/form/simple">Simple Form</Link>
</div>
<div className="px-2 font-bold">
<Link to="/demo/form/address">Address Form</Link>
</div>
<div className="px-2 font-bold">
<Link to="/demo/tanstack-query">TanStack Query</Link>
</div>
<header className="py-2 px-4 flex gap-2 bg-panel text-black justify-between">
<nav className="flex flex-row font-bold">
<Link to="/" className="flex items-center gap-2">
<IconHome size={20} />
Home
</Link>
</nav>
</header>
);
+5
View File
@@ -1,5 +1,10 @@
@import "tailwindcss";
@theme {
--color-body: #232323;
--color-panel: #101010;
}
body {
@apply m-0;
font-family: