69 lines
1.9 KiB
HTML
69 lines
1.9 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<base href="$FLUTTER_BASE_HREF" />
|
|
|
|
<meta charset="UTF-8" />
|
|
<meta content="IE=Edge" http-equiv="X-UA-Compatible" />
|
|
<meta name="description" content="A new Flutter project." />
|
|
<meta http-equiv="Content-Security-Policy" content="font-src 'self' data:; style-src 'self' 'unsafe-inline';">
|
|
|
|
<!-- تنظیم renderer به HTML برای جلوگیری از دانلود CanvasKit از Google CDN -->
|
|
<meta name="flutter-renderer" content="html" />
|
|
|
|
<meta name="apple-mobile-web-app-capable" content="yes" />
|
|
<meta name="apple-mobile-web-app-status-bar-style" content="black" />
|
|
<meta name="apple-mobile-web-app-title" content="didvan" />
|
|
<link rel="apple-touch-icon" href="icons/icon.jpg" />
|
|
<link rel="icon" type="image/png" href="favicon.png" />
|
|
|
|
<title>Didvan</title>
|
|
<link rel="manifest" href="manifest.json" />
|
|
|
|
<script src="flutter_bootstrap.js" async></script>
|
|
|
|
<script>
|
|
if ('serviceWorker' in navigator) {
|
|
window.addEventListener('load', function () {
|
|
navigator.serviceWorker.register('firebase-messaging-sw.js', {
|
|
scope: '/firebase-cloud-messaging-push-scope',
|
|
});
|
|
});
|
|
}
|
|
</script>
|
|
|
|
<style>
|
|
body {
|
|
margin: 0;
|
|
padding: 0;
|
|
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Tahoma, Arial, sans-serif;
|
|
}
|
|
|
|
.container {
|
|
width: 100vw;
|
|
height: 100vh;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
background-color: #ffffff;
|
|
}
|
|
|
|
.indicator {
|
|
width: 50vw;
|
|
}
|
|
|
|
@media only screen and (min-width: 600px) {
|
|
.indicator {
|
|
width: 25vw;
|
|
}
|
|
}
|
|
</style>
|
|
</head>
|
|
|
|
<body style="overflow: hidden">
|
|
<div id="loading_indicator" class="container">
|
|
<img class="indicator" src="./assets/lib/assets/animations/loading.gif" alt="Loading..." />
|
|
</div>
|
|
|
|
</body>
|
|
</html> |