diff --git a/www/data/images/icons.svg b/www/data/images/icons.svg index 19da5da..64c04d7 100644 --- a/www/data/images/icons.svg +++ b/www/data/images/icons.svg @@ -16,4 +16,5 @@ + \ No newline at end of file diff --git a/www/data/images/program_img/AlephNote_01.png b/www/data/images/program_img/AlephNote_01.png new file mode 100644 index 0000000..54f3502 Binary files /dev/null and b/www/data/images/program_img/AlephNote_01.png differ diff --git a/www/data/images/program_img/AlephNote_02.png b/www/data/images/program_img/AlephNote_02.png new file mode 100644 index 0000000..70ff7a2 Binary files /dev/null and b/www/data/images/program_img/AlephNote_02.png differ diff --git a/www/data/images/program_img/AlephNote_03.png b/www/data/images/program_img/AlephNote_03.png new file mode 100644 index 0000000..cfb5a18 Binary files /dev/null and b/www/data/images/program_img/AlephNote_03.png differ diff --git a/www/data/images/program_img/AlephNote_04.png b/www/data/images/program_img/AlephNote_04.png new file mode 100644 index 0000000..0e7441d Binary files /dev/null and b/www/data/images/program_img/AlephNote_04.png differ diff --git a/www/data/images/program_img/AlephNote_05.png b/www/data/images/program_img/AlephNote_05.png new file mode 100644 index 0000000..06ee186 Binary files /dev/null and b/www/data/images/program_img/AlephNote_05.png differ diff --git a/www/data/images/program_img/AlephNote_06.png b/www/data/images/program_img/AlephNote_06.png new file mode 100644 index 0000000..b4e6219 Binary files /dev/null and b/www/data/images/program_img/AlephNote_06.png differ diff --git a/www/data/images/program_img/CannonConquest_01.png b/www/data/images/program_img/CannonConquest_01.png new file mode 100644 index 0000000..5348755 Binary files /dev/null and b/www/data/images/program_img/CannonConquest_01.png differ diff --git a/www/data/images/program_img/CannonConquest_02.png b/www/data/images/program_img/CannonConquest_02.png new file mode 100644 index 0000000..fe1c04a Binary files /dev/null and b/www/data/images/program_img/CannonConquest_02.png differ diff --git a/www/data/images/program_img/CannonConquest_03.png b/www/data/images/program_img/CannonConquest_03.png new file mode 100644 index 0000000..050b865 Binary files /dev/null and b/www/data/images/program_img/CannonConquest_03.png differ diff --git a/www/data/images/program_img/CannonConquest_04.png b/www/data/images/program_img/CannonConquest_04.png new file mode 100644 index 0000000..22624ad Binary files /dev/null and b/www/data/images/program_img/CannonConquest_04.png differ diff --git a/www/data/images/program_img/CannonConquest_05.png b/www/data/images/program_img/CannonConquest_05.png new file mode 100644 index 0000000..8e83891 Binary files /dev/null and b/www/data/images/program_img/CannonConquest_05.png differ diff --git a/www/data/images/program_img/HexSolver_01.webm b/www/data/images/program_img/HexSolver_01.webm new file mode 100644 index 0000000..e13006e Binary files /dev/null and b/www/data/images/program_img/HexSolver_01.webm differ diff --git a/www/data/images/program_img/image_06.png b/www/data/images/program_img/image_06.png new file mode 100644 index 0000000..2fff1e1 Binary files /dev/null and b/www/data/images/program_img/image_06.png differ diff --git a/www/data/images/program_img/jClipCorn_01.png b/www/data/images/program_img/jClipCorn_01.png new file mode 100644 index 0000000..2bd38ac Binary files /dev/null and b/www/data/images/program_img/jClipCorn_01.png differ diff --git a/www/data/images/program_img/jClipCorn_02.png b/www/data/images/program_img/jClipCorn_02.png new file mode 100644 index 0000000..53f1c4e Binary files /dev/null and b/www/data/images/program_img/jClipCorn_02.png differ diff --git a/www/data/images/program_img/jClipCorn_03.png b/www/data/images/program_img/jClipCorn_03.png new file mode 100644 index 0000000..5c6abbd Binary files /dev/null and b/www/data/images/program_img/jClipCorn_03.png differ diff --git a/www/data/images/program_img/jClipCorn_04.png b/www/data/images/program_img/jClipCorn_04.png new file mode 100644 index 0000000..9d51f2e Binary files /dev/null and b/www/data/images/program_img/jClipCorn_04.png differ diff --git a/www/data/images/program_img/jClipCorn_05.png b/www/data/images/program_img/jClipCorn_05.png new file mode 100644 index 0000000..7b24194 Binary files /dev/null and b/www/data/images/program_img/jClipCorn_05.png differ diff --git a/www/data/images/program_img/jClipCorn_06.png b/www/data/images/program_img/jClipCorn_06.png new file mode 100644 index 0000000..b693a3d Binary files /dev/null and b/www/data/images/program_img/jClipCorn_06.png differ diff --git a/www/data/images/program_img/jClipCorn_07.png b/www/data/images/program_img/jClipCorn_07.png new file mode 100644 index 0000000..baf0774 Binary files /dev/null and b/www/data/images/program_img/jClipCorn_07.png differ diff --git a/www/data/images/program_img/jClipCorn_08.png b/www/data/images/program_img/jClipCorn_08.png new file mode 100644 index 0000000..5368048 Binary files /dev/null and b/www/data/images/program_img/jClipCorn_08.png differ diff --git a/www/index.php b/www/index.php index 6fb9d5c..1704c07 100644 --- a/www/index.php +++ b/www/index.php @@ -204,7 +204,5 @@ try { } -//TODO gzip (?) //TODO euler insert+show 32bit | 64bit mode -//TODO send cache header (?) -//TODO v4 subdomain+static +//TODO show extra_images (+webm) in programs (carousel ?) \ No newline at end of file diff --git a/www/internals/programs.php b/www/internals/programs.php index 40c5c41..500c96f 100644 --- a/www/internals/programs.php +++ b/www/internals/programs.php @@ -20,6 +20,8 @@ class Programs 'homepage', 'wiki', 'alternativeto', + + 'changelog', ]; const LICENSES = @@ -128,6 +130,7 @@ class Programs if ($type === 'itunesstore') { $caption = 'App Store'; $css = 'prgv_dl_appstore'; $svg = 'apple'; } if ($type === 'sourceforge') { $caption = 'Sourceforge'; $css = 'prgv_dl_sourceforge'; $svg = 'sourceforge'; } if ($type === 'alternativeto') { $caption = 'AlternativeTo'; $css = 'prgv_dl_alternativeto'; $svg = 'alternativeto'; } + if ($type === 'changelog') { $caption = 'Changelog'; $css = 'prgv_dl_changelog'; $svg = 'changelog'; } if (is_array($urldata)) { diff --git a/www/statics/programs/__all.php b/www/statics/programs/__all.php index a6042c1..15d9fa4 100644 --- a/www/statics/programs/__all.php +++ b/www/statics/programs/__all.php @@ -243,6 +243,7 @@ return 'github' => 'https://github.com/Mikescher/HexSolver', 'download' => 'https://github.com/Mikescher/HexSolver/releases', ], + 'extra_images' => ['HexSolver_01.webm'], ], @@ -299,7 +300,9 @@ return 'download' => 'https://github.com/Mikescher/jClipCorn/releases', 'github' => 'https://github.com/Mikescher/jClipCorn/', 'wiki' => 'https://github.com/Mikescher/jClipCorn/wiki', + 'changelog' => 'https://raw.githubusercontent.com/Mikescher/jClipCorn/master/CHANGELOG.txt', ], + 'extra_images' => ['jClipCorn_01.png','jClipCorn_02.png','jClipCorn_03.png','jClipCorn_04.png','jClipCorn_05.png','jClipCorn_06.png','jClipCorn_07.png','jClipCorn_08.png'], ], @@ -579,7 +582,9 @@ return 'windowsstore' => 'https://www.microsoft.com/de-de/store/p/cannon-conquest/9nx24pbs19rp?rtc=1', 'itunesstore' => 'https://itunes.apple.com/us/app/cannon-conquest/id1303565192', 'github' => 'https://github.com/Mikescher/GridDominance', + 'changelog' => 'https://github.com/Mikescher/GridDominance/tree/master/Data/changelogs' ], + 'extra_images' => ['CannonConquest_01.png', 'CannonConquest_02.png', 'CannonConquest_03.png', 'CannonConquest_04.png', 'CannonConquest_05.png', 'CannonConquest_06.png'], ], @@ -601,5 +606,6 @@ return 'homepage' => 'https://mikescher.github.io/AlephNote/', 'alternativeto' => 'https://alternativeto.net/software/alephnote/', ], + 'extra_images' => ['AlephNote_01.png', 'AlephNote_02.png', 'AlephNote_03.png', 'AlephNote_04.png', 'AlephNote_05.png', 'AlephNote_06.png'], ], ]; \ No newline at end of file