-
Notifications
You must be signed in to change notification settings - Fork 1
基本的なコンポーネントを daisyUI に移行 #515
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
Merged
Merged
Changes from all commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
af0ed67
Tailwind CSS と daisyUI のセットアップ
nakaterm d72b1d9
biome でクラス属性のソートをするよう設定
nakaterm f75b859
通常のボタンをdaisyUIに置換
nakaterm c48eb85
cm-li-btn を作成
nakaterm 0f0adae
AlertDialog を実装
nakaterm 6094fd3
使用されていないコンポーネントを削除
nakaterm 028b3b8
アイコン導入etc
nakaterm 9f25001
settings 周りの MUI → daisyUI 移行
nakaterm 9a26071
edit 周りを修正
nakaterm acf40d8
HumanListItem 周りを修正
nakaterm File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,31 +1,19 @@ | ||
| import { Box } from "@mui/material"; | ||
| import BottomBar from "~/components/BottomBar"; | ||
| import Header from "~/components/Header"; | ||
| import { NavigateByAuthState } from "~/components/common/NavigateByAuthState"; | ||
|
|
||
| export default function ChatPageLayout({ | ||
| children, | ||
| }: { | ||
| children: React.ReactNode; | ||
| }) { | ||
| return ( | ||
| <> | ||
| <NavigateByAuthState type="toLoginForUnauthenticated"> | ||
| <Header title="チャット/Chat" /> | ||
| <Box | ||
| sx={{ | ||
| position: "absolute", // TODO: absolute 指定しない | ||
| top: { | ||
| xs: "56px", | ||
| sm: "64px", | ||
| }, | ||
| bottom: "56px", | ||
| left: 0, | ||
| right: 0, | ||
| overflowY: "auto", | ||
| }} | ||
| > | ||
| <div className="absolute top-14 right-0 bottom-14 left-0 overflow-y-auto sm:top-16"> | ||
| {children} | ||
| </Box> | ||
| </div> | ||
| <BottomBar activeTab="2_chat" /> | ||
| </> | ||
| </NavigateByAuthState> | ||
| ); | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,29 +1,17 @@ | ||
| import { Box } from "@mui/material"; | ||
| import Header from "~/components/Header"; | ||
| import { NavigateByAuthState } from "~/components/common/NavigateByAuthState"; | ||
|
|
||
| export default function EditPageLayout({ | ||
| children, | ||
| }: { | ||
| children: React.ReactNode; | ||
| }) { | ||
| return ( | ||
| <> | ||
| <NavigateByAuthState type="toLoginForUnauthenticated"> | ||
| <Header title="編集/Edit" /> | ||
| <Box | ||
| sx={{ | ||
| position: "absolute", // TODO: absolute 指定しない | ||
| top: { | ||
| xs: "56px", | ||
| sm: "64px", | ||
| }, | ||
| bottom: "56px", | ||
| left: 0, | ||
| right: 0, | ||
| overflowY: "auto", | ||
| }} | ||
| > | ||
| <div className="absolute top-14 right-0 left-0 overflow-y-auto sm:top-16"> | ||
| {children} | ||
| </Box> | ||
| </> | ||
| </div> | ||
| </NavigateByAuthState> | ||
| ); | ||
| } |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Tailwind のクラスをソートする用