improvement

This commit is contained in:
Carl-Gerhard Lindesvärd
2024-02-13 19:03:51 +01:00
parent 69523bc0d7
commit 2572da3456
10 changed files with 116 additions and 14 deletions

View File

@@ -47,7 +47,10 @@ export function SerieIcon({ name, ...props }: SerieIconProps) {
if (name.includes('http')) {
Icon = ((_props) => (
<SocialIcon network={networkFor(name)} />
<img
className="w-4 h-4 object-cover"
src={`${String(process.env.NEXT_PUBLIC_API_URL)}/misc/favicon?url=${encodeURIComponent(name)}`}
/>
)) as LucideIcon;
}