File tree Expand file tree Collapse file tree 3 files changed +12
-9
lines changed Expand file tree Collapse file tree 3 files changed +12
-9
lines changed Original file line number Diff line number Diff line change 11import Image from "next/image" ;
22import styles from "./header.module.css" ;
3+ import Link from "next/link" ;
34
45export default function Header ( ) {
56 return (
67 < div className = { styles . header_container } >
78 < div className = { styles . header_box } >
8- < Image
9- src = "/doit_logo.svg"
10- width = { 151 }
11- height = { 41 }
12- alt = "logo"
13- priority
14- />
9+ < Link href = "/" >
10+ < Image
11+ src = "/doit_logo.svg"
12+ width = { 151 }
13+ height = { 41 }
14+ alt = "logo"
15+ priority
16+ />
17+ </ Link >
1518 </ div >
1619 </ div >
1720 ) ;
Original file line number Diff line number Diff line change 11import { TodoSectionProps } from "@/types" ;
2- import Image , { StaticImageData } from "next/image" ;
2+ import Image from "next/image" ;
33import CheckList from "./check-list" ;
44import styles from "./empty-img.module.css" ;
55
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ import TodoSection from "./todo-section";
99async function getAllTodoList ( ) {
1010 const response = await fetch (
1111 `${ process . env . NEXT_API_URL } /fe-18-sprint9/items` ,
12- { next : { tags : [ ` todo` ] } }
12+ { next : { tags : [ " todo" ] } }
1313 ) ;
1414
1515 if ( ! response . ok ) console . error ( response . statusText ) ;
You can’t perform that action at this time.
0 commit comments