-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
User page UI and code refinements (#416)
* UI of user's page * refactor components * remove unused imports
- Loading branch information
1 parent
2447642
commit c3aed3a
Showing
11 changed files
with
1,179 additions
and
256 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains 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 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 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 |
---|---|---|
@@ -0,0 +1,16 @@ | ||
import { SimpleGrid, Box } from "@chakra-ui/react"; | ||
|
||
export const LeftRightLayout = ({ | ||
left, | ||
right, | ||
}: { | ||
left: React.ReactNode; | ||
right: React.ReactNode; | ||
}) => { | ||
return ( | ||
<SimpleGrid columns={2} spacing={8}> | ||
<Box>{left}</Box> | ||
<Box>{right}</Box> | ||
</SimpleGrid> | ||
); | ||
}; |
Oops, something went wrong.