Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(web-domains): Profile Image -> Avatar로 일괄 변경 및 objectFit: cover 적용 #157

Merged
merged 5 commits into from
Aug 26, 2024

Conversation

semnil5202
Copy link
Collaborator

🎉 변경 사항

  • profileImageUrl을 src로 하는 Image 태그는 Avatar로 일괄 변경되었으며, objectFit: cover를 적용합니다.

🔗 링크

🙏 여기는 꼭 봐주세요!

@@ -16,5 +16,5 @@ export const Avatar = ({ imageUrl, alt = 'profile-image', size, Icon, ...rest }:
);
}

return <Image src={imageUrl} alt={alt} {...rest} />;
return <Image src={imageUrl} alt={alt} css={{ objectFit: 'cover' }} {...rest} />;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

음.. style 태그 사용해도 되었을 거 같긴 한데 요거 한번더 수정해주실 수 있나요?

Copy link
Collaborator

@sambad-adventure sambad-adventure left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

고생했다. 🎉👍🏽

@@ -3,8 +3,8 @@ import { borderRadiusVariants, colors } from '@sambad/sds/theme';
import dayjs from 'dayjs';
import Link from 'next/link';

import { Avatar } from '../../../../../common/components/Avatar/Avatar';
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

이거 @/common/... 경로로도 가능해요 다

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

요건 나중에 일괄 변경하시죠 ㅠ 이런게 한 둘이 아니라서,,,,

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

흠 이거 급한 건 아니였던 거 같은데 쌓여만 가는군요 😢

@semnil5202 semnil5202 merged commit b16d350 into main Aug 26, 2024
3 checks passed
@semnil5202 semnil5202 deleted the refactor/SAMBAD-QA1-58 branch August 26, 2024 16:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants