Fix web routing

This commit is contained in:
augmentedpotato
2026-04-02 08:54:24 -06:00
parent 3d6b87a7d2
commit 82935303ba
12 changed files with 407 additions and 252 deletions

View File

@@ -1,5 +1,6 @@
"use client";
import Link from "next/link";
import { useState } from "react";
import { useRouter } from "next/navigation";
import { useAuth } from "@/context/AuthContext";
@@ -64,10 +65,10 @@ export default function LoginPage() {
{loading ? "Logging in…" : "Log In"}
</button>
</form>
<p className="auth-switch">
Don&apos;t have an account?{" "}
<a href="/register" className="auth-switch-link">Register here</a>
<Link href="/register" className="auth-switch-link">Register here</Link>
</p>
</div>
</main>