add missing images for wiki, correct some favicon path, tweaking wallpapers
|
After Width: | Height: | Size: 21 KiB |
|
After Width: | Height: | Size: 16 KiB |
|
After Width: | Height: | Size: 14 KiB |
|
After Width: | Height: | Size: 14 KiB |
|
After Width: | Height: | Size: 14 KiB |
|
After Width: | Height: | Size: 8.2 KiB |
|
After Width: | Height: | Size: 15 KiB |
|
After Width: | Height: | Size: 15 KiB |
|
After Width: | Height: | Size: 11 KiB |
|
After Width: | Height: | Size: 12 KiB |
@@ -2,7 +2,7 @@
|
|||||||
<browserconfig>
|
<browserconfig>
|
||||||
<msapplication>
|
<msapplication>
|
||||||
<tile>
|
<tile>
|
||||||
<square150x150logo src="/ressourcen/graphiken/favIcons/mstile-150x150.png"/>
|
<square150x150logo src="/ressourcen/graphiken/logos/favIcons/mstile-150x150.png"/>
|
||||||
<TileColor>#da532c</TileColor>
|
<TileColor>#da532c</TileColor>
|
||||||
</tile>
|
</tile>
|
||||||
</msapplication>
|
</msapplication>
|
||||||
|
|||||||
@@ -3,17 +3,17 @@
|
|||||||
"short_name": "cwsvJudo",
|
"short_name": "cwsvJudo",
|
||||||
"icons": [
|
"icons": [
|
||||||
{
|
{
|
||||||
"src": "/ressourcen/graphiken/favIcons/android-chrome-192x192.png",
|
"src": "/ressourcen/graphiken/logos/favIcons/android-chrome-192x192.png",
|
||||||
"sizes": "192x192",
|
"sizes": "192x192",
|
||||||
"type": "image/png"
|
"type": "image/png"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"src": "/ressourcen/graphiken/favIcons/android-chrome-256x256.png",
|
"src": "/ressourcen/graphiken/logos/favIcons/android-chrome-256x256.png",
|
||||||
"sizes": "256x256",
|
"sizes": "256x256",
|
||||||
"type": "image/png"
|
"type": "image/png"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"src": "/ressourcen/graphiken/favIcons/android-chrome-512x512.png",
|
"src": "/ressourcen/graphiken/logos/favIcons/android-chrome-512x512.png",
|
||||||
"sizes": "512x512",
|
"sizes": "512x512",
|
||||||
"type": "image/png"
|
"type": "image/png"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
<browserconfig>
|
<browserconfig>
|
||||||
<msapplication>
|
<msapplication>
|
||||||
<tile>
|
<tile>
|
||||||
<square150x150logo src="/ressourcen/graphiken/favIcons/mstile-150x150.png"/>
|
<square150x150logo src="/ressourcen/graphiken/logos/favIcons/mstile-150x150.png"/>
|
||||||
<TileColor>#da532c</TileColor>
|
<TileColor>#da532c</TileColor>
|
||||||
</tile>
|
</tile>
|
||||||
</msapplication>
|
</msapplication>
|
||||||
|
|||||||
@@ -1,9 +1,36 @@
|
|||||||
<link rel="apple-touch-icon" sizes="180x180" href="/ressourcen/graphiken/favIcons/apple-touch-icon.png">
|
<link
|
||||||
<link rel="icon" type="image/png" sizes="32x32" href="/ressourcen/graphiken/favIcons/favicon-32x32.png">
|
rel="apple-touch-icon"
|
||||||
<link rel="icon" type="image/png" sizes="16x16" href="/ressourcen/graphiken/favIcons/favicon-16x16.png">
|
sizes="180x180"
|
||||||
<link rel="manifest" href="/ressourcen/graphiken/favIcons/site.webmanifest">
|
href="/ressourcen/graphiken/logos/favIcons/apple-touch-icon.png"
|
||||||
<link rel="mask-icon" href="/ressourcen/graphiken/favIcons/safari-pinned-tab.svg" color="#5bbad5">
|
/>
|
||||||
<link rel="shortcut icon" href="/ressourcen/graphiken/favIcons/favicon.ico">
|
<link
|
||||||
<meta name="msapplication-TileColor" content="#da532c">
|
rel="icon"
|
||||||
<meta name="msapplication-config" content="/ressourcen/graphiken/favIcons/browserconfig.xml">
|
type="image/png"
|
||||||
<meta name="theme-color" content="#ffffff">
|
sizes="32x32"
|
||||||
|
href="/ressourcen/graphiken/logos/favIcons/favicon-32x32.png"
|
||||||
|
/>
|
||||||
|
<link
|
||||||
|
rel="icon"
|
||||||
|
type="image/png"
|
||||||
|
sizes="16x16"
|
||||||
|
href="/ressourcen/graphiken/logos/favIcons/favicon-16x16.png"
|
||||||
|
/>
|
||||||
|
<link
|
||||||
|
rel="manifest"
|
||||||
|
href="/ressourcen/graphiken/logos/favIcons/site.webmanifest"
|
||||||
|
/>
|
||||||
|
<link
|
||||||
|
rel="mask-icon"
|
||||||
|
href="/ressourcen/graphiken/logos/favIcons/safari-pinned-tab.svg"
|
||||||
|
color="#5bbad5"
|
||||||
|
/>
|
||||||
|
<link
|
||||||
|
rel="shortcut icon"
|
||||||
|
href="/ressourcen/graphiken/logos/favIcons/favicon.ico"
|
||||||
|
/>
|
||||||
|
<meta name="msapplication-TileColor" content="#da532c" />
|
||||||
|
<meta
|
||||||
|
name="msapplication-config"
|
||||||
|
content="/ressourcen/graphiken/logos/favIcons/browserconfig.xml"
|
||||||
|
/>
|
||||||
|
<meta name="theme-color" content="#ffffff" />
|
||||||
|
|||||||
@@ -3,12 +3,12 @@
|
|||||||
"short_name": "",
|
"short_name": "",
|
||||||
"icons": [
|
"icons": [
|
||||||
{
|
{
|
||||||
"src": "/ressourcen/graphiken/favIcons/android-chrome-192x192.png",
|
"src": "/ressourcen/graphiken/logos/favIcons/android-chrome-192x192.png",
|
||||||
"sizes": "192x192",
|
"sizes": "192x192",
|
||||||
"type": "image/png"
|
"type": "image/png"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"src": "/ressourcen/graphiken/favIcons/android-chrome-256x256.png",
|
"src": "/ressourcen/graphiken/logos/favIcons/android-chrome-256x256.png",
|
||||||
"sizes": "256x256",
|
"sizes": "256x256",
|
||||||
"type": "image/png"
|
"type": "image/png"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -136,13 +136,16 @@ class Wallpaper
|
|||||||
public function get_html()
|
public function get_html()
|
||||||
{
|
{
|
||||||
$format = "avif"; //"webp";
|
$format = "avif"; //"webp";
|
||||||
$widths = [1200, 600, 992, 1200, 2400];
|
$widths = [600, 992, 1200, 2400];
|
||||||
$src_sets = implode(
|
$src_sets = implode(
|
||||||
", ",
|
", ",
|
||||||
array_map(fn($w) => "{$this->src_dir}/1200.{$format}", $widths)
|
array_map(
|
||||||
|
fn($width) => "{$this->src_dir}/{$width}.{$format} {$width}w",
|
||||||
|
$widths
|
||||||
|
)
|
||||||
);
|
);
|
||||||
// return "<img class=\"lazyload\" src=\"{$this->src}\" data-src=\"{$this->data_src}\" alt=\"Wallpaper\">";
|
// return "<img class=\"lazyload\" src=\"{$this->src}\" data-src=\"{$this->data_src}\" alt=\"Wallpaper\">";
|
||||||
return "<img data-sizes=\"auto\" src=\"{$this->src_dir}/mosaic.svg\" data-src=\"{$this->src_dir}/1200.{$format}\" data-srcset=\"{$src_sets}\" class=\"lazyload\" alt=\"Wallpaper\">";
|
return "<img data-sizes=\"auto\" src=\"{$this->src_dir}/mosaic.svg\" data-src=\"{$this->src_dir}/{$widths[0]}.{$format}\" data-srcset=\"{$src_sets}\" class=\"lazyload\" alt=\"Wallpaper\">";
|
||||||
}
|
}
|
||||||
public static function create(string $name, string $root_path)
|
public static function create(string $name, string $root_path)
|
||||||
{
|
{
|
||||||
|
|||||||