mirror of
https://github.com/dyzulk/trustlab.git
synced 2026-01-26 05:25:36 +07:00
feat: add Docs link to navbar
This commit is contained in:
@@ -52,18 +52,13 @@ export default function Navbar() {
|
||||
{/* Desktop Menu */}
|
||||
<div className="hidden md:flex items-center gap-8 text-sm font-medium">
|
||||
<Link href="/" className="text-gray-600 dark:text-gray-400 hover:text-brand-500 dark:hover:text-brand-400 transition-colors">{t("home")}</Link>
|
||||
|
||||
|
||||
<a
|
||||
href="/#features"
|
||||
onClick={(e) => {
|
||||
if (pathname === '/') {
|
||||
e.preventDefault();
|
||||
scrollToSection('#features');
|
||||
}
|
||||
}}
|
||||
className="text-gray-600 dark:text-gray-400 hover:text-brand-500 dark:hover:text-brand-400 transition-colors cursor-pointer"
|
||||
href="https://docs.trustlab.dyzulk.com/"
|
||||
target="_blank"
|
||||
className="text-gray-600 dark:text-gray-400 hover:text-brand-500 dark:hover:text-brand-400 transition-colors"
|
||||
>
|
||||
{t("features")}
|
||||
Docs
|
||||
</a>
|
||||
|
||||
{/* Tools Dropdown */}
|
||||
@@ -173,18 +168,14 @@ export default function Navbar() {
|
||||
</button>
|
||||
</div>
|
||||
<Link href="/" onClick={() => setMobileOpen(false)} className="text-lg font-bold text-gray-900 dark:text-white border-b border-gray-100 dark:border-gray-800 pb-4">{t("home")}</Link>
|
||||
|
||||
|
||||
<a
|
||||
href="/#features"
|
||||
onClick={(e) => {
|
||||
setMobileOpen(false);
|
||||
if (pathname === '/') {
|
||||
e.preventDefault();
|
||||
scrollToSection('#features');
|
||||
}
|
||||
}}
|
||||
href="https://docs.trustlab.dyzulk.com/"
|
||||
target="_blank"
|
||||
className="text-lg font-bold text-gray-900 dark:text-white border-b border-gray-100 dark:border-gray-800 pb-4"
|
||||
>
|
||||
{t("features")}
|
||||
Docs
|
||||
</a>
|
||||
|
||||
{/* Mobile Tools (simplified) */}
|
||||
|
||||
Reference in New Issue
Block a user