File size: 281 Bytes
1e92f2d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
"use client";

import { usePathname } from "next/navigation";
import Nav from "../../components/Nav";

const SlugPage = () => {
  const pathname = usePathname();

  return (
    <>
      <Nav />
      <p>Hello, I'm the {pathname} page</p>
    </>
  );
};

export default SlugPage;