updated api calls with copyright and routes

This commit is contained in:
2023-02-16 12:53:08 +00:00
parent a25bded298
commit 9e66c069a6
10 changed files with 108 additions and 10 deletions
+22
View File
@@ -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.weeks;
return (
<div>
<Image
src={"/api/weeks/" + numbWeeks}
width="940"
height="788"
alt="weeks"
/>
</div>
);
};
export default FourOhFour;