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

Avatarコンポーネントを追加 #236

Merged
merged 2 commits into from
Feb 1, 2025
Merged

Avatarコンポーネントを追加 #236

merged 2 commits into from
Feb 1, 2025

Conversation

atzzCokeK
Copy link
Collaborator

@atzzCokeK atzzCokeK self-assigned this Jan 26, 2025
@atzzCokeK atzzCokeK changed the title ユーザーアイコンコンポーネントを追加 Avatarコンポーネントを追加 Jan 26, 2025
<% classes ||= "" %>
<% icon_classes = [
"rounded-full",
(size == "huge" ? "w-16 h-16" : size == "small" ? "w-6 h-6" : "w-10 h-10"),
Copy link
Collaborator

Choose a reason for hiding this comment

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

buttonコンポーネントのpropsに合わせるならサイズはs, default, lとかのほうがいいですかね?🤔

defaultよりもmのほうがいいかなぁ迷う

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

figma上はhuge, default, smallになっていたのでそのまま持ってきています〜
s,m,lとかにしておきますか

Copy link
Collaborator

Choose a reason for hiding this comment

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

なるほど!figmaに合わせていたのですね🙇🏻‍♂️ おまかせします〜!

@atzzCokeK atzzCokeK merged commit 217ff0b into 2025 Feb 1, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants