xref: /webtrees/resources/views/webmanifest-json.phtml (revision d79b5f08a52566bdaede070cd06537c63e9acee0)
1439bf5cfSGreg Roach<?= json_encode((object) [
2439bf5cfSGreg Roach    'name'             => 'webtrees',
3439bf5cfSGreg Roach    'short_name'       => 'webtrees',
4439bf5cfSGreg Roach    'description'      => 'webtrees online genealogy',
5439bf5cfSGreg Roach    'scope'            => '/',
6439bf5cfSGreg Roach    'start_url'        => '/',
7439bf5cfSGreg Roach    'background_color' => '#fff',
8439bf5cfSGreg Roach    'theme_color'      => '#2694e8',
9439bf5cfSGreg Roach    'display'          => 'standalone',
10*d79b5f08SGreg Roach    'icons'            => [(object) [
11439bf5cfSGreg Roach        'src'   => asset('favicon-192.png'),
12439bf5cfSGreg Roach        'sizes' => '192x192',
13439bf5cfSGreg Roach        'type'  => 'image/png',
14*d79b5f08SGreg Roach    ]],
15439bf5cfSGreg Roach], JSON_THROW_ON_ERROR) ?>
16