diff --git a/static/img/xLightningPub.png b/static/img/xLightningPub.png
new file mode 100644
index 00000000..1cbc35de
Binary files /dev/null and b/static/img/xLightningPub.png differ
diff --git a/static/index.html b/static/index.html
index 4b684f1e..31144cd4 100644
--- a/static/index.html
+++ b/static/index.html
@@ -38,23 +38,27 @@
-
- If you want to use a specific Nostr relay, enter it now:
-
-
-
-
-
-
-
+
diff --git a/static/js/wizard.js b/static/js/wizard.js
index c9717150..fdc6f4ae 100644
--- a/static/js/wizard.js
+++ b/static/js/wizard.js
@@ -10,6 +10,7 @@ $(() => {
const nodeNameInput = $("#nodeName");
const relayUrlInput = $("#relayUrl");
const avatarUrlInput = $("#avatarUrl");
+ const avatarPreview = $("#avatarPreview");
const customCheckbox = $("#customCheckbox");
const automateLiquidityRadio = $("#automate");
const manualLiquidityRadio = $("#manual");
@@ -130,10 +131,15 @@ $(() => {
} else {
relayUrlInput.val(state.relay_url);
}
- const robo = state.app_id ? `https://robohash.org/${encodeURIComponent(state.app_id)}.png?size=256x256&set=set3` : ''
- avatarUrlInput.attr('placeholder', robo || 'https://example.com/avatar.png')
+ const robo = state.app_id ? `https://robohash.org/${encodeURIComponent(state.app_id)}.png?size=128x128&set=set3` : ''
if (state.avatar_url) {
avatarUrlInput.val(state.avatar_url);
+ avatarPreview.attr('src', state.avatar_url)
+ } else if (robo) {
+ avatarPreview.attr('src', robo)
+ }
+ if (robo) {
+ avatarUrlInput.attr('placeholder', robo)
}
syncRelayState();