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