mirror of
https://github.com/theoleuthardt/werkzeugkiste.git
synced 2026-06-13 09:37:53 +00:00
feat: prettier init with formatted code files
This commit is contained in:
parent
5fcfb7ac40
commit
99ffeeafef
12 changed files with 87 additions and 55 deletions
|
|
@ -3,34 +3,41 @@ import Image from "next/image";
|
|||
import LOGO from "../assets/logo/icons8-toolbox-64.svg";
|
||||
|
||||
interface NavProps {
|
||||
renderHomeLink: boolean,
|
||||
renderHomeLink: boolean;
|
||||
}
|
||||
|
||||
const navbar = (props:NavProps) => {
|
||||
return (
|
||||
<div className="h-18 w-full p-3 border-2 border-white">
|
||||
<nav className="bg-black text-white font-bold flex flex-row items-center justify-between">
|
||||
<div className="justify-items-start flex flex-1 flex-row items-center">
|
||||
<Image
|
||||
src={LOGO}
|
||||
alt={""}
|
||||
width={64}
|
||||
height={64}
|
||||
className="invert"
|
||||
/>
|
||||
<div className="text-white ml-5">werkzeugkiste.</div>
|
||||
</div>
|
||||
<div className="flex flex-auto justify-center">
|
||||
{props.renderHomeLink ?
|
||||
<a href="#" className="justify-center">home</a>
|
||||
: null}
|
||||
</div>
|
||||
<div className="flex flex-auto">
|
||||
<a href="https://github.com/theoleuthardt/werkzeugkiste" className="items-end mr-3">github</a>
|
||||
</div>
|
||||
</nav>
|
||||
const navbar = (props: NavProps) => {
|
||||
return (
|
||||
<div className="h-18 w-full p-3 border-2 border-white">
|
||||
<nav className="bg-black text-white font-bold flex flex-row items-center justify-between">
|
||||
<div className="justify-items-start flex flex-1 flex-row items-center">
|
||||
<Image
|
||||
src={LOGO}
|
||||
alt={""}
|
||||
width={64}
|
||||
height={64}
|
||||
className="invert"
|
||||
/>
|
||||
<div className="text-white ml-5">werkzeugkiste.</div>
|
||||
</div>
|
||||
);
|
||||
<div className="flex flex-auto justify-center">
|
||||
{props.renderHomeLink ? (
|
||||
<a href="#" className="justify-center">
|
||||
home
|
||||
</a>
|
||||
) : null}
|
||||
</div>
|
||||
<div className="flex flex-auto">
|
||||
<a
|
||||
href="https://github.com/theoleuthardt/werkzeugkiste"
|
||||
className="items-end mr-3"
|
||||
>
|
||||
github
|
||||
</a>
|
||||
</div>
|
||||
</nav>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
export default navbar;
|
||||
export default navbar;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue