Update logo paths in index.php to remove leading slashes

This commit is contained in:
Fabian Schieder 2026-02-28 01:30:46 +01:00
parent 0318eba497
commit 7b761dd668

View File

@ -14,14 +14,14 @@ $projects = [
"title" => "Gitea", "title" => "Gitea",
"description" => "Mein privates Git-Repository Quellcode, Projekte & mehr.", "description" => "Mein privates Git-Repository Quellcode, Projekte & mehr.",
"url" => "/git", "url" => "/git",
"logo" => "/icons/gitea.svg", "logo" => "icons/gitea.svg",
"color" => "#609926" "color" => "#609926"
], ],
[ [
"title" => "Nextcloud", "title" => "Nextcloud",
"description" => "Meine persönliche Cloud Dateien, Kalender & Kontakte.", "description" => "Meine persönliche Cloud Dateien, Kalender & Kontakte.",
"url" => "/nextcloud", "url" => "/nextcloud",
"logo" => "/icons/nextcloud.svg", "logo" => "icons/nextcloud.svg",
"color" => "#0082c9" "color" => "#0082c9"
], ],
], ],
@ -30,7 +30,7 @@ $projects = [
"title" => "Geizkragen.store", "title" => "Geizkragen.store",
"description" => "Schulprojekt Ein Online-Shop für Schnäppchenjäger.", "description" => "Schulprojekt Ein Online-Shop für Schnäppchenjäger.",
"url" => "https://geizkragen.store", "url" => "https://geizkragen.store",
"logo" => "/icons/geizkragen.png", "logo" => "icons/geizkragen.png",
"color" => "#e8281e", "color" => "#e8281e",
"external" => true "external" => true
], ],
@ -40,7 +40,7 @@ $projects = [
"title" => "Home Assistant", "title" => "Home Assistant",
"description" => "Meine Smart-Home-Zentrale Automatisierungen & Geräte.", "description" => "Meine Smart-Home-Zentrale Automatisierungen & Geräte.",
"url" => "http://homeassistant.fabianschieder.com", "url" => "http://homeassistant.fabianschieder.com",
"logo" => "/icons/homeassistant.svg", "logo" => "icons/homeassistant.svg",
"color" => "#18BCF2", "color" => "#18BCF2",
"external" => true "external" => true
], ],
@ -48,7 +48,7 @@ $projects = [
"title" => "NAS", "title" => "NAS",
"description" => "Mein Netzwerkspeicher Daten & Backups.", "description" => "Mein Netzwerkspeicher Daten & Backups.",
"url" => "http://nas.fabianschieder.com", "url" => "http://nas.fabianschieder.com",
"logo" => "/icons/nas.svg", "logo" => "icons/nas.svg",
"color" => "#a855f7", "color" => "#a855f7",
"external" => true "external" => true
], ],
@ -73,7 +73,7 @@ function logoExists(string $webPath): bool {
<meta charset="UTF-8"> <meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Fabian Schieder</title> <title>Fabian Schieder</title>
<link rel="stylesheet" href="/style.css"> <link rel="stylesheet" href="style.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.0/css/all.min.css"> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.0/css/all.min.css">
</head> </head>
<body> <body>