22
33import Link from 'next/link' ;
44import { signOut } from 'next-auth/react' ;
5+ import Image from 'next/image' ;
56
67const settingsItems = [
78 {
@@ -36,9 +37,11 @@ export default function SettingsSection() {
3637
3738 return (
3839 < div className = "border-t border-gray-200" >
39- < h2 className = "px-5 py-4 text-lg font-bold" > 설정</ h2 >
40- < div className = "mx-5 rounded-lg border border-gray-200 px-5 py-5" >
41- < div className = "grid grid-cols-2 gap-6" >
40+ < h2 className = "border-y border-black px-7 py-8 text-3xl leading-normal font-semibold" >
41+ 설정
42+ </ h2 >
43+ < div className = "mx-5 my-10 rounded-lg border border-black px-5 py-4" >
44+ < div className = "grid grid-flow-col grid-rows-2 items-center justify-between gap-10" >
4245 { settingsItems . map ( ( item ) =>
4346 item . type === 'logout' ? (
4447 < button
@@ -47,13 +50,15 @@ export default function SettingsSection() {
4750 className = "flex flex-col items-center gap-2"
4851 >
4952 < div className = "flex h-12 w-12 items-center justify-center" >
50- < img
51- src = { item . icon }
53+ < Image
54+ src = { `/ ${ item . icon } ` }
5255 alt = { item . label }
5356 className = "h-full w-full"
57+ width = { 48 }
58+ height = { 48 }
5459 />
5560 </ div >
56- < span className = "text-xs font-medium text-gray-700 " >
61+ < span className = "text-center text-lg leading-normal font-normal " >
5762 { item . label }
5863 </ span >
5964 </ button >
@@ -64,13 +69,15 @@ export default function SettingsSection() {
6469 className = "flex flex-col items-center gap-2"
6570 >
6671 < div className = "flex h-12 w-12 items-center justify-center" >
67- < img
68- src = { item . icon }
72+ < Image
73+ src = { `/ ${ item . icon } ` }
6974 alt = { item . label }
7075 className = "h-full w-full"
76+ width = { 48 }
77+ height = { 48 }
7178 />
7279 </ div >
73- < span className = "text-xs font-medium text-gray-700 " >
80+ < span className = "text-center text-lg leading-normal font-normal " >
7481 { item . label }
7582 </ span >
7683 </ Link >
0 commit comments