index.html 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  1. <!DOCTYPE html><html><head>
  2. <!--
  3. If you are serving your web app in a path other than the root, change the
  4. href value below to reflect the base path you are serving from.
  5. The path provided below has to start and end with a slash "/" in order for
  6. it to work correctly.
  7. For more details:
  8. * https://developer.mozilla.org/en-US/docs/Web/HTML/Element/base
  9. This is a placeholder for base href that will be replaced by the value of
  10. the `--base-href` argument provided to `flutter build`.
  11. -->
  12. <base href="$FLUTTER_BASE_HREF">
  13. <meta charset="UTF-8">
  14. <meta content="IE=Edge" http-equiv="X-UA-Compatible">
  15. <meta name="description" content="A new Flutter project.">
  16. <!-- iOS meta tags & icons -->
  17. <meta name="mobile-web-app-capable" content="yes">
  18. <meta name="apple-mobile-web-app-status-bar-style" content="black">
  19. <meta name="apple-mobile-web-app-title" content="ixvpn">
  20. <link rel="apple-touch-icon" href="icons/Icon-192.png">
  21. <!-- Favicon -->
  22. <link rel="icon" type="image/png" href="favicon.png">
  23. <title>ixvpn</title>
  24. <link rel="manifest" href="manifest.json">
  25. <meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" name="viewport">
  26. <style id="splash-screen-style">
  27. html {
  28. height: 100%
  29. }
  30. body {
  31. margin: 0;
  32. min-height: 100%;
  33. background-color: #000000;
  34. background-size: 100% 100%;
  35. }
  36. .center {
  37. margin: 0;
  38. position: absolute;
  39. top: 50%;
  40. left: 50%;
  41. -ms-transform: translate(-50%, -50%);
  42. transform: translate(-50%, -50%);
  43. }
  44. .contain {
  45. display:block;
  46. width:100%; height:100%;
  47. object-fit: contain;
  48. }
  49. .stretch {
  50. display:block;
  51. width:100%; height:100%;
  52. }
  53. .cover {
  54. display:block;
  55. width:100%; height:100%;
  56. object-fit: cover;
  57. }
  58. .bottom {
  59. position: absolute;
  60. bottom: 0;
  61. left: 50%;
  62. -ms-transform: translate(-50%, 0);
  63. transform: translate(-50%, 0);
  64. }
  65. .bottomLeft {
  66. position: absolute;
  67. bottom: 0;
  68. left: 0;
  69. }
  70. .bottomRight {
  71. position: absolute;
  72. bottom: 0;
  73. right: 0;
  74. }
  75. </style>
  76. <script id="splash-screen-script">
  77. function removeSplashFromWeb() {
  78. document.getElementById("splash")?.remove();
  79. document.getElementById("splash-branding")?.remove();
  80. document.body.style.background = "transparent";
  81. }
  82. </script>
  83. </head>
  84. <body>
  85. <picture id="splash">
  86. <source srcset="splash/img/light-1x.png 1x, splash/img/light-2x.png 2x, splash/img/light-3x.png 3x, splash/img/light-4x.png 4x" media="(prefers-color-scheme: light)">
  87. <source srcset="splash/img/dark-1x.png 1x, splash/img/dark-2x.png 2x, splash/img/dark-3x.png 3x, splash/img/dark-4x.png 4x" media="(prefers-color-scheme: dark)">
  88. <img class="center" aria-hidden="true" src="splash/img/light-1x.png" alt="">
  89. </picture>
  90. <script src="flutter_bootstrap.js" async=""></script>
  91. </body></html>