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