feat: new theme

This commit is contained in:
BlackBerry009
2025-06-08 00:50:22 +08:00
parent cc49407bf1
commit f7ceb2f9ec
27 changed files with 1719 additions and 19 deletions

View File

@@ -0,0 +1,21 @@
import Link from 'next/link'
import { useState } from 'react'
export const MenuItemDrop = ({ link }) => {
const hasSubMenu = link?.subMenus?.length > 0
if (!link || !link.show) {
return null
}
return (
<div className='menu-item'>
<Link
href={link?.href}
target={link?.target}
className=' menu-link underline decoration-2 hover:no-underline hover:bg-[#2E405B] hover:text-white text-[var(--primary-color)] dark:text-gray-200 tracking-widest pb-1 font-bold'>
{link?.name}
</Link>
</div>
)
}