Skip to content

Commit bb8b6ed

Browse files
chore: update deps
Signed-off-by: Henry Gressmann <[email protected]>
1 parent 8d5c102 commit bb8b6ed

File tree

4 files changed

+14
-9
lines changed

4 files changed

+14
-9
lines changed

Cargo.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

web/bun.lockb

368 Bytes
Binary file not shown.

web/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"@astrojs/react": "^3.6.2",
1212
"@explodingcamera/css": "^0.0.4",
1313
"@fontsource-variable/figtree": "^5.0.21",
14-
"@icons-pack/react-simple-icons": "^9.7.0",
14+
"@icons-pack/react-simple-icons": "^10.0.0",
1515
"@nivo/geo": "^0.87.0",
1616
"@nivo/line": "^0.87.0",
1717
"@picocss/pico": "^2.0.6",
@@ -23,11 +23,11 @@
2323
"@types/react-dom": "^18.3.0",
2424
"@types/react-simple-maps": "^3.0.6",
2525
"@uidotdev/usehooks": "^2.4.1",
26-
"astro": "^4.14.0",
26+
"astro": "^4.14.2",
2727
"date-fns": "^3.6.0",
28-
"fets": "^0.8.2",
28+
"fets": "^0.8.3",
2929
"lightningcss": "^1.26.0",
30-
"lucide-react": "^0.427.0",
30+
"lucide-react": "^0.428.0",
3131
"react": "^18.3.1",
3232
"react-countup": "^6.5.3",
3333
"react-dom": "^18.3.1",

web/src/components/icons.tsx

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -89,9 +89,14 @@ export const ReferrerIcon = ({ referrer, icon, ...props }: { referrer: string; i
8989
return <SearchIcon {...props} />;
9090
}
9191

92-
<Favicon {...props} />;
92+
<Favicon {...props} fqdn={referrer} />;
9393
};
9494

95-
export const Favicon = ({ size }: IconProps) => {
96-
return <img src={`https://icons.duckduckgo.com/ip3/${size}.ico`} alt="favicon" height={size} width={size} />;
95+
export const Favicon = ({
96+
size,
97+
fqdn,
98+
}: IconProps & {
99+
fqdn: string;
100+
}) => {
101+
return <img src={`https://icons.duckduckgo.com/ip3/${fqdn}.ico`} alt="favicon" height={size} width={size} />;
97102
};

0 commit comments

Comments
 (0)