mirror of
https://github.com/bitbaum/botsmann.git
synced 2026-12-06 07:28:07 +01:00
feat: add dropdown navigation for bots and projects
Co-Authored-By: G <butaeff@gmail.com>
This commit is contained in:
1 parent
bf1b8d017e
commit
d24353a37b
1 file changed
+38
-6
+38
-6
@@ -10,12 +10,44 @@ export default function Header() {
|
||||
<span className="text-xl font-semibold text-openai-gray">Botsmann</span>
|
||||
</Link>
|
||||
<nav className="flex items-center space-x-8">
|
||||
<Link href="/bots" className="text-sm font-medium text-gray-600 hover:text-openai-green transition-colors">
|
||||
Bots
|
||||
</Link>
|
||||
<Link href="/projects" className="text-sm font-medium text-gray-600 hover:text-openai-green transition-colors">
|
||||
Projects
|
||||
</Link>
|
||||
<div className="relative group">
|
||||
<button className="text-sm font-medium text-gray-600 hover:text-openai-green transition-colors">
|
||||
Bots
|
||||
</button>
|
||||
<div className="absolute left-0 hidden group-hover:block w-48 py-2 mt-1 bg-white rounded-md shadow-lg ring-1 ring-black ring-opacity-5 z-50">
|
||||
<Link href="/bots/artistic-advisor" className="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100">
|
||||
Artistic Advisor
|
||||
</Link>
|
||||
<Link href="/bots/auto-shopper" className="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100">
|
||||
Auto Shopper
|
||||
</Link>
|
||||
<Link href="/bots/gov-spending-tracker" className="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100">
|
||||
Gov Spending Tracker
|
||||
</Link>
|
||||
<Link href="/bots/legal-expert" className="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100">
|
||||
Legal Expert
|
||||
</Link>
|
||||
<Link href="/bots/medical-expert" className="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100">
|
||||
Medical Expert
|
||||
</Link>
|
||||
<Link href="/bots/swiss-german-teacher" className="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100">
|
||||
Swiss German Teacher
|
||||
</Link>
|
||||
</div>
|
||||
</div>
|
||||
<div className="relative group">
|
||||
<button className="text-sm font-medium text-gray-600 hover:text-openai-green transition-colors">
|
||||
Projects
|
||||
</button>
|
||||
<div className="absolute left-0 hidden group-hover:block w-48 py-2 mt-1 bg-white rounded-md shadow-lg ring-1 ring-black ring-opacity-5 z-50">
|
||||
<Link href="/projects/libertech/gov-spending" className="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100">
|
||||
Gov Spending
|
||||
</Link>
|
||||
<Link href="/projects/roboshop" className="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100">
|
||||
Roboshop
|
||||
</Link>
|
||||
</div>
|
||||
</div>
|
||||
<Link href="/blog" className="text-sm font-medium text-gray-600 hover:text-openai-green transition-colors">
|
||||
Blog
|
||||
</Link>
|
||||
|
||||
Reference in new issue
Block a user