mirror of
https://github.com/Sosokker/B2D-Ventures.git
synced 2025-12-20 14:34:05 +01:00
chore: Add user logo to UnsignedNav component
This commit is contained in:
parent
7576927d82
commit
e09bd55f83
21
src/components/icons.tsx
Normal file
21
src/components/icons.tsx
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
type IconProps = React.HTMLAttributes<SVGElement>;
|
||||||
|
|
||||||
|
export const Icons = {
|
||||||
|
userLogo: (props: IconProps) => (
|
||||||
|
<svg
|
||||||
|
xmlns="http://www.w3.org/2000/svg"
|
||||||
|
width="24"
|
||||||
|
height="24"
|
||||||
|
viewBox="0 0 24 24"
|
||||||
|
fill="none"
|
||||||
|
stroke="currentColor"
|
||||||
|
stroke-width="2"
|
||||||
|
stroke-linecap="round"
|
||||||
|
stroke-linejoin="round"
|
||||||
|
className="lucide lucide-user"
|
||||||
|
>
|
||||||
|
<path d="M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2" />
|
||||||
|
<circle cx="12" cy="7" r="4" />
|
||||||
|
</svg>
|
||||||
|
),
|
||||||
|
};
|
||||||
@ -24,6 +24,7 @@ import {
|
|||||||
navigationMenuTriggerStyle,
|
navigationMenuTriggerStyle,
|
||||||
} from "@/components/ui/navigation-menu";
|
} from "@/components/ui/navigation-menu";
|
||||||
import { cn } from "@/lib/utils";
|
import { cn } from "@/lib/utils";
|
||||||
|
import { Icons } from "@/components/icons"
|
||||||
|
|
||||||
export function UnsignedNav() {
|
export function UnsignedNav() {
|
||||||
const components = [
|
const components = [
|
||||||
@ -31,7 +32,7 @@ export function UnsignedNav() {
|
|||||||
title: "Businesses",
|
title: "Businesses",
|
||||||
href: "",
|
href: "",
|
||||||
description:
|
description:
|
||||||
"A modal dialog that interrupts the user with important content and expects a response.",
|
"Apply",
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
return (
|
return (
|
||||||
@ -181,6 +182,7 @@ const ListItem = React.forwardRef<
|
|||||||
<div className="text-sm font-medium leading-none">{title}</div>
|
<div className="text-sm font-medium leading-none">{title}</div>
|
||||||
<hr />
|
<hr />
|
||||||
<p className="line-clamp-2 text-sm leading-snug text-muted-foreground">
|
<p className="line-clamp-2 text-sm leading-snug text-muted-foreground">
|
||||||
|
<Icons.userLogo/>
|
||||||
{children}
|
{children}
|
||||||
</p>
|
</p>
|
||||||
</a>
|
</a>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user