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

EventItemを作成 #28

Merged
merged 3 commits into from
Oct 31, 2019
Merged

EventItemを作成 #28

merged 3 commits into from
Oct 31, 2019

Conversation

uzimaru0000
Copy link
Contributor

@uzimaru0000 uzimaru0000 commented Oct 24, 2019

やったこと

resolve #9
Event一覧に使うコンポーネントを作成

変更点

  • StoryBookでCSS変数を使えるようにconfigを修正
  • BasicImage のサイズが必ず正方形になってしまうのを修正

@uzimaru0000 uzimaru0000 self-assigned this Oct 24, 2019
box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.1), 0 8px 8px 0 var(--color-black-30);
}

/deep/ figure img {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

ここ、もっといい感じに書きたいけど思い浮かばなかった

Copy link
Contributor

Choose a reason for hiding this comment

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

んー俺もこれしか思い浮かばないなー。(,のあと改行するとか?)

return {
event: {
image: 'https://bulma.io/images/placeholders/128x128.png',
date: 'YYYY/MM/DD hh:mm ~ hh:mm',
Copy link
Contributor Author

Choose a reason for hiding this comment

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

データを手入力で生成するって言ってたから表示内容をそのまま書いたけど、フォーマットのズレとかで表示がズレるのを避けたいみたいな場合は
start, end みたいなフィールドを作って開始と終わりから計算するようにした方がいいかも?(ただ、手入力だとめんどくさそう)

Copy link
Contributor

Choose a reason for hiding this comment

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

そうだねー、そこら辺のデータ管理の仕方は早めに決めたいね。
google form から入力するのはいいと思った。

Copy link
Contributor Author

Choose a reason for hiding this comment

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

GoogleFormよさそう

Copy link
Contributor

@d8bo d8bo left a comment

Choose a reason for hiding this comment

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

LGTM!!

@uzimaru0000 uzimaru0000 merged commit 12ee9b5 into master Oct 31, 2019
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.

EventItemを作成する
2 participants