MCPcopy Create free account
hub / github.com/evolify/dumpfun / Header

Function Header

app/modules/header.tsx:46–97  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

44]
45
46export default function Header() {
47 return (
48 <header className="flex flex-row items-center h-14 px-4">
49 <div className="text-xl font-bold">Dump Fun - Launchpads</div>
50
51 <div className="text-sm text-gray-400 ml-auto">Trade Now:</div>
52 <NavigationMenu className="ml-2">
53 <NavigationMenuList>
54 {menus.map(item => (
55 <NavigationMenuItem key={item.label}>
56 {item.children ? (
57 <>
58 <NavigationMenuTrigger>{item.label}</NavigationMenuTrigger>
59 <NavigationMenuContent>
60 <div className="w-50">
61 {item.children.map(t => (
62 <NavigationMenuLink key={t.label}>
63 <a
64 href={item.value}
65 target="_blank"
66 className="flex flex-row items-center justify-between"
67 >
68 {item.label}
69 <MoveUpRight style={{ width: 12, height: 12 }} />
70 </a>
71 </NavigationMenuLink>
72 ))}
73 </div>
74 </NavigationMenuContent>
75 </>
76 ) : (
77 <NavigationMenuLink>
78 <a
79 href={item.value}
80 className="flex flex-row items-center"
81 target="_blank"
82 >
83 {item.label}
84 <MoveUpRight
85 style={{ width: 12, height: 12 }}
86 className="ml-1"
87 />
88 </a>
89 </NavigationMenuLink>
90 )}
91 </NavigationMenuItem>
92 ))}
93 </NavigationMenuList>
94 </NavigationMenu>
95 </header>
96 )
97}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected