forked from emre/www_projectmycelium_com
fix: update navigation links to use clean URLs and close mobile menu on click
- Removed hash-based routing (/#/) in favor of clean URL paths across all navigation links - Added onClick handlers to close mobile menu when navigation items are clicked
This commit is contained in:
@@ -15,16 +15,16 @@ export function Footer() {
|
||||
</div>
|
||||
</div>
|
||||
<nav className="mt-10 flex gap-8">
|
||||
<Link to="/#/" className="text-sm text-gray-700 hover:text-cyan-500 transition-colors">
|
||||
<Link to="/" className="text-sm text-gray-700 hover:text-cyan-500 transition-colors">
|
||||
Home
|
||||
</Link>
|
||||
<Link to="/#/cloud" className="text-sm text-gray-700 hover:text-cyan-500 transition-colors">
|
||||
<Link to="/cloud" className="text-sm text-gray-700 hover:text-cyan-500 transition-colors">
|
||||
Cloud
|
||||
</Link>
|
||||
<Link to="/#/network" className="text-sm text-gray-700 hover:text-cyan-500 transition-colors">
|
||||
<Link to="/network" className="text-sm text-gray-700 hover:text-cyan-500 transition-colors">
|
||||
Network
|
||||
</Link>
|
||||
<Link to="/#/agents" className="text-sm text-gray-700 hover:text-cyan-500 transition-colors">
|
||||
<Link to="/agents" className="text-sm text-gray-700 hover:text-cyan-500 transition-colors">
|
||||
Agents
|
||||
</Link>
|
||||
</nav>
|
||||
@@ -35,7 +35,7 @@ export function Footer() {
|
||||
</div>
|
||||
<div className="ml-4 lg:w-72">
|
||||
<p className="text-base font-semibold text-gray-900">
|
||||
<Link to="/#/download">
|
||||
<Link to="/download">
|
||||
<span className="absolute inset-0 sm:rounded-2xl" />
|
||||
Download Mycelium Connector
|
||||
</Link>
|
||||
|
||||
Reference in New Issue
Block a user