This commit is contained in:
2025-09-08 17:22:33 +02:00
parent ecd52b6ada
commit 987550c7c6
2 changed files with 7 additions and 8 deletions

View File

@@ -9,15 +9,14 @@ export function NavLinks() {
let timeoutRef = useRef<number | null>(null)
return [
['Features', '/#features'],
['Reviews', '/#reviews'],
['Pricing', '/#pricing'],
['FAQs', '/#faqs'],
['About', '/#features'],
['Build', '/#reviews'],
['Host', '/#pricing'],
].map(([label, href], index) => (
<Link
key={label}
href={href}
className="relative -mx-3 -my-2 rounded-lg px-3 py-2 text-sm text-gray-600 transition-colors delay-150 hover:text-white hover:delay-0"
className="relative -mx-3 -my-2 rounded-lg px-3 py-2 text-sm text-gray-700 transition-colors delay-150 hover:text-white hover:delay-0"
onMouseEnter={() => {
if (timeoutRef.current) {
window.clearTimeout(timeoutRef.current)