refactoring step1 GoogleAuth

This commit is contained in:
Samuel Andert
2023-07-24 17:41:44 +02:00
parent 0e6a956511
commit 50b0fca034
3 changed files with 85 additions and 84 deletions

View File

@ -5,31 +5,24 @@
layout: `
grid-template-areas:
"login",
grid-template-rows: 1fr;
"play"
grid-template-rows: 1fr 1fr;
`,
children: [
{
id: 'login1',
componentName: 'Login',
slot: 'Login',
children: [
{
id: 'wallet1',
componentName: 'Wallet',
state: {
rpcURL: 'https://rpc.gnosischain.com/',
pkpPubKey:
'046da3ba67065fd1e2726242ca01cd4601524893f4aa4b0042578fa6cbec28fa8c9a28eb9f7893932fc09717edc9e1db57e157a21eed346247c1db5a722a01f571'
},
children: [
{
id: 'HelloEarth1',
componentName: 'HelloEarth',
map: { pkp: 'wallet1.pkpPubKey', rpcURL: 'wallet1.rpcURL' }
}
]
}
]
componentName: 'GoogleAuth',
slot: 'login'
},
{
id: 'wallet1',
componentName: 'Wallet',
slot: 'play',
state: {
rpcURL: 'https://rpc.gnosischain.com/',
pkpPubKey:
'046da3ba67065fd1e2726242ca01cd4601524893f4aa4b0042578fa6cbec28fa8c9a28eb9f7893932fc09717edc9e1db57e157a21eed346247c1db5a722a01f571'
}
}
]
};