Makes it PWA compatible
BIN
static/img/icon/android-icon-144x144.png
Normal file
After Width: | Height: | Size: 26 KiB |
BIN
static/img/icon/android-icon-192x192.png
Normal file
After Width: | Height: | Size: 36 KiB |
BIN
static/img/icon/android-icon-36x36.png
Normal file
After Width: | Height: | Size: 4.1 KiB |
BIN
static/img/icon/android-icon-48x48.png
Normal file
After Width: | Height: | Size: 5.9 KiB |
BIN
static/img/icon/android-icon-72x72.png
Normal file
After Width: | Height: | Size: 9.6 KiB |
BIN
static/img/icon/android-icon-96x96.png
Normal file
After Width: | Height: | Size: 14 KiB |
BIN
static/img/icon/apple-icon-114x114.png
Normal file
After Width: | Height: | Size: 18 KiB |
BIN
static/img/icon/apple-icon-120x120.png
Normal file
After Width: | Height: | Size: 20 KiB |
BIN
static/img/icon/apple-icon-144x144.png
Normal file
After Width: | Height: | Size: 26 KiB |
BIN
static/img/icon/apple-icon-152x152.png
Normal file
After Width: | Height: | Size: 28 KiB |
BIN
static/img/icon/apple-icon-180x180.png
Normal file
After Width: | Height: | Size: 36 KiB |
BIN
static/img/icon/apple-icon-57x57.png
Normal file
After Width: | Height: | Size: 7.2 KiB |
BIN
static/img/icon/apple-icon-60x60.png
Normal file
After Width: | Height: | Size: 7.7 KiB |
BIN
static/img/icon/apple-icon-72x72.png
Normal file
After Width: | Height: | Size: 9.6 KiB |
BIN
static/img/icon/apple-icon-76x76.png
Normal file
After Width: | Height: | Size: 10 KiB |
BIN
static/img/icon/apple-icon-precomposed.png
Normal file
After Width: | Height: | Size: 37 KiB |
BIN
static/img/icon/apple-icon.png
Normal file
After Width: | Height: | Size: 37 KiB |
BIN
static/img/icon/favicon-16x16.png
Normal file
After Width: | Height: | Size: 2.3 KiB |
BIN
static/img/icon/favicon-32x32.png
Normal file
After Width: | Height: | Size: 3.7 KiB |
BIN
static/img/icon/favicon-96x96.png
Normal file
After Width: | Height: | Size: 14 KiB |
BIN
static/img/icon/favicon.ico
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
static/img/icon/ms-icon-144x144.png
Normal file
After Width: | Height: | Size: 26 KiB |
BIN
static/img/icon/ms-icon-150x150.png
Normal file
After Width: | Height: | Size: 28 KiB |
BIN
static/img/icon/ms-icon-310x310.png
Normal file
After Width: | Height: | Size: 86 KiB |
BIN
static/img/icon/ms-icon-70x70.png
Normal file
After Width: | Height: | Size: 9.2 KiB |
|
@ -5,15 +5,31 @@
|
|||
<meta charset="utf-8"/>
|
||||
|
||||
<title>OSS 110'Metz</title>
|
||||
|
||||
|
||||
<meta name="description" content="Le site web du BDE Metz pour 2025, fait avec beaucoup d'amour" />
|
||||
<meta name="author" content="VP geeks aka le REZO (cf rezo-rm.fr pour plus de détail)" />
|
||||
<meta name="keyword" content="caca" />
|
||||
|
||||
<link rel="icon" href="img/favicon.ico">
|
||||
|
||||
<link rel="stylesheet" href="css/main.css" />
|
||||
</head>
|
||||
|
||||
<link rel="apple-touch-icon" sizes="57x57" href="img/icon/apple-icon-57x57.png">
|
||||
<link rel="apple-touch-icon" sizes="60x60" href="img/icon/apple-icon-60x60.png">
|
||||
<link rel="apple-touch-icon" sizes="72x72" href="img/icon/apple-icon-72x72.png">
|
||||
<link rel="apple-touch-icon" sizes="76x76" href="img/icon/apple-icon-76x76.png">
|
||||
<link rel="apple-touch-icon" sizes="114x114" href="img/icon/apple-icon-114x114.png">
|
||||
<link rel="apple-touch-icon" sizes="120x120" href="img/icon/apple-icon-120x120.png">
|
||||
<link rel="apple-touch-icon" sizes="144x144" href="img/icon/apple-icon-144x144.png">
|
||||
<link rel="apple-touch-icon" sizes="152x152" href="img/icon/apple-icon-152x152.png">
|
||||
<link rel="apple-touch-icon" sizes="180x180" href="img/icon/apple-icon-180x180.png">
|
||||
<link rel="icon" type="image/png" sizes="192x192" href="img/icon/android-icon-192x192.png">
|
||||
<link rel="icon" type="image/png" sizes="32x32" href="img/icon/favicon-32x32.png">
|
||||
<link rel="icon" type="image/png" sizes="96x96" href="img/icon/favicon-96x96.png">
|
||||
<link rel="icon" type="image/png" sizes="16x16" href="img/icon/favicon-16x16.png">
|
||||
<link rel="manifest" href="/manifest.json">
|
||||
<meta name="msapplication-TileColor" content="#ffffff">
|
||||
<meta name="msapplication-TileImage" content="/img/iconms-icon-144x144.png">
|
||||
<meta name="theme-color" content="#ffffff">
|
||||
</head>
|
||||
<body>
|
||||
<div class="bg-full"></div>
|
||||
<div class="container">
|
||||
|
@ -43,7 +59,7 @@
|
|||
</div>
|
||||
<p id="prank-desc">
|
||||
OSS 110'Metz est une organisation rempli d'espions qualifiés pour remplir presque toutes vos demandes !
|
||||
Cliquez sur le bouton ci-dessus puis suivez les instructions. Attention, un compte <a href="https://re2o.rezo-rm.fr/users/new_user">Rezo</a>
|
||||
Cliquez sur le bouton ci-dessus puis suivez les instructions. Attention, un compte <a href="https://re2o.rezo-rm.fr/users/new_user">Rezo</a>
|
||||
est nécessaire afin de garantir l'identité des demandeurs !
|
||||
</p>
|
||||
</div>
|
||||
|
@ -71,10 +87,10 @@
|
|||
</footer>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<script src="https://code.jquery.com/jquery-3.6.1.min.js" integrity="sha256-o88AwQnZB+VDvE9tvIXrMQaPlFFSUTR+nldQm1LuPXQ=" crossorigin="anonymous"></script>
|
||||
<script src="https://unpkg.com/typeit@8.7.0/dist/index.umd.js"></script>
|
||||
<script src="js/main.js" defer></script>
|
||||
<script src="js/anim.js" defer></script>
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
|
|
@ -1,5 +1,10 @@
|
|||
$(window).on("load", function() {
|
||||
|
||||
/* Register the Service Worker */
|
||||
if ('serviceWorker' in navigator) {
|
||||
navigator.serviceWorker.register('./js/sw.js');
|
||||
}
|
||||
|
||||
/* load timer */
|
||||
window.setInterval(function() {
|
||||
var time = $("#timer").text();
|
||||
|
@ -24,4 +29,4 @@ $(window).on("load", function() {
|
|||
second: '2-digit'
|
||||
}));
|
||||
}, 1000);
|
||||
});
|
||||
});
|
||||
|
|
40
static/manifest.json
Normal file
|
@ -0,0 +1,40 @@
|
|||
{
|
||||
"name": "OSS110METZ",
|
||||
"short_name": "O1M",
|
||||
"icons": [{
|
||||
"src": "img/icon/android-icon-36x36.png",
|
||||
"sizes": "36x36",
|
||||
"type": "image\/png",
|
||||
"density": "0.75"
|
||||
}, {
|
||||
"src": "img/icon/android-icon-48x48.png",
|
||||
"sizes": "48x48",
|
||||
"type": "image\/png",
|
||||
"density": "1.0"
|
||||
}, {
|
||||
"src": "img/icon/android-icon-72x72.png",
|
||||
"sizes": "72x72",
|
||||
"type": "image\/png",
|
||||
"density": "1.5"
|
||||
}, {
|
||||
"src": "img/icon/android-icon-96x96.png",
|
||||
"sizes": "96x96",
|
||||
"type": "image\/png",
|
||||
"density": "2.0"
|
||||
}, {
|
||||
"src": "img/icon/android-icon-144x144.png",
|
||||
"sizes": "144x144",
|
||||
"type": "image\/png",
|
||||
"density": "3.0"
|
||||
}, {
|
||||
"src": "img/icon/android-icon-192x192.png",
|
||||
"sizes": "192x192",
|
||||
"type": "image\/png",
|
||||
"density": "4.0"
|
||||
}],
|
||||
"lang": "fr-FR",
|
||||
"start_url": "/",
|
||||
"display": "standalone",
|
||||
"background_color": "black",
|
||||
"theme_color": "black"
|
||||
}
|
21
static/sw.js
Normal file
|
@ -0,0 +1,21 @@
|
|||
var cacheName = 'o1m';
|
||||
var filesToCache = [
|
||||
'/',
|
||||
'/index.html'
|
||||
];
|
||||
|
||||
self.addEventListener('install', function(e) {
|
||||
e.waitUntil(
|
||||
caches.open(cacheName).then(function(cache) {
|
||||
return cache.addAll(filesToCache);
|
||||
})
|
||||
);
|
||||
});
|
||||
|
||||
self.addEventListener('fetch', function(e) {
|
||||
e.respondWith(
|
||||
caches.match(e.request).then(function(response) {
|
||||
return response || fetch(e.request);
|
||||
})
|
||||
);
|
||||
});
|