File tree Expand file tree Collapse file tree
src/app/_home/_ui/PopularUniversitySection Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ const PopularUniversitySection = ({ universities }: PopularUniversitySectionProp
1616 return (
1717 < div ref = { containerRef } className = "overflow-x-auto" >
1818 < div className = "flex gap-2" >
19- { universities . map ( ( university ) => (
19+ { universities . map ( ( university , index ) => (
2020 < Link key = { university . id } href = { `/university/${ university . id } ` } >
2121 < div className = "relative w-[153px]" >
2222 < div className = "relative w-[153px]" >
@@ -31,6 +31,7 @@ const PopularUniversitySection = ({ universities }: PopularUniversitySectionProp
3131 width = { 153 }
3232 height = { 120 }
3333 alt = { `${ university . koreanName || "대학교" } 배경 이미지` }
34+ priority = { index < 3 }
3435 />
3536 </ div >
3637 < div className = "absolute bottom-[9px] left-[10px] z-10 text-sm font-semibold leading-[160%] tracking-[0.15px] text-white" >
You can’t perform that action at this time.
0 commit comments