9oVM4zpak32nwlardG5idxe8CNICZKLAJY5hHmi6-aM
ArProfile Iframe
This Release Adds
- A new router system, now you need to use
/address
or/handler
instead of query params like?address
orhandler
- Now you don't need to use HTML encode for # (%23) you can just use #
How to use
First you need to edit the latest release link with the profile wallet address using route address
or with your handler using route handler
https://arweave.net/9oVM4zpak32nwlardG5idxe8CNICZKLAJY5hHmi6-aM/address/<wallet_address>
https://arweave.net/9oVM4zpak32nwlardG5idxe8CNICZKLAJY5hHmi6-aM/handler/<name#unique>
then you just add this link to iframe and then adds the iframe to your website
<iframe src="<link>" frameorder="0" scrolling="auto" width="<width>" height="<height>"></iframe>
I strongly recommend to just edit this options at the iframe:
- src: with the link that you edited before
- width/height: with the right fit for your need
Development
Available Scripts
npm run dev
Runs a localhost with the code inside dist
npm run build
It builds everything inside src generating an entire static website inside dist folder.
npm run test
This command help you to teste the iframe after build in a controlled sample website, where you can put your iframe.