Skip to content

Commit

Permalink
fix: migrate to yandex for favicons
Browse files Browse the repository at this point in the history
  • Loading branch information
ndom91 committed Jul 30, 2024
1 parent 3b6ffde commit 20e9694
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion apps/web/src/lib/components/FilterCombobox.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
>
<Checkbox id={item.id} bind:checked={item.visible} />
<img
src={`https://icons.duckduckgo.com/ip9/${new URL(item.url).hostname}.ico`}
src={`https://favicon.yandex.net/favicon/${new URL(item.url).hostname}`}
alt="URL Favicon"
class="m-2 rounded-full size-4"
/>
Expand Down
2 changes: 1 addition & 1 deletion apps/web/src/lib/components/feed-row/FeedRow.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@
<div class="flex gap-2 justify-start items-center mt-2 text-sm text-muted">
{#if feedEntry.link}
<img
src={`https://icons.duckduckgo.com/ip9/${new URL(feedEntry.link).hostname}.ico`}
src={`https://favicon.yandex.net/favicon/${new URL(feedEntry.link).hostname}`}
alt="URL Favicon"
class="rounded-full size-4"
/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<div class="flex flex-col gap-1 w-64">
<div class="flex justify-between">
<img
src={`https://icons.duckduckgo.com/ip9/${new URL(item.url).hostname}.ico`}
src={`https://favicon.yandex.net/favicon/${new URL(item.url).hostname}`}
alt="URL Favicon"
class="rounded-full size-5"
/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
<div class="flex overflow-hidden flex-col gap-1 w-64">
<div class="flex justify-between">
<img
src={`https://icons.duckduckgo.com/ip9/${new URL(item.link).hostname}.ico`}
src={`https://favicon.yandex.net/favicon/${new URL(item.link).hostname}`}
alt="URL Favicon"
class="rounded-full size-5"
/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
<label for={new URL(feed.url).host} class="flex gap-2 justify-start items-center">
<span> {new URL(feed.url).host} </span>
<img
src={`https://icons.duckduckgo.com/ip9/${new URL(feed.url).hostname}.ico`}
src={`https://favicon.yandex.net/favicon/${new URL(feed.url).hostname}`}
alt="URL Favicon"
class="rounded-full size-6"
/>
Expand Down
2 changes: 1 addition & 1 deletion apps/web/src/routes/(dashboard)/feeds/FilterBar.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
>
<span class="truncate flex-grow mx-2">{feed.name}</span>
<img
src={`https://icons.duckduckgo.com/ip9/${new URL(feed.url).hostname}.ico`}
src={`https://favicon.yandex.net/favicon/${new URL(feed.url).hostname}`}
alt="URL Favicon"
class="m-2 rounded-full size-5"
/>
Expand Down

0 comments on commit 20e9694

Please sign in to comment.