xref: /webtrees/resources/views/webmanifest-json.phtml (revision af7b1f136d0947b42fda7a736f4b48319cc835dd)
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