Fix web routing

This commit is contained in:
augmentedpotato
2026-04-02 08:54:24 -06:00
parent 6afda8e7b8
commit 3ee59521fd
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";
@@ -140,10 +141,10 @@ export default function RegisterPage() {
{loading ? "Creating account…" : "Register"}
</button>
</form>
<p className="auth-switch">
Already have an account?{" "}
<a href="/login" className="auth-switch-link">Log in here</a>
<Link href="/login" className="auth-switch-link">Log in here</Link>
</p>
</div>
</main>