From eabcb6961524f20aebda3751a18777bd4e956083 Mon Sep 17 00:00:00 2001 From: Yeghro <130201060+Yeghro@users.noreply.github.com> Date: Sat, 25 Jan 2025 17:20:41 -0800 Subject: [PATCH 1/5] improved top nav bar look as well as the resouce lists icons --- script.js | 48 +++++++-------- styles.css | 170 ++++++++++++++++++++--------------------------------- 2 files changed, 89 insertions(+), 129 deletions(-) diff --git a/script.js b/script.js index b309b32..e261c84 100644 --- a/script.js +++ b/script.js @@ -623,37 +623,37 @@ function createResourceCard(resource) { let faviconUrl = ''; try { const url = new URL(resource.link); - // Using Google's favicon service as a fallback if the direct favicon isn't available - faviconUrl = `https://www.google.com/s2/favicons?domain=${url.hostname}&sz=32`; + faviconUrl = `https://www.google.com/s2/favicons?domain=${url.hostname}&sz=64`; } catch (e) { console.warn('Invalid URL:', resource.link); } card.innerHTML = `