Use #000000 for the background colour as the app overwrites this colour
Use #1fffff for the background colour as the app overwrites this colour
Use #f1ffff for the background colour as the app overwrites this colour
avatar
can be used to get the avatar of the user.
If the user doesn't have an avatar this is just
<h1>domain.shakecities/</h1>
If the user does have an avatar this is
<img src='avatar-url' width='200vw' height='200vw' style='border-radius: 50%;margin-right: 5px;'>
If the user has a HNSChat name set this will return
<a href='https://hns.chat/#message:username' target='_blank'>
<img src='hns_icon' width='20px' height='20px' style='margin-right: 5px;'>
username/
</a>
If the user has a location set this will return
<img src='location_icon' width='20px' height='30px' style='margin-right: 5px;'>
location
If the user has a email set this will return
<a href='mailto:email@example'>
<img src='email_icon' width='30px' height='20px' style='margin-right: 5px;margin-left:-10px;'>
email@example
</a>
This is the Shakecities footer. It will always be the same "Powered by Shakecities"
main_domain
can be used to get the main domain of the site e.g. shakecities.com
data
can be used to get the data of the site.
This is the main body
These are the icons for the crypto addresses.
There are 2 versions of each icon. One with a contrast to the background colour and one without.
These return the path to the image of the icon (eg. assets/img/HNS.png
)
They are as follows:
- hns_icon
- hns_icon_invert
- btc_icon
- btc_icon_invert
- eth_icon
- eth_icon_invert
These are the full parts for the crypto addresses.
They return both the icon and the address.
For example hns
returns
<img src='hns_icon' width='20px' height='20px' style='margin-right: 5px;'>hs1...
The list of full parts are:
- hns
- btc
- eth
- hns_invert
- btc_invert
- eth_invert
These are plain text addresses without the icon.
Eg. hns_address
returns
hs1...
They are as follows:
- hns_address
- btc_address
- eth_address