Self-host all icons and wallpaper, remove CDN dependency

Download 69 selfh.st icon files (34 PNG, 34 light SVG, unraid.svg) into
assets/icons/ and add wallpaper to assets/. Update sidebar.js to serve
icons from /custom/assets/icons/ instead of cdn.jsdelivr.net. Update
style.css wallpaper path to /custom/assets/wallpaper.jpg.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Kaloyan Danchev
2026-02-09 06:57:03 +02:00
parent fbacc229ea
commit dbabcdaf37
74 changed files with 70 additions and 9 deletions

View File

@@ -15,7 +15,7 @@
if (!document.getElementById('sidebar-logo')) {
var logo = document.createElement('img');
logo.id = 'sidebar-logo';
logo.src = 'https://cdn.jsdelivr.net/gh/selfhst/icons@main/svg/unraid.svg';
logo.src = '/custom/assets/icons/unraid.svg';
logo.alt = '';
menu.appendChild(logo);
}
@@ -152,8 +152,8 @@
(function() {
'use strict';
var CDN_PNG = 'https://cdn.jsdelivr.net/gh/selfhst/icons@main/png';
var CDN_SVG = 'https://cdn.jsdelivr.net/gh/selfhst/icons@main/svg';
var CDN_PNG = '/custom/assets/icons';
var CDN_SVG = '/custom/assets/icons';
// Container name → selfh.st icon name (lowercase)
// Only needed for names that don't auto-match.