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

会費ページのフロントを作成 #98

Open
wants to merge 8 commits into
base: main
Choose a base branch
from
Open

会費ページのフロントを作成 #98

wants to merge 8 commits into from

Conversation

0514kento
Copy link
Collaborator

Webページぽくなってきたので、どなたかアドバイスお願いしたいです。

@mokroke
Copy link
Collaborator

mokroke commented Sep 3, 2022

createUsers.tsのところでエラーが出てるみたいなので、見直してみてほしいです!

@mokroke mokroke mentioned this pull request Sep 3, 2022
4 tasks
@nyatinte nyatinte self-requested a review September 4, 2022 08:58
Copy link
Collaborator

@nyatinte nyatinte left a 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'
Copy link
Collaborator

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}>
Copy link
Collaborator

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} />
Copy link
Collaborator

Choose a reason for hiding this comment

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

画像サイズが大きすぎると思います

このようなページは1画面上で全て情報が完結することが望ましいと思うのでboxSizepropsなどで少しサイズを変更するとさらに良くなると思います。

Image - Chakra UI

@nyatinte nyatinte changed the title 会費ページ完成に向けて 会費ページのフロントを作成 Sep 11, 2022
@nyatinte nyatinte assigned 0514kento and unassigned nyatinte and takusan2 Sep 11, 2022
@YutaUra
Copy link
Member

YutaUra commented Sep 11, 2022

#103

@nyatinte nyatinte mentioned this pull request Sep 11, 2022
1 task
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.

5 participants