Add "Create Short URL" link to Header, remove Navbar component, and implement Create Short URL page with form handling and validation.

This commit is contained in:
2025-04-22 13:07:20 +08:00
parent 05af4aae70
commit 42f5be4dcb
4 changed files with 409 additions and 74 deletions

View File

@@ -44,6 +44,11 @@ export default function Header() {
Short Links
</Link>
</li>
<li>
<Link href="/create-shorturl" className="text-sm text-gray-700 hover:text-blue-500">
Create Short URL
</Link>
</li>
</ul>
</nav>
)}