1
0
mirror of https://github.com/kamranahmedse/developer-roadmap.git synced 2025-09-25 08:35:42 +02:00

Mobile navigation

This commit is contained in:
Kamran Ahmed
2025-06-26 13:08:15 +01:00
parent e6d10ef592
commit ed412ab0c2
2 changed files with 3 additions and 19 deletions

View File

@@ -90,10 +90,10 @@ import { AccountDropdown } from './AccountDropdown';
</li>
<li>
<a
href='/best-practices'
href='/ai'
class='text-xl hover:text-blue-300 md:text-lg'
>
Best Practices
AI Tutor
</a>
</li>
<li>
@@ -101,11 +101,6 @@ import { AccountDropdown } from './AccountDropdown';
Guides
</a>
</li>
<li>
<a href='/videos' class='text-xl hover:text-blue-300 md:text-lg'>
Videos
</a>
</li>
<!-- Links for logged in users -->
<li data-auth-required class='hidden'>
@@ -113,11 +108,6 @@ import { AccountDropdown } from './AccountDropdown';
Account
</a>
</li>
<li data-auth-required class='hidden'>
<a href='/team' class='text-xl hover:text-blue-300 md:text-lg'>
Teams
</a>
</li>
<li data-auth-required class='hidden'>
<button
data-logout-button

View File

@@ -37,15 +37,9 @@ export function AIDropdownMenu() {
<NavigationDropdownMenu
links={links}
trigger={
<span className="group relative mr-3 flex items-center gap-1.5 text-blue-300 hover:text-white">
<span className="group relative mr-3 flex items-center gap-1 text-blue-300 hover:text-white">
AI Tutor
<ChevronDown className="inline-block h-3 w-3" strokeWidth={4} />
<span className="absolute top-0 -right-[11px]">
<span className="relative flex h-2 w-2">
<span className="absolute inline-flex h-full w-full animate-ping rounded-full bg-sky-400 opacity-75"></span>
<span className="relative inline-flex h-2 w-2 rounded-full bg-sky-500"></span>
</span>
</span>
</span>
}
isOpen={isOpen}