Files
jovies/nextjs/components/navigation.tsx
Mayne0213 1fbd0467bd REFACTOR(repo): simplify project structure
- Move services/nextjs/ to nextjs/
- Move Dockerfile.prod to Dockerfile at root
- Remove deploy/ folder (K8s manifests moved to K3S-HOME/web-apps)
- Remove .gitea/ workflows
- Update GitHub Actions for new structure
- Remove develop branch triggers
2026-01-05 02:00:36 +09:00

24 lines
526 B
TypeScript

"use client";
import Link from "next/link";
import { usePathname } from "next/navigation";
import styles from "../styles/navigation.module.css"
export default function Navigation() {
const path = usePathname();
return (
<nav className={styles.nav}>
<ul>
<li>
<Link href="/">Home</Link>
{path === "/" ? "🔥" : ""}
</li>
<li>
<Link href="/about-us">About Us</Link>
{path === "/about-us" ? "🔥" : ""}
</li>
</ul>
</nav>
);
}