Fix icons paths (#322)

This commit is contained in:
Flaminel
2025-09-29 21:36:59 +03:00
committed by GitHub
parent 2b9c347ed6
commit a3549c80a9
5 changed files with 20 additions and 20 deletions

View File

@@ -157,12 +157,12 @@ public static class ApiDI
icons = new[]
{
new {
src = "assets/icons/icon-192x192.png",
src = "icons/icon-192x192.png",
sizes = "192x192",
type = "image/png"
},
new {
src = "assets/icons/icon-512x512.png",
src = "icons/icon-512x512.png",
sizes = "512x512",
type = "image/png"
}

View File

@@ -1,7 +1,7 @@
<!-- Logo Container -->
<div class="logo-container">
<div class="logo logo-large logo-glow">
<img src="/icons/128.png" width="40" height="40" alt="Logo">
<img src="icons/128.png" width="40" height="40" alt="Logo">
</div>
<h2>Cleanuparr</h2>
</div>

View File

@@ -255,40 +255,40 @@ export class SidebarContentComponent implements OnInit, OnDestroy {
label: 'Sonarr',
icon: 'pi pi-play-circle',
route: '/sonarr',
iconUrl: '/icons/ext/sonarr-light.svg',
iconUrlHover: '/icons/ext/sonarr.svg'
iconUrl: 'icons/ext/sonarr-light.svg',
iconUrlHover: 'icons/ext/sonarr.svg'
},
{
id: 'radarr',
label: 'Radarr',
icon: 'pi pi-play-circle',
route: '/radarr',
iconUrl: '/icons/ext/radarr-light.svg',
iconUrlHover: '/icons/ext/radarr.svg'
iconUrl: 'icons/ext/radarr-light.svg',
iconUrlHover: 'icons/ext/radarr.svg'
},
{
id: 'lidarr',
label: 'Lidarr',
icon: 'pi pi-bolt',
route: '/lidarr',
iconUrl: '/icons/ext/lidarr-light.svg',
iconUrlHover: '/icons/ext/lidarr.svg'
iconUrl: 'icons/ext/lidarr-light.svg',
iconUrlHover: 'icons/ext/lidarr.svg'
},
{
id: 'readarr',
label: 'Readarr',
icon: 'pi pi-book',
route: '/readarr',
iconUrl: '/icons/ext/readarr-light.svg',
iconUrlHover: '/icons/ext/readarr.svg'
iconUrl: 'icons/ext/readarr-light.svg',
iconUrlHover: 'icons/ext/readarr.svg'
},
{
id: 'whisparr',
label: 'Whisparr',
icon: 'pi pi-lock',
route: '/whisparr',
iconUrl: '/icons/ext/whisparr-light.svg',
iconUrlHover: '/icons/ext/whisparr.svg'
iconUrl: 'icons/ext/whisparr-light.svg',
iconUrlHover: 'icons/ext/whisparr.svg'
},
{ id: 'download-clients', label: 'Download Clients', icon: 'pi pi-download', route: '/download-clients' }
]

View File

@@ -26,22 +26,22 @@ export class ProviderTypeSelectionComponent {
{
type: NotificationProviderType.Apprise,
name: 'Apprise',
iconUrl: '/icons/ext/apprise-light.svg',
iconUrlHover: '/icons/ext/apprise.svg',
iconUrl: 'icons/ext/apprise-light.svg',
iconUrlHover: 'icons/ext/apprise.svg',
description: 'https://github.com/caronc/apprise'
},
{
type: NotificationProviderType.Notifiarr,
name: 'Notifiarr',
iconUrl: '/icons/ext/notifiarr-light.svg',
iconUrlHover: '/icons/ext/notifiarr.svg',
iconUrl: 'icons/ext/notifiarr-light.svg',
iconUrlHover: 'icons/ext/notifiarr.svg',
description: 'https://notifiarr.com'
},
{
type: NotificationProviderType.Ntfy,
name: 'ntfy',
iconUrl: '/icons/ext/ntfy-light.svg',
iconUrlHover: '/icons/ext/ntfy.svg',
iconUrl: 'icons/ext/ntfy-light.svg',
iconUrlHover: 'icons/ext/ntfy.svg',
description: 'https://ntfy.sh/'
}
];

View File

@@ -43,7 +43,7 @@
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="apple-mobile-web-app-title" content="Cleanuparr">
<link rel="apple-touch-icon" href="assets/icons/apple-touch-icon.png">
<link rel="apple-touch-icon" href="icons/apple-touch-icon.png">
</head>
<body>
<app-root></app-root>