Skip to content

Commit 92181be

Browse files
한만욱한만욱
authored andcommitted
fix : 이미지 수정했습니다
1 parent dc007a0 commit 92181be

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

src/app/university/[id]/UniversityDetail.tsx

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,14 @@ interface UniversityDetailProps {
1919
const UniversityDetail = ({ university }: UniversityDetailProps) => {
2020
return (
2121
<>
22-
<div className="relative z-0 h-[236px] w-full bg-blue-100">
23-
<Image alt="대학 이미지" src={convertImageUrl(university.backgroundImageUrl)} fill className="object-cover" />
22+
<div className="z-0 h-[236px] w-full bg-blue-100">
23+
<Image
24+
alt="대학 이미지"
25+
width={390}
26+
height={236}
27+
src={convertImageUrl(university.backgroundImageUrl)}
28+
className="object-cover"
29+
/>
2430
</div>
2531
<div className="z-30 -mt-[66px] rounded-t-3xl bg-white px-5">
2632
<TitleSection

0 commit comments

Comments
 (0)