Skip to content

Commit ea2637c

Browse files
committed
styles-patch
1 parent 3bad348 commit ea2637c

File tree

7 files changed

+13
-12
lines changed

7 files changed

+13
-12
lines changed

packages/client/src/components/common/Logo.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ export const Logo = observer(() => {
7979
src="/avatar.png"
8080
alt="Peter Tripolsky"
8181
sx={{ width: 128, height: 128 }}
82+
imgProps={{ loading: "lazy" }}
8283
/>
8384
<Typography variant="h6" sx={{ mt: -2 }}>Peter Tripolsky</Typography>
8485
<Typography

packages/client/src/pages/ConnectPage.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ const useStyles = makeStyles()((theme) => ({
2727
display: 'flex',
2828
alignItems: 'center',
2929
flexDirection: 'column',
30-
gap: 15,
30+
gap: 20,
3131
padding: 15,
3232
},
3333
container: {
@@ -51,7 +51,7 @@ export const ConnectPage = () => {
5151
<Paper className={classes.container}>
5252
<Stack direction='column' gap="15px">
5353
<Logo />
54-
<span>
54+
<span style={{ marginTop: -10 }}>
5555
Please, connect your <strong>MetaMask</strong> wallet <span className="emoji">😃</span><br />
5656
</span>
5757
<Button

packages/client/src/pages/DonePage.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ const useStyles = makeStyles()((theme) => ({
2626
display: "flex",
2727
alignItems: "center",
2828
flexDirection: "column",
29-
gap: 15,
29+
gap: 20,
3030
padding: 15,
3131
},
3232
container: {
@@ -55,7 +55,7 @@ export const ErrorPage = () => {
5555
<Paper className={classes.container}>
5656
<Stack direction="column" gap="15px">
5757
<Logo />
58-
<span>
58+
<span style={{ marginTop: -10 }}>
5959
<strong>Congratulations!</strong> 🎉 Tokens have been{" "}
6060
<strong>sent</strong>. Please contact me by using the email <br />
6161
<Link href={`mailto:tripolskypetr@gmail.com`}>

packages/client/src/pages/ErrorPage.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ const useStyles = makeStyles()((theme) => ({
2525
display: 'flex',
2626
alignItems: 'center',
2727
flexDirection: 'column',
28-
gap: 15,
28+
gap: 20,
2929
padding: 15,
3030
},
3131
container: {
@@ -54,7 +54,7 @@ export const ErrorPage = () => {
5454
<Paper className={classes.container}>
5555
<Stack direction='column' gap="15px">
5656
<Logo />
57-
<span>
57+
<span style={{ marginTop: -10 }}>
5858
It looks like DAPP finished with uncaught exception<span className="emoji">😐</span><br />
5959
Please reload this page and try again
6060
</span>

packages/client/src/pages/NoMetamaskPage.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ const useStyles = makeStyles()((theme) => ({
2525
display: 'flex',
2626
alignItems: 'center',
2727
flexDirection: 'column',
28-
gap: 15,
28+
gap: 20,
2929
padding: 15,
3030
},
3131
container: {
@@ -55,7 +55,7 @@ export const NoMetamaskPage = () => {
5555
<Paper className={classes.container}>
5656
<Stack direction='column' gap="15px">
5757
<Logo />
58-
<span>
58+
<span style={{ marginTop: -10 }}>
5959
We were not able to detect <strong>MetaMask</strong> <span className="emoji">😐</span>.
6060
We value <strong>privacy and security</strong> a lot so we
6161
limit the wallet options on the DAPP.<br />

packages/client/src/pages/NotDeployedPage.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ const useStyles = makeStyles()((theme) => ({
2525
display: 'flex',
2626
alignItems: 'center',
2727
flexDirection: 'column',
28-
gap: 15,
28+
gap: 20,
2929
padding: 15,
3030
},
3131
container: {
@@ -54,7 +54,7 @@ export const ConnectPage = () => {
5454
<Paper className={classes.container}>
5555
<Stack direction='column' gap="15px">
5656
<Logo />
57-
<span>
57+
<span style={{ marginTop: -10 }}>
5858
Could not find the contract, are you connected to the right chain?<span className="emoji">😐</span><br />
5959
Please reload this page and try again
6060
</span>

packages/client/src/pages/PermissionPage.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ const useStyles = makeStyles()((theme) => ({
2525
display: 'flex',
2626
alignItems: 'center',
2727
flexDirection: 'column',
28-
gap: 15,
28+
gap: 20,
2929
padding: 15,
3030
},
3131
container: {
@@ -54,7 +54,7 @@ export const ConnectPage = () => {
5454
<Paper className={classes.container}>
5555
<Stack direction='column' gap="15px">
5656
<Logo />
57-
<span>
57+
<span style={{ marginTop: -10 }}>
5858
It looks like you rejected the wallet connection request <span className="emoji">😐</span><br />
5959
Please reload this page and try again
6060
</span>

0 commit comments

Comments
 (0)