mirror of
https://github.com/Qortal/Qortal-Hub.git
synced 2025-04-23 19:37:52 +00:00
fixes
This commit is contained in:
parent
3515c0b6c9
commit
b82de8d84b
15
src/App.tsx
15
src/App.tsx
@ -40,6 +40,7 @@ import { CopyToClipboard } from "react-copy-to-clipboard";
|
|||||||
import Download from "./assets/svgs/Download.svg";
|
import Download from "./assets/svgs/Download.svg";
|
||||||
import Logout from "./assets/svgs/Logout.svg";
|
import Logout from "./assets/svgs/Logout.svg";
|
||||||
import Return from "./assets/svgs/Return.svg";
|
import Return from "./assets/svgs/Return.svg";
|
||||||
|
import WarningIcon from '@mui/icons-material/Warning';
|
||||||
import Success from "./assets/svgs/Success.svg";
|
import Success from "./assets/svgs/Success.svg";
|
||||||
import Info from "./assets/svgs/Info.svg";
|
import Info from "./assets/svgs/Info.svg";
|
||||||
import CloseIcon from "@mui/icons-material/Close";
|
import CloseIcon from "@mui/icons-material/Close";
|
||||||
@ -2784,6 +2785,8 @@ function App() {
|
|||||||
setWalletToBeDownloadedPasswordConfirm(e.target.value)
|
setWalletToBeDownloadedPasswordConfirm(e.target.value)
|
||||||
}
|
}
|
||||||
/>
|
/>
|
||||||
|
<Spacer height="5px" />
|
||||||
|
<Typography variant="body2">There is no minimum length requirement</Typography>
|
||||||
<Spacer height="17px" />
|
<Spacer height="17px" />
|
||||||
|
|
||||||
<CustomButton onClick={createAccountFunc}>
|
<CustomButton onClick={createAccountFunc}>
|
||||||
@ -2807,7 +2810,17 @@ function App() {
|
|||||||
>
|
>
|
||||||
Congrats, you’re all set up!
|
Congrats, you’re all set up!
|
||||||
</TextP>
|
</TextP>
|
||||||
<Spacer height="100px" />
|
<Spacer height="50px"/>
|
||||||
|
<Box sx={{
|
||||||
|
display: 'flex',
|
||||||
|
gap: '15px',
|
||||||
|
alignItems: 'center',
|
||||||
|
padding: '10px'
|
||||||
|
}}>
|
||||||
|
<WarningIcon color="warning" />
|
||||||
|
<Typography>Save your account in a place where you will remember it!</Typography>
|
||||||
|
</Box>
|
||||||
|
<Spacer height="50px" />
|
||||||
<CustomButton
|
<CustomButton
|
||||||
onClick={async () => {
|
onClick={async () => {
|
||||||
await saveFileToDiskFunc();
|
await saveFileToDiskFunc();
|
||||||
|
@ -200,9 +200,11 @@ export const Wallets = ({ setExtState, setRawWallet, rawWallet }) => {
|
|||||||
sx={{
|
sx={{
|
||||||
width: "100%",
|
width: "100%",
|
||||||
maxWidth: "500px",
|
maxWidth: "500px",
|
||||||
bgcolor: "background.paper",
|
|
||||||
maxHeight: "60vh",
|
maxHeight: "60vh",
|
||||||
overflow: "auto",
|
overflowY: "auto",
|
||||||
|
overflowX: "hidden",
|
||||||
|
backgroundColor: "rgb(30 30 32 / 70%)",
|
||||||
|
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
{wallets?.map((wallet, idx) => {
|
{wallets?.map((wallet, idx) => {
|
||||||
@ -371,33 +373,26 @@ const WalletItem = ({ wallet, updateWalletItem, idx, setSelectedWallet }) => {
|
|||||||
setSelectedWallet(wallet);
|
setSelectedWallet(wallet);
|
||||||
}}
|
}}
|
||||||
sx={{
|
sx={{
|
||||||
width: '100%'
|
width: '100%',
|
||||||
|
padding: '10px'
|
||||||
}}
|
}}
|
||||||
|
|
||||||
>
|
>
|
||||||
<ListItem
|
<ListItem
|
||||||
|
sx={{
|
||||||
secondaryAction={
|
bgcolor: "background.paper",
|
||||||
<IconButton
|
flexGrow: 1,
|
||||||
onClick={(e) => {
|
"&:hover": { backgroundColor: "secondary.main", transform: "scale(1.01)" },
|
||||||
e.stopPropagation();
|
transition: "all 0.1s ease-in-out",
|
||||||
setIsEdit(true);
|
}}
|
||||||
}}
|
|
||||||
edge="end"
|
|
||||||
aria-label="edit"
|
|
||||||
>
|
|
||||||
<EditIcon
|
|
||||||
sx={{
|
|
||||||
color: "white",
|
|
||||||
}}
|
|
||||||
/>
|
|
||||||
</IconButton>
|
|
||||||
}
|
|
||||||
alignItems="flex-start"
|
alignItems="flex-start"
|
||||||
>
|
>
|
||||||
<ListItemAvatar>
|
<ListItemAvatar>
|
||||||
<Avatar alt="" src="/static/images/avatar/1.jpg" />
|
<Avatar alt="" src="/static/images/avatar/1.jpg" />
|
||||||
</ListItemAvatar>
|
</ListItemAvatar>
|
||||||
<ListItemText
|
<ListItemText
|
||||||
|
|
||||||
primary={wallet?.name ? wallet.name : wallet?.filename ? parsefilenameQortal(wallet?.filename) : "No name"}
|
primary={wallet?.name ? wallet.name : wallet?.filename ? parsefilenameQortal(wallet?.filename) : "No name"}
|
||||||
secondary={
|
secondary={
|
||||||
<Box
|
<Box
|
||||||
@ -414,10 +409,31 @@ const WalletItem = ({ wallet, updateWalletItem, idx, setSelectedWallet }) => {
|
|||||||
{wallet?.address0}
|
{wallet?.address0}
|
||||||
</Typography>
|
</Typography>
|
||||||
{wallet?.note}
|
{wallet?.note}
|
||||||
|
<Typography sx={{
|
||||||
|
textAlign: 'end',
|
||||||
|
marginTop: '5px'
|
||||||
|
}}>Login</Typography>
|
||||||
</Box>
|
</Box>
|
||||||
}
|
}
|
||||||
/>
|
/>
|
||||||
</ListItem>
|
</ListItem>
|
||||||
|
<IconButton
|
||||||
|
sx={{
|
||||||
|
alignSelf: 'flex-start'
|
||||||
|
}}
|
||||||
|
onClick={(e) => {
|
||||||
|
e.stopPropagation();
|
||||||
|
setIsEdit(true);
|
||||||
|
}}
|
||||||
|
edge="end"
|
||||||
|
aria-label="edit"
|
||||||
|
>
|
||||||
|
<EditIcon
|
||||||
|
sx={{
|
||||||
|
color: "white",
|
||||||
|
}}
|
||||||
|
/>
|
||||||
|
</IconButton>
|
||||||
</ButtonBase>
|
</ButtonBase>
|
||||||
{isEdit && (
|
{isEdit && (
|
||||||
<Box
|
<Box
|
||||||
|
BIN
src/components/Tutorials/img/obtaining-qort.jpg
Normal file
BIN
src/components/Tutorials/img/obtaining-qort.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 37 KiB |
@ -7,7 +7,7 @@ import importantImg from './img/important.webp'
|
|||||||
import navigationImg from './img/navigation.webp'
|
import navigationImg from './img/navigation.webp'
|
||||||
import overviewImg from './img/overview.webp'
|
import overviewImg from './img/overview.webp'
|
||||||
import startedImg from './img/started.webp'
|
import startedImg from './img/started.webp'
|
||||||
|
import obtainingImg from './img/obtaining-qort.jpg'
|
||||||
|
|
||||||
const checkIfGatewayIsOnline = async () => {
|
const checkIfGatewayIsOnline = async () => {
|
||||||
try {
|
try {
|
||||||
@ -133,6 +133,15 @@ useEffect(()=> {
|
|||||||
poster: groupsImg
|
poster: groupsImg
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
title: "4. Obtaining Qort",
|
||||||
|
resource: {
|
||||||
|
name: "a-test",
|
||||||
|
service: "VIDEO",
|
||||||
|
identifier: "obtaining-qort",
|
||||||
|
poster: obtainingImg
|
||||||
|
},
|
||||||
|
},
|
||||||
],
|
],
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user