Skip to content

Commit 4f81f75

Browse files
committed
Fix remaining static asset paths and update page title
- Fix OpenJS Foundation logo path (App.jsx) - Fix countries GeoJSON data fetch path (ChoroplethMap.jsx) - Fix favicon path (index.html) - Update page title to 'The State of Node-RED's User Experience 2025 - Survey Results' All assets now use relative paths compatible with GitHub Pages base path
1 parent f745edf commit 4f81f75

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
<html lang="en">
33
<head>
44
<meta charset="UTF-8" />
5-
<link rel="icon" type="image/x-icon" href="/favicon.ico" />
5+
<link rel="icon" type="image/x-icon" href="./favicon.ico" />
66
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
7-
<title>Node-RED Survey Dashboard</title>
7+
<title>The State of Node-RED's User Experience 2025 - Survey Results</title>
88
</head>
99
<body>
1010
<div id="root"></div>

src/App.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3098,7 +3098,7 @@ function App() {
30983098
rel="noopener noreferrer"
30993099
>
31003100
<img
3101-
src="/openjs-foundation-logo.svg"
3101+
src="./openjs-foundation-logo.svg"
31023102
alt="OpenJS Foundation"
31033103
className="h-16 opacity-60 hover:opacity-100 transition-opacity"
31043104
/>

src/components/ChoroplethMap.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ const ChoroplethMap = ({ questionId, questionTitle, filters, _color, wasmService
1717

1818
// Fetch country boundaries TopoJSON and convert to GeoJSON
1919
useEffect(() => {
20-
fetch('/countries-110m.json')
20+
fetch('./countries-110m.json')
2121
.then(response => response.json())
2222
.then(topology => {
2323
// Convert TopoJSON to GeoJSON features

0 commit comments

Comments
 (0)