Initial commit
This commit is contained in:
13
app/pages/person/PersonPage.tsx
Normal file
13
app/pages/person/PersonPage.tsx
Normal file
@@ -0,0 +1,13 @@
|
||||
import { Link, useParams } from "react-router";
|
||||
|
||||
export function PersonPage() {
|
||||
const { id } = useParams();
|
||||
|
||||
return (
|
||||
<div className="flex flex-col items-center justify-center min-h-[90vh]">
|
||||
<p>Person Page: {id}</p>
|
||||
<p>(Retrieved from the URL params)</p>
|
||||
<Link to="/" className="text-blue-500 mt-10">Go to Home</Link>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user