- 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
24 lines
526 B
TypeScript
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>
|
|
);
|
|
}
|