mirror of
https://github.com/ThaUnknown/miru.git
synced 2026-04-20 06:52:04 +00:00
uuuuh... tired fixes and finishes for landing page and PWA
This commit is contained in:
parent
d52252428a
commit
d59022b0c3
3 changed files with 8 additions and 4 deletions
|
|
@ -1,3 +1,9 @@
|
|||
@media all and (display-mode: browser) {
|
||||
body {
|
||||
/* display: none; */
|
||||
}
|
||||
}
|
||||
|
||||
.cover-img {
|
||||
object-fit: cover
|
||||
}
|
||||
|
|
|
|||
|
|
@ -30,9 +30,7 @@
|
|||
deferredPrompt.prompt();
|
||||
deferredPrompt.userChoice.then((choiceResult) => {
|
||||
if (choiceResult.outcome === 'accepted') {
|
||||
console.log('User accepted the install prompt');
|
||||
} else {
|
||||
console.log('User dismissed the install prompt');
|
||||
document.location.href = "/app/app.html"
|
||||
}
|
||||
});
|
||||
});
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"name": "Miru - Torrent streaming made simple!",
|
||||
"name": "Miru",
|
||||
"short_name": "Miru",
|
||||
"start_url": "/app/app.html",
|
||||
"display": "standalone",
|
||||
|
|
|
|||
Loading…
Reference in a new issue