-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: show wallet on project create page
- Loading branch information
1 parent
7f82b5b
commit 68d0f9b
Showing
5 changed files
with
97 additions
and
74 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
import { cn } from "@/lib/utils"; | ||
import Link from "next/link"; | ||
import { ComponentPropsWithoutRef, ElementRef, forwardRef } from "react"; | ||
import { NavigationMenuLink } from "./ui/navigation-menu"; | ||
|
||
export const NavBarListItem = forwardRef< | ||
ElementRef<"a">, | ||
ComponentPropsWithoutRef<"a"> | ||
>(({ className, title, children, ...props }, ref) => { | ||
return ( | ||
<li> | ||
<Link href="/docs" legacyBehavior passHref> | ||
<NavigationMenuLink asChild> | ||
<a | ||
ref={ref} | ||
className={cn( | ||
"block select-none space-y-1 rounded-md p-3 leading-none no-underline outline-none transition-colors hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground", | ||
className | ||
)} | ||
{...props} | ||
> | ||
<div className="text-sm font-medium leading-none">{title}</div> | ||
<p className="line-clamp-2 text-sm leading-snug text-muted-foreground"> | ||
{children} | ||
</p> | ||
</a> | ||
</NavigationMenuLink> | ||
</Link> | ||
</li> | ||
); | ||
}); | ||
NavBarListItem.displayName = "ListItem"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
import { Address } from "viem"; | ||
|
||
export const WHITELISTED_ADDRESSES: Address[] = [ | ||
"0x7730B4Cdc1B1E7a33A309AB7205411faD009C106", | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters