initial commit
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
// 404.js
|
||||
|
||||
import Image from "next/image";
|
||||
import { useRouter } from "next/router";
|
||||
|
||||
const FourOhFour = (props) => {
|
||||
const router = useRouter();
|
||||
|
||||
let numbWeeks = router.query.n;
|
||||
return (
|
||||
<div>
|
||||
<Image
|
||||
src={"/api/weeks/" + numbWeeks}
|
||||
width="940"
|
||||
height="788"
|
||||
alt="weeks"
|
||||
/>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
export default FourOhFour;
|
||||
Reference in New Issue
Block a user