Skip to content

Commit 51b8599

Browse files
committed
chore: update default image path
1 parent eb9be7b commit 51b8599

6 files changed

Lines changed: 4 additions & 5 deletions

File tree

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<html lang="en">
33
<head>
44
<meta charset="UTF-8" />
5-
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
5+
<link rel="icon" type="image/svg+xml" href="https://avatars.githubusercontent.com/u/92610726?s=88&v=4" />
66
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
77
<title>SerenityJS - Plugins</title>
88
</head>

public/serenityjs.png

-6.87 KB
Binary file not shown.

public/vite.svg

Lines changed: 0 additions & 1 deletion
This file was deleted.

src/functions/fetch-plugins.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ async function fetchPlugins(): Promise<Array<Plugin> | null> {
8686
const logoResponse = await fetch(logo, { method: "HEAD" });
8787

8888
// If the logo does not exist, use a placeholder
89-
if (!logoResponse.ok) logo = "/serenityjs.png";
89+
if (!logoResponse.ok) logo = "https://avatars.githubusercontent.com/u/92610726?s=88&v=4";
9090

9191
// Create a Plugin object
9292
const plugin: Plugin = {

src/pages/plugin-details.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -385,7 +385,7 @@ export default function PluginDetails() {
385385
<div className="details-card" style={{ marginBottom: "1rem" }}>
386386
<div className="details-hero">
387387
<img
388-
src={fromState?.logo ?? "/serenityjs.png"}
388+
src={fromState?.logo ?? "https://avatars.githubusercontent.com/u/92610726?s=88&v=4"}
389389
alt={`${name} logo`}
390390
className="details-logo"
391391
tabIndex={0}

src/pages/plugins.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ export default function Plugins() {
149149

150150
return (
151151
<article key={plugin.id} className="plugin-card" title={plugin.name} onClick={redirect}>
152-
<img src={plugin.logo ?? "/serenityjs.png"} alt={`${plugin.name} logo`} className="plugin-logo"/>
152+
<img src={plugin.logo ?? "https://avatars.githubusercontent.com/u/92610726?s=88&v=4"} alt={`${plugin.name} logo`} className="plugin-logo"/>
153153

154154
<div className="plugin-meta">
155155
<div className="plugin-title-row">

0 commit comments

Comments
 (0)