CardanoPress/cardanopress

Custom login process.

Opened this issue · 1 comments

Hey guys! Mr. Intangble here.

Congrats for this great plugin!

Since I've created my website with Elementor I wonder if there is a way to allow the user login using a custom modal. Because of elementor's ability to create modals, I thought by doing it in this way:

  1. One create the custom modal using elementor with the most commonly used wallets buttons (at least in my case).
  2. Once the button is positioned on the frontend, the user opens the modal in a certain event, in my case a normal button click event.
  3. When the user selects his desired login wallet, the process continues. By auto opening the wallet to sign etc.

Also, there could be cases that logins could be addressed by simply clicking a normal link. So my final question is if there is a link way/method/hook or something we could use in order to define a custom login process without using CardanoPress's native modal/dialog.

Thanks in advance, team!

I was reading this

<button x-on:click.prevent="walletConnect(type)" x-bind:disabled="isDisabled(type)">

So, there should be no problem if I use the corresponding alpine's attributes in my button, right? (Cannot test it rn as I'm not home, but I'm reading some code.)