This commit is contained in:
2025-10-09 14:20:31 -04:00
parent be9674cf99
commit 73972d33a7
2 changed files with 9 additions and 6 deletions

View File

@@ -12,7 +12,7 @@ EMBED IT WITH:
<script src="https://btcforplebs.com/nostr-chat-widget.js"
data-nostr-pubkey="YOUR_PUBKEY"
data-brand-name="My Company"
data-color="#8e30eb">
data-color="#8e30eb"
data-color-secondary="#ff8c00">
</script>
@@ -55,7 +55,7 @@ EMBED IT WITH:
// Get configuration from script tag
const scriptTag = document.currentScript;
const csPubkey = scriptTag.getAttribute('data-nostr-pubkey') || 'PUBKEY_TO_RECEICE_MESSAGES';
const brandName = scriptTag.getAttribute('data-brand-name') || 'Support Team';
const brandName = scriptTag.getAttribute('data-brand-name') || 'Support Team Messaging';
const primaryColor = scriptTag.getAttribute('data-color') || '#fdad01';
const secondaryColor = scriptTag.getAttribute('data-color-secondary') || '#ff8c00';
@@ -64,8 +64,7 @@ EMBED IT WITH:
'wss://relay.damus.io',
'wss://relay.primal.net',
'wss://nos.lol',
'wss://relay.btcforplebs.com',
'wss://relay.logemedia.com'
'wss://relay.btcforplebs.com'
];
// Inject Tailwind CSS

View File

@@ -45,8 +45,12 @@
<p>Follow BTCforPlebs on <a href="https://nostrudel.btcforplebs.com/u/npub1w4rz7n0vunaau499xh86p84s6v5mmgys48p0nmttt7w36takc9dsf4382j">Nostr</a> or <a href="https://youtube.com/@btcforplebs">YouTube</a> for the latest</p>
</div>
<script src="https://btcforplebs.com/nostr-chat-widget.js" data-nostr-pubkey="75462f4dece4fbde54a535cfa09eb0d329bda090a9c2f9ed6b5f9d1d2fb6c15b" data-brand-name="Chat with BTCforPlebs" data-color="#8e30eb" data-color-secondary="#8e30eb">
</script>
<script src="https://btcforplebs.com/nostr-chat-widget.js"
data-nostr-pubkey="75462f4dece4fbde54a535cfa09eb0d329bda090a9c2f9ed6b5f9d1d2fb6c15b"
data-brand-name="Chat with BTCforPlebs"
data-color="#8e30eb"
data-color-secondary="#000000">
</script>
<footer style="text-align:center;margin-top: 2rem;color:#777;">
2025 BTCforPlebs The only relay that's actually reliable.