Skip to content

Commit f81ab19

Browse files
committed
Fix highlight banner
1 parent 52696e0 commit f81ab19

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

store.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,13 +75,13 @@ fetch("store.json")
7575
const highlightData = {
7676
Highlights: [
7777
{
78-
Image: "thumbnails/freakytable.png",
78+
Image: "freakytable",
7979
Data: jsonData.Patches.find(
8080
(patch) => patch.Title === "EB-FreakyTable",
8181
),
8282
},
8383
{
84-
Image: "thumbnails/photosynthesis.png",
84+
Image: "photosynthesis",
8585
Data: jsonData.Patches.find(
8686
(patch) => patch.Title === "Photosynthesis",
8787
),
@@ -99,7 +99,7 @@ fetch("store.json")
9999
slide.classList.add("slide");
100100

101101
slide.innerHTML = `
102-
<img src="${highlight.Image}" alt="${highlight.Title || "Highlight"}">
102+
<img src="containers/webp/${highlight.Image}.webp" alt="${highlight.Title || "Highlight"}">
103103
`;
104104

105105
// Add click event to open the popup if "Data" exists

0 commit comments

Comments
 (0)