Added title and icon

This commit is contained in:
2023-09-03 10:49:50 +05:30
parent 415f894041
commit e1dec19d41
14 changed files with 28 additions and 28 deletions

BIN
web/favicon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 917 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

BIN
web/icons/favicon-16x16.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

BIN
web/icons/favicon-32x32.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

BIN
web/icons/favicon-96x96.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.6 KiB

View File

@@ -1,5 +1,6 @@
<!DOCTYPE html>
<html>
<head>
<!--
If you are serving your web app in a path other than the root, change the
@@ -23,11 +24,11 @@
<!-- iOS meta tags & icons -->
<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="iiitb_menu">
<link rel="apple-touch-icon" href="icons/Icon-192.png">
<meta name="apple-mobile-web-app-title" content="IIITB Menu">
<link rel="apple-touch-icon" href="icons/favicon-96x96.png">
<!-- Favicon -->
<link rel="icon" type="image/png" href="favicon.png"/>
<link rel="icon" type="image/ico" href="favicon.ico" />
<title>iiitb_menu</title>
<link rel="manifest" href="manifest.json">
@@ -39,16 +40,20 @@
<!-- This script adds the flutter initialization JS code -->
<script src="flutter.js" defer></script>
</head>
<body>
<script>
window.addEventListener('load', function(ev) {
window.addEventListener('load', function (ev)
{
// Download main.dart.js
_flutter.loader.loadEntrypoint({
serviceWorker: {
serviceWorkerVersion: serviceWorkerVersion,
},
onEntrypointLoaded: function(engineInitializer) {
engineInitializer.initializeEngine().then(function(appRunner) {
onEntrypointLoaded: function (engineInitializer)
{
engineInitializer.initializeEngine().then(function (appRunner)
{
appRunner.runApp();
});
}
@@ -56,4 +61,5 @@
});
</script>
</body>
</html>
</html>

View File

@@ -1,35 +1,28 @@
{
"name": "iiitb_menu",
"short_name": "iiitb_menu",
"name": "IIITB Menu",
"short_name": "IIITB Menu",
"start_url": ".",
"display": "standalone",
"background_color": "#0175C2",
"theme_color": "#0175C2",
"description": "A new Flutter project.",
"description": "Bi-Weekly Menu.",
"orientation": "portrait-primary",
"prefer_related_applications": false,
"icons": [
{
"src": "icons/Icon-192.png",
"sizes": "192x192",
"src": "icons/favicon-16x16.png",
"sizes": "16x16",
"type": "image/png"
},
{
"src": "icons/Icon-512.png",
"sizes": "512x512",
"src": "icons/favicon-32x32.png",
"sizes": "32x32",
"type": "image/png"
},
{
"src": "icons/Icon-maskable-192.png",
"sizes": "192x192",
"type": "image/png",
"purpose": "maskable"
},
{
"src": "icons/Icon-maskable-512.png",
"sizes": "512x512",
"type": "image/png",
"purpose": "maskable"
"src": "icons/favicon-96x96.png",
"sizes": "96x96",
"type": "image/png"
}
]
}
}