xref: /webtrees/resources/views/webmanifest-json.phtml (revision d1da5ba430762bd82a5d57bc40552492431d11ee)
1<?= json_encode((object) [
2    'name'             => 'webtrees',
3    'short_name'       => 'webtrees',
4    'description'      => 'webtrees online genealogy',
5    'scope'            => '/',
6    'start_url'        => '/',
7    'background_color' => '#fff',
8    'theme_color'      => '#2694e8',
9    'display'          => 'standalone',
10    'icons'            => [(object) [
11        'src'   => asset('favicon-192.png'),
12        'sizes' => '192x192',
13        'type'  => 'image/png',
14    ]],
15], JSON_THROW_ON_ERROR) ?>
16