mirror of
https://github.com/stefanpejcic/openpanel
synced 2025-06-26 18:28:26 +00:00
Update menu.tsx
This commit is contained in:
@@ -22,50 +22,6 @@ export const Menu: React.FC = () => {
|
||||
key={`navbar-${item.label}`}
|
||||
item={item}
|
||||
>
|
||||
{item.label === "Products" && (
|
||||
<>
|
||||
<div
|
||||
className={clsx(
|
||||
"grid grid-cols-2 gap-4",
|
||||
"p-4",
|
||||
"w-[672px]",
|
||||
"dark:bg-gray-900 bg-white",
|
||||
)}
|
||||
>
|
||||
{item.items.map((subItem) => (
|
||||
<MenuItem
|
||||
key={subItem.label}
|
||||
item={subItem}
|
||||
/>
|
||||
))}
|
||||
</div>
|
||||
<Link
|
||||
to="https://github.com/stefanpejcic/openpanel/"
|
||||
className="no-underline"
|
||||
>
|
||||
<div
|
||||
className={clsx(
|
||||
"border-t dark:border-gray-700 border-gray-300",
|
||||
"dark:bg-gray-800 bg-gray-100",
|
||||
"flex items-center",
|
||||
"py-4 px-7",
|
||||
)}
|
||||
>
|
||||
<GithubStarIcon />
|
||||
<div
|
||||
className={clsx(
|
||||
"ml-4",
|
||||
"dark:text-gray-400 text-gray-600",
|
||||
)}
|
||||
>
|
||||
If you like OpenPanel, don’t forget
|
||||
to star us on GitHub!
|
||||
</div>
|
||||
</div>
|
||||
</Link>
|
||||
</>
|
||||
)}
|
||||
|
||||
{item.label === "Community" && (
|
||||
<>
|
||||
<div
|
||||
|
||||
Reference in New Issue
Block a user