Set Apple favicon

This commit is contained in:
Bubka 2020-01-12 23:02:47 +01:00
parent d67847dbba
commit 098e741375
5 changed files with 22 additions and 0 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 0 B

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
public/favicon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 443 B

BIN
public/favicon_lg.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

15
public/manifest.json Normal file
View File

@ -0,0 +1,15 @@
{
"short_name": "2FAuth",
"name": "2FAuth",
"icons": [
{
"src": "/favicon_lg.png",
"type": "image/png",
"sizes": "180x180"
}
],
"start_url": "/",
"display": "standalone",
"scope": "/",
"theme_color": "#242424"
}

View File

@ -9,6 +9,13 @@
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
<title>{{ env("APP_NAME") }}</title>
<link rel="shortcut icon" href="{{ asset('favicon.ico') }}" />
<link rel="icon" type="image/png" href="{{ asset('favicon.png') }}" />
<link rel="apple-touch-icon" href="{{ asset('favicon_lg.png') }}" />
<link rel="apple-touch-icon-precomposed" href="{{ asset('favicon_lg.png') }}" />
<link rel="manifest" href="/manifest.json">
<link href=" {{ mix('css/app.css') }}" rel="stylesheet">
</head>
<body class="has-text-lighter">