"use client"; import { usePathname } from "next/navigation"; import Nav from "../../components/Nav"; const SlugPage = () => { const pathname = usePathname(); return ( <>
Hello, I'm the {pathname} page