From 29d0671282ca1405d2e572cbc15ff14057dc0a24 Mon Sep 17 00:00:00 2001 From: Dan Cojocaru Date: Sun, 14 Aug 2022 11:31:33 +0200 Subject: [PATCH] Add PWA manifest --- index.html | 4 +++- manifest.json | 17 +++++++++++++++++ train.html | 4 +++- view-train.html | 4 +++- 4 files changed, 26 insertions(+), 3 deletions(-) create mode 100644 manifest.json diff --git a/index.html b/index.html index 947636e..a0c33c2 100644 --- a/index.html +++ b/index.html @@ -6,6 +6,8 @@ InfoTren + + @@ -28,4 +30,4 @@
- \ No newline at end of file + diff --git a/manifest.json b/manifest.json new file mode 100644 index 0000000..a9bf2a4 --- /dev/null +++ b/manifest.json @@ -0,0 +1,17 @@ +{ + "name": "Info Tren: Romanian Railways", + "short_name": "Info Tren", + "theme_color": "#0000ff", + "background_color": "#ffffff", + "display": "minimal-ui", + "scope": "/", + "start_url": "/", + "shortcuts": [ + { + "name": "My train", + "short_name": "My train", + "description": "Find information about a train", + "url": "/train.html" + } + ] +} diff --git a/train.html b/train.html index dddf9f8..a2b69e5 100644 --- a/train.html +++ b/train.html @@ -6,6 +6,8 @@ Train - InfoTren + + @@ -29,4 +31,4 @@
- \ No newline at end of file + diff --git a/view-train.html b/view-train.html index 468e644..2a5f3d1 100644 --- a/view-train.html +++ b/view-train.html @@ -6,6 +6,8 @@ View Train - InfoTren + + @@ -43,4 +45,4 @@
Refresh
- \ No newline at end of file +