-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b6586b9
commit 6a81856
Showing
7 changed files
with
69 additions
and
16 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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
Binary file not shown.
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,29 @@ | ||
import { ConnectButton } from '@rainbow-me/rainbowkit'; | ||
import { Box, Typography } from '@mui/material'; | ||
|
||
export function Login() { | ||
return ( | ||
<div className="h-screen w-full flex"> | ||
<Box className="w-1/4 p-8 flex flex-col justify-center items-center shadow-2xl"> | ||
<Typography variant="h6" fontWeight="bold" gutterBottom> | ||
Welcome to OnChain | ||
</Typography> | ||
<Typography variant="body1" gutterBottom> | ||
Please connect your wallet to continue. | ||
</Typography> | ||
<div className="py-3"> | ||
<ConnectButton /> | ||
</div> | ||
</Box> | ||
<Box | ||
className="w-3/4 h-full bg-cover bg-center" | ||
style={{ | ||
backgroundImage: 'url(../../../../public/img/login.webp)', | ||
backgroundSize: 'cover', | ||
backgroundRepeat: 'no-repeat', | ||
backgroundPosition: 'center', | ||
}} | ||
/> | ||
</div> | ||
); | ||
} |
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,3 @@ | ||
import { Login } from "./Login"; | ||
|
||
export default Login; |
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