generate avatar img with util

This commit is contained in:
Ginger Wong
2020-07-04 22:34:00 -07:00
parent 96258fc0f3
commit 5efa67d605
3 changed files with 79 additions and 55 deletions

View File

@@ -21,8 +21,6 @@ GW TODO:
- accessilbity
- convert all the https://robohash.org/username123 areas to {{}}, put into util
- generate ?set=x(1-1)&size=10x10
*/
</script>
@@ -45,7 +43,12 @@ GW TODO:
<div id="user-options-container" class="flex">
<div id="user-info">
<div id="user-info-display" title="Click to update user name" class="flex">
<img src="https://robohash.org/username123" id="username-avatar" class="rounded-full bg-black bg-opacity-50 border border-solid border-gray-700" />
<img
src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7"
alt=""
id="username-avatar"
class="rounded-full bg-black bg-opacity-50 border border-solid border-gray-700"
/>
<span id="username-display" class="text-indigo-600"></span>
</div>