Add PWA support (closes #25)
This commit is contained in:
parent
710d3d0d07
commit
d3f8a0d2eb
2 changed files with 24 additions and 0 deletions
23
public/manifest.json
Normal file
23
public/manifest.json
Normal file
|
@ -0,0 +1,23 @@
|
|||
{
|
||||
"name": "Mozhi",
|
||||
"short_name": "Mozhi",
|
||||
"description": "An alternative-frontend for many translation engines!",
|
||||
"start_url": "/",
|
||||
"scope": "/",
|
||||
"display": "standalone",
|
||||
"background_color": "#FFEDD5",
|
||||
"theme_color": "#FFEDD5",
|
||||
"icons": [
|
||||
{
|
||||
"src": "/assets/mozhi.png",
|
||||
"sizes": "512x512",
|
||||
"type": "image/png"
|
||||
},
|
||||
{
|
||||
"src": "/assets/mozhi.svg",
|
||||
"sizes": "512x512",
|
||||
"type": "image/svg",
|
||||
"purpose": "maskable"
|
||||
}
|
||||
]
|
||||
}
|
|
@ -17,6 +17,7 @@
|
|||
<script src="/js/nice-select2.js"></script>
|
||||
<link rel="stylesheet" href="/css/nice-select2.css">
|
||||
<link rel="stylesheet" href="/css/style.css" />
|
||||
<link rel="manifest" href="/manifest.json">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
|
Loading…
Reference in a new issue