|
10 | 10 | <!-- Disable resizing the viewport for mobile -->
|
11 | 11 | <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
|
12 | 12 |
|
| 13 | + <title>huroutes | Magyar utak vezetésre</title> |
| 14 | + |
| 15 | + <!-- Web app icons and themes --> |
| 16 | + <link rel="icon" type="image/png" sizes="32x32" href="res/favicon-32.png"> |
| 17 | + <link rel="icon" type="image/png" sizes="16x16" href="res/favicon-16.png"> |
| 18 | + <link rel="shortcut icon" href="res/favicon.ico"> |
| 19 | + <link rel="manifest" href="app/manifest.json"> |
| 20 | + <link rel="mask-icon" href="app/safari-pinned-tab.svg" color="#bae1c7"> |
| 21 | + <link rel="apple-touch-icon" sizes="180x180" href="app/maskableicon-180.png"> |
| 22 | + <meta name="application-name" content="huroutes"> |
| 23 | + <meta name="apple-mobile-web-app-title" content="huroutes"> |
| 24 | + <meta name="msapplication-TileColor" content="#2b5797"> |
| 25 | + <meta name="msapplication-config" content="app/mstile.xml"> |
| 26 | + <meta name="theme-color" content="#0000bb"> |
| 27 | + |
13 | 28 | <!-- Shared link preview card resources -->
|
14 | 29 | <meta property="og:title" content="huroutes" />
|
15 | 30 | <meta property="og:type" content="website" />
|
16 | 31 | <meta property="og:url" content="https://sp3eder.github.io/huroutes/" />
|
17 | 32 | <meta property="og:description" content="Magyar utak vezetésre" />
|
18 |
| - <meta property="og:image" content="https://sp3eder.github.io/huroutes/res/banner.jpg" /> |
19 |
| - <meta property="og:image:secure_url" content="https://sp3eder.github.io/huroutes/res/banner.jpg" /> |
| 33 | + <meta property="og:image" content="https://sp3eder.github.io/huroutes/app/banner.jpg" /> |
| 34 | + <meta property="og:image:secure_url" content="https://sp3eder.github.io/huroutes/app/banner.jpg" /> |
20 | 35 | <meta property="og:image:alt" content="huroutes" />
|
21 | 36 | <meta property="og:image:type" content="image/jpeg" />
|
22 | 37 | <meta property="og:image:width" content="1200" />
|
23 | 38 | <meta property="og:image:height" content="630" />
|
24 | 39 |
|
25 |
| - <title>huroutes | Magyar utak vezetésre</title> |
26 |
| - |
27 |
| - <link rel="icon" href="res/favicon.ico" /> |
28 |
| - <link rel="icon" href="res/favicon.png" sizes="32x32" type="image/png" /> |
29 |
| - <link rel="icon" href="res/favicon-sm.png" sizes="16x16" type="image/png" /> |
30 |
| - |
31 | 40 | <!-- Google tag (gtag.js) -->
|
32 | 41 | <script async src="https://www.googletagmanager.com/gtag/js?id=G-7RW997RX2F"></script>
|
33 | 42 | <script>
|
|
37 | 46 | gtag('config', 'G-7RW997RX2F');
|
38 | 47 | </script>
|
39 | 48 |
|
| 49 | + <script> |
| 50 | + if ('serviceWorker' in navigator) |
| 51 | + navigator.serviceWorker.register('sw.js'); |
| 52 | + </script> |
| 53 | + |
40 | 54 | <!-- 3rd party library CSS -->
|
41 | 55 | <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.6.2/dist/css/bootstrap.min.css" integrity="sha256-+IZRbz1B6ee9mUx/ejmonK+ulIP5A5bLDd6v6NHqXnI=" crossorigin="anonymous" referrerpolicy="no-referrer">
|
42 | 56 | <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@forevolve/bootstrap-dark@4.0.0/dist/css/toggle-bootstrap.min.css" integrity="sha256-FrYhUW1FIy6GrbYaAdOOeWzysJaYHvXRTvC5JkpI2Io=" crossorigin="anonymous" referrerpolicy="no-referrer">
|
@@ -201,6 +215,35 @@ <h3>Beállítások</h3>
|
201 | 215 | <a href="https://github.com/Sp3EdeR/huroutes-android/releases" target="_blank">innen töltheted le</a>.
|
202 | 216 | </div>
|
203 | 217 | </div>
|
| 218 | + <!-- Progressive Web App ad toast --> |
| 219 | + <div id="toast-pwa-app" role="alert" aria-live="assertive" aria-atomic="true" class="toast hide" data-autohide="false"> |
| 220 | + <div class="toast-header"> |
| 221 | + <strong class="mr-auto">Alkalmazásként Telepítés</strong> |
| 222 | + <button type="button" class="ml-2 mb-1 close" data-dismiss="toast" aria-label="Close"> |
| 223 | + <span aria-hidden="true">×</span> |
| 224 | + </button> |
| 225 | + </div> |
| 226 | + <div class="toast-body"> |
| 227 | + <p>Telepíteni tudod ezt az alkalmazást rögtön a böngésződből az eszközödre. |
| 228 | + Ha ki szeretnéd próbálni, <a href="#">kattints ide</a>.</p> |
| 229 | + <p>Ha később szeretnéd kipróbálni, a böngésződ címsorában vagy menüjében találhatod |
| 230 | + meg a telepítés vagy letöltés menüpontot legközelebb.</p> |
| 231 | + </div> |
| 232 | + </div> |
| 233 | + <!-- Safari PWA ad toast --> |
| 234 | + <div id="toast-safari-app" role="alert" aria-live="assertive" aria-atomic="true" class="toast hide" data-autohide="false"> |
| 235 | + <div class="toast-header"> |
| 236 | + <strong class="mr-auto">Alkalmazásként Telepítés</strong> |
| 237 | + <button type="button" class="ml-2 mb-1 close" data-dismiss="toast" aria-label="Close"> |
| 238 | + <span aria-hidden="true">×</span> |
| 239 | + </button> |
| 240 | + </div> |
| 241 | + <div class="toast-body"> |
| 242 | + Telepíteni tudod ezt az alkalmazást rögtön a böngésződből az eszközödre. |
| 243 | + Ha ki szeretnéd próbálni, kattints a megosztás <i class="fas fa-external-link-alt"></i> |
| 244 | + ikonra, majd válaszd ki a "Hozzáadás a kezdőképernyőhöz" lehetőséget. |
| 245 | + </div> |
| 246 | + </div> |
204 | 247 | <!-- App update toast -->
|
205 | 248 | <div id="toast-app-update" role="alert" aria-live="assertive" aria-atomic="true" class="toast hide" data-autohide="false">
|
206 | 249 | <div class="toast-header">
|
|
0 commit comments