Skip to content

Commit

Permalink
fix : 커뮤니티 페이지 이미지 스타일 재조정
Browse files Browse the repository at this point in the history
  • Loading branch information
banhogu committed May 30, 2024
1 parent fd3f393 commit a2846ec
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 11 deletions.
1 change: 1 addition & 0 deletions src/components/community/shared/PostDetail.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ const PostDetail = ({ postData }: PostDetailType) => {
<Image
src={`${postData.writer.profile}`}
alt="image"
priority={true}
className="rounded-[50%] w-full h-full"
width={42}
height={42}
Expand Down
2 changes: 1 addition & 1 deletion src/components/community/shared/PostItemImageItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const PostItemImageItem = ({ image, count }: { image: string; count: number }) =
height={180}
className="rounded-sm object-cover w-full h-full"
alt="image"
priority
priority={true}
quality={75}
/>
</div>
Expand Down
20 changes: 10 additions & 10 deletions src/components/footer/Footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ const Footer = () => {
<div className="h-[44.84px] flex-col justify-start items-center gap-2.5 inline-flex">
<div className="w-[22.06px] h-[21.82px] flex-col justify-center items-center">
{filteredPathName === '' ? (
<img className="w-5 h-5 " src="/CheckedHome.svg" />
<img className="w-5 h-5 " src="/CheckedHome.svg" alt="home" />
) : (
<img className="w-5 h-5 " src="/Home.svg" />
<img className="w-5 h-5 " src="/Home.svg" alt="home" />
)}
</div>
<div className="text-center text-black text-xs font-normal font-['Pretendard']">
Expand All @@ -28,9 +28,9 @@ const Footer = () => {
<div className="h-[44.84px] flex-col justify-start items-center gap-2.5 inline-flex">
<div className="w-[22.06px] h-[21.82px] flex-col justify-center items-center">
{filteredPathName === 'resoulvation' ? (
<img className="w-5 h-5 " src="/CheckedResoulvation.svg" />
<img className="w-5 h-5 " src="/CheckedResoulvation.svg" alt="book" />
) : (
<img className="w-5 h-5 " src="/Resoulvation.svg" />
<img className="w-5 h-5 " src="/Resoulvation.svg" alt="book" />
)}
</div>
<div className="text-center text-black text-xs font-normal font-['Pretendard']">
Expand All @@ -42,9 +42,9 @@ const Footer = () => {
<div className="h-[43.75px] flex-col justify-start items-center gap-2.5 inline-flex">
<div className="w-[22.06px] h-[21.82px] flex-col justify-center items-center">
{filteredPathName === 'map' ? (
<img className="w-5 h-5 " src="/CheckedNavigation.svg" />
<img className="w-5 h-5 " src="/CheckedNavigation.svg" alt="map" />
) : (
<img className="w-5 h-5 " src="/Navigation.svg" />
<img className="w-5 h-5 " src="/Navigation.svg" alt="map" />
)}
</div>
<div className="text-center text-black text-xs font-normal font-['Pretendard']">
Expand All @@ -56,9 +56,9 @@ const Footer = () => {
<div className="h-[44.84px] flex-col justify-start items-center gap-2.5 inline-flex">
<div className="w-[22.06px] h-[21.82px] flex-col justify-center items-center">
{filteredPathName === 'community' ? (
<img className="w-5 h-5 " src="/CheckedCommunity.svg" />
<img className="w-5 h-5 " src="/CheckedCommunity.svg" alt="community" />
) : (
<img className="w-5 h-5 " src="/Community.svg" />
<img className="w-5 h-5 " src="/Community.svg" alt="community" />
)}
</div>
<div className="text-center text-black text-xs font-normal font-['Pretendard']">
Expand All @@ -70,9 +70,9 @@ const Footer = () => {
<div className="h-[44.84px] flex-col justify-start items-center gap-2.5 inline-flex">
<div className="w-[22.06px] h-[21.82px] flex-col justify-center items-center">
{filteredPathName === 'mypage' ? (
<img className="w-5 h-5 " src="/CheckedProfile.svg" />
<img className="w-5 h-5 " src="/CheckedProfile.svg" alt="mypage" />
) : (
<img className="w-5 h-5 " src="/Profile.svg" />
<img className="w-5 h-5 " src="/Profile.svg" alt="mypage" />
)}
</div>
<div className="text-center text-black text-xs font-normal font-['Pretendard']">
Expand Down

0 comments on commit a2846ec

Please sign in to comment.