Display online stores favicon URLs via Google API
This commit is contained in:
@@ -29,7 +29,12 @@
|
||||
class="flex items-center justify-between py-5"
|
||||
>
|
||||
<div class="min-w-0">
|
||||
<div class="flex items-start gap-x-3">
|
||||
<div class="flex items-center gap-x-2">
|
||||
<img
|
||||
src={MusicLibrary.OnlineStoreTemplates.favicon_url(template)}
|
||||
alt={template.name}
|
||||
loading="lazy"
|
||||
/>
|
||||
<p class="text-sm font-semibold text-gray-900 dark:text-white">
|
||||
{template.name}
|
||||
</p>
|
||||
|
||||
@@ -281,7 +281,13 @@
|
||||
:for={template <- @online_store_templates}
|
||||
class="flex items-center justify-between py-2 px-3 bg-gray-50 dark:bg-gray-800 rounded-lg"
|
||||
>
|
||||
<span class="text-sm font-medium text-gray-900 dark:text-white">
|
||||
<img
|
||||
class="mr-2"
|
||||
src={MusicLibrary.OnlineStoreTemplates.favicon_url(template)}
|
||||
alt={template.name}
|
||||
loading="lazy"
|
||||
/>
|
||||
<span class="text-sm font-medium text-gray-900 dark:text-white grow">
|
||||
{template.name}
|
||||
</span>
|
||||
<.button
|
||||
|
||||
Reference in New Issue
Block a user