-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(deploy-web): get started pages shadcn (#171)
- Loading branch information
Showing
28 changed files
with
1,361 additions
and
1,436 deletions.
There are no files selected for viewing
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
32 changes: 6 additions & 26 deletions
32
deploy-web/src/components/get-started/CreateWalletSection.tsx
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 |
---|---|---|
@@ -1,46 +1,26 @@ | ||
"use client"; | ||
import React from "react"; | ||
import { makeStyles } from "tss-react/mui"; | ||
import { Alert, Box, useTheme } from "@mui/material"; | ||
import { useRouter } from "next/router"; | ||
import { ExternalLink } from "../shared/ExternalLink"; | ||
import { Alert } from "../ui/alert"; | ||
|
||
const useStyles = makeStyles()(theme => ({ | ||
list: { | ||
listStyle: "lower-alpha", | ||
"& li": { | ||
marginBottom: theme.spacing(0.5), | ||
|
||
"&:last-child": { | ||
marginBottom: 0 | ||
} | ||
} | ||
} | ||
})); | ||
|
||
type Props = { | ||
// backUrl: string; | ||
}; | ||
type Props = {}; | ||
|
||
export const CreateWalletSection: React.FunctionComponent<Props> = ({}) => { | ||
const theme = useTheme(); | ||
const { classes } = useStyles(); | ||
const router = useRouter(); | ||
|
||
return ( | ||
<Box component="ul" className={classes.list}> | ||
<ul className="list-[lower-alpha] space-y-2 py-4 pl-8"> | ||
<li> | ||
Navigate to the <ExternalLink href="https://chrome.google.com/webstore/detail/keplr/dmkamcknogkgcdfhhbddcghachkejeap" text="Keplr Wallet extension" />{" "} | ||
in the Google Chrome store and follow the on-screen prompts to add the extension to your web browser | ||
</li> | ||
<li>Open the browser extension and select Create new account.</li> | ||
<li>Copy your mnemonic seed phrase and store it somewhere safe</li> | ||
<Alert severity="warning" sx={{ margin: ".5rem 0 1rem" }}> | ||
<Alert variant="warning" className="my-4"> | ||
Ensure that you store your mnemonic seed phrase somewhere safe where it cannot be lost or compromised. Your mnemonic seed phrase is the master key to | ||
your wallet; loss or compromise of your mnemonic seed phrase may result in permanent loss of your ATOM. | ||
</Alert> | ||
<li>Establish an account name and password, then select Next.</li> | ||
<li>Confirm your mnemonic seed phrase and select Register.</li> | ||
<li>Done!</li> | ||
</Box> | ||
</ul> | ||
); | ||
}; |
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
Oops, something went wrong.