-
Notifications
You must be signed in to change notification settings - Fork 0
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
会費ページのフロントを作成 #98
base: main
Are you sure you want to change the base?
会費ページのフロントを作成 #98
Conversation
createUsers.tsのところでエラーが出てるみたいなので、見直してみてほしいです! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@0514kento
レビューしました!
@YutaUra
あまりレビュー慣れていないんですけど、こんな感じで大丈夫ですか?
GitHub – Pull Requestをレビュー【コメントの書き方と修正 ...https://howpon.com › IT・デジタル
これ参考にしました
@@ -1,16 +1,34 @@ | |||
import { DefaultLayout } from '../components/DefaultLayout' | |||
import { Text, Box, Heading, Flex } from '@chakra-ui/react' | |||
import Image from 'next/image' | |||
import Pay from '../assets/images/pay.jpg' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pay
という命名だと少し意味が分かりにくいように感じました。
PaidIcon
のような名前だと個人的には分かりやすいです!
<Flex direction={{ base: 'column', md: 'row' }} gap={5}> | ||
<Box background="#fff" borderRadius="3xl" flex={1} p={5}> | ||
<Flex direction={{ base: 'column', md: 'row' }} gap={5} padding={10}> | ||
<Box background="#fff" borderRadius="3xl" flex={2} p={5}> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
<Box background="#fff" ...>
となっていますが、chakrauiでは短縮されたpropsが用意されています。
<Box bg="white" ...>
のように書くとchakraっぽくていいと思います
<Heading textAlign="center">支払い状況</Heading> | ||
|
||
<Image src={Pay} /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
画像サイズが大きすぎると思います
このようなページは1画面上で全て情報が完結することが望ましいと思うのでboxSize
propsなどで少しサイズを変更するとさらに良くなると思います。
Webページぽくなってきたので、どなたかアドバイスお願いしたいです。