-
Notifications
You must be signed in to change notification settings - Fork 2
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
Initial frontend #3
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice! LGTM.
render = () => html` | ||
<h2>Wallet</h2> | ||
${this.wallet && html`<p>Your current wallet is <span class="chain-id">${this.wallet.default}</span>.</p>`} | ||
<linera-wallet-picker></linera-wallet-picker> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think you can just do <linera-wallet-picker/>
or is that exclusively in React?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The NET syntax is invalid for custom elements because the browser doesn't know whether the custom element takes a body or not :(
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Discussion on the spec: WICG/webcomponents#624
Adds a skeleton frontend using Vite and Lit with some rough-and-ready brand styles.