Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v1.1-beta Release #28

Merged
merged 393 commits into from
Sep 13, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
393 commits
Select commit Hold shift + click to select a range
acf8e75
auto-commit: gh-pages
sshmatrix Aug 17, 2023
21f7d9b
auto-commit: gh-pages
sshmatrix Aug 17, 2023
89bb512
auto-commit: gh-pages
sshmatrix Aug 17, 2023
79ba903
auto-commit: gh-pages
sshmatrix Aug 17, 2023
5276092
RainbowKit placement fix
sshmatrix Aug 17, 2023
18feebd
auto-commit: gh-pages
sshmatrix Aug 17, 2023
502055f
auto-commit: gh-pages
sshmatrix Aug 17, 2023
6287eae
auto-commit: gh-pages
sshmatrix Aug 17, 2023
1232d06
auto-commit: gh-pages
sshmatrix Aug 17, 2023
b1ac455
auto-commit: gh-pages
sshmatrix Aug 17, 2023
11cf90e
RainbowKit styling
sshmatrix Aug 17, 2023
6d28258
auto-commit: gh-pages
sshmatrix Aug 17, 2023
3423485
auto-commit: gh-pages
sshmatrix Aug 17, 2023
3da7b0f
auto-commit: gh-pages
sshmatrix Aug 17, 2023
4e4dfb3
auto-commit: gh-pages
sshmatrix Aug 17, 2023
e602c9a
auto-commit: gh-pages
sshmatrix Aug 17, 2023
2ce6d95
auto-commit: gh-pages
sshmatrix Aug 17, 2023
4f539c3
auto-commit: gh-pages
sshmatrix Aug 17, 2023
8502835
auto-commit: gh-pages
sshmatrix Aug 17, 2023
90578b3
auto-commit: gh-pages
sshmatrix Aug 17, 2023
3bfff7c
auto-commit: gh-pages
sshmatrix Aug 17, 2023
9f66194
auto-commit: gh-pages
sshmatrix Aug 17, 2023
aaaad7a
Fix for Wagmi2.0 and RainbowKit1.0 migration
sshmatrix Aug 17, 2023
f46c636
auto-commit: gh-pages
sshmatrix Aug 17, 2023
ed7e29a
auto-commit: gh-pages
sshmatrix Aug 17, 2023
6c604ef
auto-commit: gh-pages
sshmatrix Aug 17, 2023
12d89f7
Fix for Wagmi2.0 and RainbowKit1.0 migration: 2
sshmatrix Aug 17, 2023
e427c81
auto-commit: gh-pages
sshmatrix Aug 17, 2023
5c72654
auto-commit: gh-pages
sshmatrix Aug 17, 2023
110d60c
Fix for Wagmi2.0 and RainbowKit1.0 migration: 3
sshmatrix Aug 17, 2023
ee9aff9
auto-commit: gh-pages
sshmatrix Aug 17, 2023
6883830
auto-commit: gh-pages
sshmatrix Aug 17, 2023
e3cdbad
auto-commit: gh-pages
sshmatrix Aug 17, 2023
2ad8539
auto-commit: gh-pages
sshmatrix Aug 17, 2023
15f8390
auto-commit: gh-pages
sshmatrix Aug 17, 2023
df3c076
auto-commit: gh-pages
sshmatrix Aug 17, 2023
33b58ea
auto-commit: gh-pages
sshmatrix Aug 17, 2023
f98f3a4
auto-commit: gh-pages
sshmatrix Aug 17, 2023
906cb0b
rSync
sshmatrix Aug 17, 2023
24f417b
auto-commit: gh-pages
sshmatrix Aug 18, 2023
07aa1ba
Mainnet Ready
sshmatrix Aug 18, 2023
50e3846
auto-commit: gh-pages
sshmatrix Aug 18, 2023
2cf9c44
Refresh buttons
sshmatrix Aug 18, 2023
4a700c2
auto-commit: gh-pages
sshmatrix Aug 18, 2023
4081d26
auto-commit: gh-pages
sshmatrix Aug 18, 2023
bef3b8d
Search function
sshmatrix Aug 18, 2023
82b96e4
auto-commit: gh-pages
sshmatrix Aug 18, 2023
ff09935
auto-commit: gh-pages
sshmatrix Aug 19, 2023
d6c8073
auto-commit: gh-pages
sshmatrix Aug 19, 2023
5f251b6
auto-commit: gh-pages
sshmatrix Aug 19, 2023
b94c7ec
Testing Goerli-v7
sshmatrix Aug 19, 2023
7e06570
HTTP Gateway Integration
sshmatrix Aug 19, 2023
e02accc
auto-commit: gh-pages
sshmatrix Aug 19, 2023
1085dff
HTTP Gateway Integration: 2
sshmatrix Aug 19, 2023
93a4962
auto-commit: gh-pages
sshmatrix Aug 19, 2023
18a8661
auto-commit: gh-pages
sshmatrix Aug 19, 2023
fda292e
Finetune
sshmatrix Aug 19, 2023
544d1bd
Confirmation tab for Ownerhash
sshmatrix Aug 19, 2023
a216c96
auto-commit: gh-pages
sshmatrix Aug 19, 2023
c47595f
Caching while setting Ownerhash
sshmatrix Aug 19, 2023
fc8832e
auto-commit: gh-pages
sshmatrix Aug 19, 2023
425a8fb
Some triggers fixed
sshmatrix Aug 19, 2023
29320d3
auto-commit: gh-pages
sshmatrix Aug 19, 2023
81ab168
Signer Signature
sshmatrix Aug 20, 2023
cfd7aa5
auto-commit: gh-pages
sshmatrix Aug 20, 2023
c7bccb9
Export Signatures
sshmatrix Aug 20, 2023
dddf941
Fix for queue
sshmatrix Aug 20, 2023
91ce1d7
Finetune: 2
sshmatrix Aug 20, 2023
521d57c
auto-commit: gh-pages
sshmatrix Aug 20, 2023
9761b17
auto-commit: gh-pages
sshmatrix Aug 20, 2023
4038603
Finetune: 3
sshmatrix Aug 21, 2023
24160c2
auto-commit: gh-pages
sshmatrix Aug 21, 2023
7595a00
Mainnet v1.0.0
sshmatrix Aug 21, 2023
a800e16
Update Signature text for SIG1
sshmatrix Aug 21, 2023
8193817
auto-commit: gh-pages
sshmatrix Aug 21, 2023
283d28b
Password Dialogue improvements
sshmatrix Aug 21, 2023
4e99e73
auto-commit: gh-pages
sshmatrix Aug 21, 2023
53aecb7
Bad Password Break
sshmatrix Aug 22, 2023
4d78e7d
auto-commit: gh-pages
sshmatrix Aug 22, 2023
0fdb853
auto-commit: gh-pages
sshmatrix Aug 23, 2023
d4a6f1b
auto-commit: gh-pages
sshmatrix Aug 23, 2023
164e828
auto-commit: gh-pages
sshmatrix Aug 23, 2023
392f2f6
auto-commit: gh-pages
sshmatrix Aug 23, 2023
b58819e
auto-commit: gh-pages
sshmatrix Aug 23, 2023
f06782a
auto-commit: gh-pages
sshmatrix Aug 23, 2023
4db6763
auto-commit: gh-pages
sshmatrix Aug 23, 2023
2d5436c
auto-commit: gh-pages
sshmatrix Aug 23, 2023
be0ca23
auto-commit: gh-pages
sshmatrix Aug 23, 2023
28dff1d
auto-commit: gh-pages
sshmatrix Aug 23, 2023
bf3579b
auto-commit: gh-pages
sshmatrix Aug 23, 2023
1c80810
auto-commit: gh-pages
sshmatrix Aug 23, 2023
f0ed4a0
auto-commit: gh-pages
sshmatrix Aug 23, 2023
afe766f
auto-commit: gh-pages
sshmatrix Aug 23, 2023
987de92
auto-commit: gh-pages
sshmatrix Aug 23, 2023
ff7eb35
auto-commit: gh-pages
sshmatrix Aug 23, 2023
6b4b18a
auto-commit: gh-pages
sshmatrix Aug 23, 2023
84a806f
auto-commit: gh-pages
sshmatrix Aug 23, 2023
619d8e8
auto-commit: gh-pages
sshmatrix Aug 23, 2023
49c526e
auto-commit: gh-pages
sshmatrix Aug 23, 2023
cec0d1b
Several bug fixes
sshmatrix Aug 23, 2023
067b4b9
auto-commit: gh-pages
sshmatrix Aug 23, 2023
e40e4fb
auto-commit: gh-pages
sshmatrix Aug 23, 2023
715d428
auto-commit: gh-pages
sshmatrix Aug 23, 2023
33eb564
auto-commit: gh-pages
sshmatrix Aug 23, 2023
fa7d3a5
auto-commit: gh-pages
sshmatrix Aug 23, 2023
c7d7045
auto-commit: gh-pages
sshmatrix Aug 24, 2023
343f1ca
Preview Panel Load Fix
sshmatrix Aug 24, 2023
fdfa494
auto-commit: gh-pages
sshmatrix Aug 24, 2023
3333e50
auto-commit: gh-pages
sshmatrix Aug 24, 2023
7810b35
auto-commit: gh-pages
sshmatrix Aug 24, 2023
66a49ca
rSync
sshmatrix Aug 24, 2023
a9857a6
fast
sshmatrix Aug 24, 2023
067fec2
Merge rSync
sshmatrix Aug 24, 2023
590ac0d
auto-commit: gh-pages
sshmatrix Aug 24, 2023
caf7a4c
auto-commit: gh-pages
sshmatrix Aug 24, 2023
312b94e
auto-commit: gh-pages
sshmatrix Aug 24, 2023
18401f6
auto-commit: gh-pages
sshmatrix Aug 24, 2023
9bb1c73
auto-commit: gh-pages
sshmatrix Aug 24, 2023
4c3c57d
auto-commit: gh-pages
sshmatrix Aug 24, 2023
6886c5a
auto-commit: gh-pages
sshmatrix Aug 24, 2023
7c35a10
auto-commit: gh-pages
sshmatrix Aug 24, 2023
cd2c2df
auto-commit: gh-pages
sshmatrix Aug 24, 2023
b6a0d0d
Mainnet Release: v1.0.0
sshmatrix Aug 24, 2023
bd3940d
Client Release 1.0.0
sshmatrix Aug 24, 2023
b8f74d0
PWA and other improvements
sshmatrix Aug 25, 2023
32b1b71
Fix for Issue #12 and #13
sshmatrix Aug 25, 2023
cd9d35e
Support for NFT avatars (#17)
sshmatrix Aug 25, 2023
c0c76cf
auto-commit: gh-pages
sshmatrix Aug 25, 2023
049cacc
auto-commit: gh-pages
sshmatrix Aug 25, 2023
9f885d6
auto-commit: gh-pages
sshmatrix Aug 25, 2023
d93320c
auto-commit: gh-pages
sshmatrix Aug 25, 2023
131f281
auto-commit: gh-pages
sshmatrix Aug 25, 2023
a8bb02b
auto-commit: gh-pages
sshmatrix Aug 25, 2023
1181107
auto-commit: gh-pages
sshmatrix Aug 25, 2023
04d6a2c
auto-commit: gh-pages
sshmatrix Aug 25, 2023
5407f9f
NFT Avatar Support
sshmatrix Aug 25, 2023
ee69541
Emoji Support (#18)
sshmatrix Aug 25, 2023
60e4334
Emoji Support Merge
sshmatrix Aug 25, 2023
f6b3cb3
auto-commit: gh-pages
sshmatrix Aug 25, 2023
aaa53fa
Merge branch 'indexer' into dev
sshmatrix Aug 25, 2023
c042a41
auto-commit: gh-pages
sshmatrix Aug 25, 2023
62b4d80
auto-commit: gh-pages
sshmatrix Aug 26, 2023
128c280
auto-commit: gh-pages
sshmatrix Aug 26, 2023
d408da1
auto-commit: gh-pages
sshmatrix Aug 26, 2023
a8f2d82
auto-commit: gh-pages
sshmatrix Aug 26, 2023
9634340
auto-commit: gh-pages
sshmatrix Aug 26, 2023
be91101
auto-commit: gh-pages
sshmatrix Aug 26, 2023
987518a
auto-commit: gh-pages
sshmatrix Aug 26, 2023
f8530cb
auto-commit: gh-pages
sshmatrix Aug 26, 2023
7f8845d
auto-commit: gh-pages
sshmatrix Aug 26, 2023
a4f753c
auto-commit: gh-pages
sshmatrix Aug 26, 2023
019bf01
auto-commit: gh-pages
sshmatrix Aug 26, 2023
d07dcee
auto-commit: gh-pages
sshmatrix Aug 26, 2023
3f69d4a
auto-commit: gh-pages
sshmatrix Aug 26, 2023
c9586e8
auto-commit: gh-pages
sshmatrix Aug 26, 2023
f630824
auto-commit: gh-pages
sshmatrix Aug 26, 2023
ba512b8
auto-commit: gh-pages
sshmatrix Aug 26, 2023
78f168b
auto-commit: gh-pages
sshmatrix Aug 26, 2023
062b3ae
auto-commit: gh-pages
sshmatrix Aug 26, 2023
8fa4890
auto-commit: gh-pages
sshmatrix Aug 26, 2023
b7c73d7
auto-commit: gh-pages
sshmatrix Aug 26, 2023
0deba32
Client Help Page
sshmatrix Aug 26, 2023
3cc32fb
auto-commit: gh-pages
sshmatrix Aug 26, 2023
7ba0a1e
auto-commit: gh-pages
sshmatrix Aug 26, 2023
466a795
Merge branch 'dev' of https://github.com/namesys-eth/ccip2-eth-client…
sshmatrix Aug 26, 2023
effe4a7
auto-commit: gh-pages
sshmatrix Aug 26, 2023
79323a1
auto-commit: gh-pages
sshmatrix Aug 26, 2023
9693fe2
Cleanup keygen.ts
sshmatrix Aug 28, 2023
7595424
auto-commit: gh-pages
sshmatrix Aug 29, 2023
58b8639
Minor Fixes in Search Tab
sshmatrix Aug 29, 2023
e68e25d
auto-commit: gh-pages
sshmatrix Aug 29, 2023
bff9a20
Minor Fixes in Search Tab: 2
sshmatrix Aug 29, 2023
2420dae
auto-commit: gh-pages
sshmatrix Aug 29, 2023
eed4e3a
rSync
sshmatrix Aug 29, 2023
9c50869
Merge branch 'main' into dev
sshmatrix Aug 29, 2023
57c1aca
Labels on Export Fields & GoDID Link
sshmatrix Aug 29, 2023
fff1576
auto-commit: gh-pages
sshmatrix Aug 29, 2023
0e57646
IPFS Hash Export
sshmatrix Aug 29, 2023
4937a38
auto-commit: gh-pages
sshmatrix Aug 29, 2023
21b6d53
IPFS Hash Export: 2
sshmatrix Aug 29, 2023
904e978
IPFS Hash Export: 3
sshmatrix Aug 30, 2023
b9b5e59
auto-commit: gh-pages
sshmatrix Aug 30, 2023
c71e131
Fix for names with Config
sshmatrix Aug 31, 2023
381730c
auto-commit: gh-pages
sshmatrix Aug 31, 2023
668b0ac
Fix Manager vs Owner issue
sshmatrix Aug 31, 2023
14ff654
auto-commit: gh-pages
sshmatrix Aug 31, 2023
715f3fe
auto-commit: gh-pages
sshmatrix Sep 1, 2023
fe182dd
auto-commit: gh-pages
sshmatrix Sep 1, 2023
f3fcd4f
Contenthash Regex Fix
sshmatrix Sep 1, 2023
94c550c
Minor Fixes
sshmatrix Sep 1, 2023
5e5e750
auto-commit: gh-pages
sshmatrix Sep 1, 2023
5da4208
rSync
sshmatrix Sep 1, 2023
68525b6
Release v1.0.2
sshmatrix Sep 1, 2023
03e7800
Minor Makeup
sshmatrix Sep 1, 2023
8ddb569
Security Fixes
sshmatrix Sep 3, 2023
3bf04c4
Security Fixes For IPNS Key
sshmatrix Sep 3, 2023
a9b2cc9
auto-commit: gh-pages
sshmatrix Sep 3, 2023
c0ff600
Stealth Payment (#24)
sshmatrix Sep 3, 2023
632d08b
Stealth Payments
sshmatrix Sep 3, 2023
1591094
auto-commit: gh-pages
sshmatrix Sep 3, 2023
0455fa4
auto-commit: gh-pages
sshmatrix Sep 3, 2023
1dd678f
Stealth Payments: 2
sshmatrix Sep 3, 2023
bd662b1
Stealth Payments: 3
sshmatrix Sep 4, 2023
0b233d8
auto-commit: gh-pages
sshmatrix Sep 4, 2023
b23e11d
Stealth Payments: Finetune
sshmatrix Sep 4, 2023
daf8f4b
Stealth Payments: Finetune 2
sshmatrix Sep 4, 2023
6a7195e
WIP: Gateway
sshmatrix Sep 5, 2023
66987a9
WIP: Gateway as Ownerhash
sshmatrix Sep 5, 2023
0325a11
auto-commit: gh-pages
sshmatrix Sep 6, 2023
e136cb1
WIP: RSA
sshmatrix Sep 6, 2023
a442d89
Stealth Payments & Gateways
sshmatrix Sep 6, 2023
0a6d6ad
Stealth Payments & Gateways: 2
sshmatrix Sep 7, 2023
f1e980a
auto-commit: gh-pages
sshmatrix Sep 7, 2023
e0f130c
auto-commit: gh-pages
sshmatrix Sep 7, 2023
3981d75
auto-commit: gh-pages
sshmatrix Sep 7, 2023
8669ebe
Socials and Addresses
sshmatrix Sep 8, 2023
8a929a6
auto-commit: gh-pages
sshmatrix Sep 8, 2023
91a03c9
auto-commit: gh-pages
sshmatrix Sep 8, 2023
f8c580a
auto-commit: gh-pages
sshmatrix Sep 8, 2023
8ade2fb
Socials and Addresses: 2
sshmatrix Sep 8, 2023
bf7661f
auto-commit: gh-pages
sshmatrix Sep 8, 2023
3b1858b
auto-commit: gh-pages
sshmatrix Sep 8, 2023
a24f6b3
auto-commit: gh-pages
sshmatrix Sep 8, 2023
612075c
auto-commit: gh-pages
sshmatrix Sep 8, 2023
7e1884b
auto-commit: gh-pages
sshmatrix Sep 8, 2023
99998a7
auto-commit: gh-pages
sshmatrix Sep 8, 2023
1aeaf3e
auto-commit: gh-pages
sshmatrix Sep 8, 2023
943f7e1
auto-commit: gh-pages
sshmatrix Sep 8, 2023
4dfca84
auto-commit: gh-pages
sshmatrix Sep 8, 2023
ff08724
auto-commit: gh-pages
sshmatrix Sep 8, 2023
7216e15
auto-commit: gh-pages
sshmatrix Sep 8, 2023
fd6d480
auto-commit: gh-pages
sshmatrix Sep 9, 2023
59186be
Several Fixes
sshmatrix Sep 9, 2023
8721144
non-BTC coinTypes
sshmatrix Sep 9, 2023
3f3b80f
non-BTC coinTypes: 2
sshmatrix Sep 9, 2023
42c96c8
auto-commit: gh-pages
sshmatrix Sep 9, 2023
2554239
auto-commit: gh-pages
sshmatrix Sep 9, 2023
3fb8ea9
Block non-BTC coinTypes
sshmatrix Sep 9, 2023
8e8be39
auto-commit: gh-pages
sshmatrix Sep 9, 2023
221f1d6
auto-commit: gh-pages
sshmatrix Sep 9, 2023
9b0a102
Minor Fixes
sshmatrix Sep 10, 2023
aa1ddbc
v1.1-beta
sshmatrix Sep 11, 2023
fe8ff5c
auto-commit: gh-pages
sshmatrix Sep 11, 2023
0aa9722
auto-commit: gh-pages
sshmatrix Sep 11, 2023
deb845f
auto-commit: gh-pages
sshmatrix Sep 11, 2023
f461802
v1.1-beta: 2
sshmatrix Sep 11, 2023
8d4a16a
auto-commit: gh-pages
sshmatrix Sep 11, 2023
f221b33
auto-commit: gh-pages
sshmatrix Sep 13, 2023
2a9e648
Final v1.1-beta release
sshmatrix Sep 13, 2023
2845093
v1.1-beta release
sshmatrix Sep 13, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
67 changes: 34 additions & 33 deletions components/Confirm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const Confirm: React.FC<ModalProps> = ({ show, onClose, children, handleModalDat
const [browser, setBrowser] = React.useState(false)
const [helpModal, setHelpModal] = React.useState(false)
const [help, setHelp] = React.useState('')

React.useEffect(() => {
setBrowser(true)
}, [])
Expand All @@ -38,16 +38,16 @@ const Confirm: React.FC<ModalProps> = ({ show, onClose, children, handleModalDat
<StyledModal>
<StyledModalHeader>
<a href="#" onClick={handleCloseClick}>
<span
<span
className="material-icons"
>
close
</span>
</a>
</StyledModalHeader>
{show &&
{show &&
<StyledModalTitle>
<div
<div
className="material-icons"
style={{
marginTop: '4px',
Expand Down Expand Up @@ -118,7 +118,7 @@ const Confirm: React.FC<ModalProps> = ({ show, onClose, children, handleModalDat
marginLeft: '25px'
}}
>
<button
<button
className="button-option"
style={{
height: '35px',
Expand All @@ -127,34 +127,34 @@ const Confirm: React.FC<ModalProps> = ({ show, onClose, children, handleModalDat
fontSize: '15px',
fontWeight: '700'
}}
onClick={() => {
handleConfirmSubmit('0')
onClick={() => {
handleConfirmSubmit('0')
}}
data-tooltip={ children === '0' ? 'Continue With Ownerhash' : 'Continue With Recordhash' }
data-tooltip={children === '0' ? 'Continue With Ownerhash' : 'Continue With Recordhash'}
>
<div
<div
className="flex-row"
>
{ children === '0' ? 'Ownerhash' : 'Recordhash' }&nbsp;<span className="material-icons chonk">hub</span>
{children === '0' ? 'Ownerhash' : 'Recordhash'}&nbsp;<span className="material-icons chonk">hub</span>
</div>
</button>
<button
<button
className="button-tiny"
onClick={() => {
setHelpModal(true),
onClick={() => {
setHelpModal(true)
setHelp(`<span><span style="color: cyan">${children === '0' ? 'Ownerhash' : 'Recordhash'}</span> is specific to one ${children === '0' ? 'wallet' : 'name'} and it is the <span style="color: lime">permissionless</span> and <span style="color: lime">decentralised</span> option</span>`)
}}
data-tooltip={ 'Enlighten Me' }
data-tooltip={'Enlighten Me'}
>
<div
<div
className="material-icons smol"
style={{
style={{
color: 'cyan',
marginLeft: '5px',
marginTop: '16px'
}}
>
info_outline
info_outline
</div>
</button>
</div>
Expand All @@ -164,7 +164,7 @@ const Confirm: React.FC<ModalProps> = ({ show, onClose, children, handleModalDat
marginLeft: '25px'
}}
>
<button
<button
className="button-option"
style={{
height: '35px',
Expand All @@ -173,35 +173,35 @@ const Confirm: React.FC<ModalProps> = ({ show, onClose, children, handleModalDat
fontSize: '15px',
fontWeight: '700'
}}
onClick={ () => {
onClick={() => {
handleConfirmSubmit('1')
}}
data-tooltip={ 'Continue With HTTP Gateway' }
data-tooltip={'Continue With HTTP Gateway'}
disabled={!children}
>
<div
<div
className="flex-row"
>
{ 'HTTP Gateway' }&nbsp;<span className="material-icons chonk">dns</span>
{'HTTP Gateway'}&nbsp;<span className="material-icons chonk">dns</span>
</div>
</button>
<button
<button
className="button-tiny"
onClick={() => {
setHelpModal(true),
onClick={() => {
setHelpModal(true)
setHelp('<span><span style="color: cyan">HTTP Gateway</span> could point to a <span style="color: cyan">web<span style="font-family: \'SF Mono\'; font-size: 15px">2</span></span> gateway or <span style="color: cyan">L<span style="font-family: \'SF Mono\'; font-size: 15px">2</span></span> proxy</span>')
}}
data-tooltip={ 'Continue With Gateway' }
data-tooltip={'Continue With Gateway'}
>
<div
<div
className="material-icons smol"
style={{
style={{
color: 'cyan',
marginLeft: '5px',
marginTop: '16px'
}}
>
info_outline
info_outline
</div>
</button>
</div>
Expand All @@ -210,12 +210,13 @@ const Confirm: React.FC<ModalProps> = ({ show, onClose, children, handleModalDat
</StyledModal>
<div id="modal-inner">
<Help
color={ 'cyan' }
icon={ 'info' }
color={'cyan'}
icon={'info'}
onClose={() => setHelpModal(false)}
show={helpModal}
position={''}
>
{ help }
{help}
</Help>
</div>
</StyledModalOverlay>
Expand Down Expand Up @@ -280,7 +281,7 @@ const StyledModal = styled.div`
`

const StyledModalOverlay = styled.div`
position: absolute;
position: fixed;
top: 0;
left: 0;
width: 100%;
Expand Down
4 changes: 3 additions & 1 deletion components/Error.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,8 @@ const StyledModalHeader = styled.div`
`

const StyledModal = styled.div`
position: fixed;
top: 300px;
background: red;
width: 400px;
height: auto;
Expand All @@ -88,7 +90,7 @@ const StyledModal = styled.div`
`

const StyledModalOverlay = styled.div`
position: absolute;
position: fixed;
top: 0;
left: 0;
width: 100%;
Expand Down
3 changes: 2 additions & 1 deletion components/Export.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,7 @@ const Export: React.FC<ModalProps> = ({ show, onClose, children, handleModalData
icon={ 'info' }
onClose={() => setHelpModal(false)}
show={helpModal}
position={''}
>
{ help }
</Help>
Expand Down Expand Up @@ -287,7 +288,7 @@ const StyledModal = styled.div`

const StyledModalOverlay = styled.div`
position: absolute;
top: 0;
top: -60px;
left: 0;
width: 100%;
height: 100%;
Expand Down
4 changes: 3 additions & 1 deletion components/Gas.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,8 @@ const StyledModalHeader = styled.div`
`;

const StyledModal = styled.div`
position: fixed;
top: 250px;
background: rgba(66,46,40,1);
background-size: 400% 400%;
width: auto;
Expand All @@ -182,7 +184,7 @@ const StyledModal = styled.div`
`;

const StyledModalOverlay = styled.div`
position: absolute;
position: fixed;
top: 0;
left: 0;
width: 100%;
Expand Down
3 changes: 2 additions & 1 deletion components/Gateway.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,7 @@ const Gateway: React.FC<ModalProps> = ({ show, onClose, children, handleModalDat
icon={ 'info' }
onClose={() => setHelpModal(false)}
show={helpModal}
position={''}
>
{ help }
</Help>
Expand Down Expand Up @@ -223,7 +224,7 @@ const StyledModal = styled.div`

const StyledModalOverlay = styled.div`
position: absolute;
top: 0;
top: -60px;
left: 0;
width: 100%;
height: 100%;
Expand Down
13 changes: 9 additions & 4 deletions components/Help.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@ import ReactDOM from 'react-dom'
import styled from 'styled-components'
import { isMobile } from 'react-device-detect'

const Help = ({ icon, color, show, onClose, children }) => {
interface StyledModalProps {
top: string;
}
const Help = ({ icon, color, show, onClose, children, position }) => {
const [browser, setBrowser] = React.useState(false)
React.useEffect(() => {
setBrowser(true)
Expand All @@ -16,7 +19,7 @@ const Help = ({ icon, color, show, onClose, children }) => {

const modalContent = show ? (
<StyledModalOverlay>
<StyledModal>
<StyledModal top={position}>
<StyledModalHeader>
<a href="#" onClick={handleCloseClick}>
<span
Expand Down Expand Up @@ -88,7 +91,9 @@ const StyledModalHeader = styled.div`
justify-content: flex-end;
`

const StyledModal = styled.div`
const StyledModal = styled.div<StyledModalProps>`
position: fixed;
top: ${props => props.top};
background: rgba(66,46,40,1);
background-size: 400% 400%;
width: auto;
Expand All @@ -102,7 +107,7 @@ const StyledModal = styled.div`
`

const StyledModalOverlay = styled.div`
position: absolute;
position: fixed;
top: 0;
left: 0;
width: 100%;
Expand Down
2 changes: 1 addition & 1 deletion components/Info.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ const StyledModal = styled.div`

const StyledModalOverlay = styled.div`
position: absolute;
top: 0;
top: -60px;
left: 0;
width: 100%;
height: 100%;
Expand Down
Loading