Update homepage with the web widgets

Homepage SQUASH
This commit is contained in:
Daniele Tonon
2023-11-28 21:11:20 +01:00
parent e4cd448c4c
commit b3599e754b

View File

@@ -218,6 +218,16 @@
to join a relay.
</p>
<h2 class="mt-7 text-2xl text-strongpink">Website widgets</h2>
<p class="my-3 leading-5">
You can embed notes, long form contents and profiles in a web page with a simple script:<br/>
<span class="rounded bg-lavender px-1 dark:bg-garnet">&lt;script src="https://{{ .Host }}/embed/&lt;nip-19-entity&gt;" /&gt;</span>
<div class="sm:flex gap-8 mt-4">
<div class="flex-auto mb-4 sm:mb-0"><script src="/embed/npub1sn0wdenkukak0d9dfczzeacvhkrgz92ak56egt7vdgzn8pv2wfqqhrjdv9"></script></div>
<div class="flex-auto"><script src="/embed/naddr1qqxnzd3cxqmrzv3exgmr2wfeqy08wumn8ghj7mn0wd68yttsw43zuam9d3kx7unyv4ezumn9wshszyrhwden5te0dehhxarj9ekk7mf0qy88wumn8ghj7mn0wvhxcmmv9uq3zamnwvaz7tmwdaehgu3wwa5kuef0qy2hwumn8ghj7un9d3shjtnwdaehgu3wvfnj7q3qdergggklka99wwrs92yz8wdjs952h2ux2ha2ed598ngwu9w7a6fsxpqqqp65wy2vhhv"></script></div>
</div>
</p>
<h2 class="mt-7 text-2xl text-strongpink">Inspector tool</h2>
<p class="my-3 leading-5">
You know, we are all programmers, including our moms, so for every