feat: implement PWA support with manifest and icons and add mobile-optimized bottom navigation

This commit is contained in:
sazzadulalambd
2026-05-06 16:38:57 +06:00
parent 849c6e56ba
commit 502e576fc1
10 changed files with 3408 additions and 190 deletions

1
public/icon-192x192.svg Normal file
View File

@@ -0,0 +1 @@
<svg width="192" height="192" xmlns="http://www.w3.org/2000/svg"><rect width="100%" height="100%" fill="#2563eb"/><text x="50%" y="50%" fill="white" font-size="100" font-family="sans-serif" text-anchor="middle" dominant-baseline="middle">J</text></svg>

After

Width:  |  Height:  |  Size: 252 B

1
public/icon-512x512.svg Normal file
View File

@@ -0,0 +1 @@
<svg width="512" height="512" xmlns="http://www.w3.org/2000/svg"><rect width="100%" height="100%" fill="#2563eb"/><text x="50%" y="50%" fill="white" font-size="100" font-family="sans-serif" text-anchor="middle" dominant-baseline="middle">J</text></svg>

After

Width:  |  Height:  |  Size: 252 B

21
public/manifest.json Normal file
View File

@@ -0,0 +1,21 @@
{
"name": "JAIBEN Mobility",
"short_name": "JAIBEN",
"description": "EV Rental Platform",
"start_url": "/",
"display": "standalone",
"background_color": "#ffffff",
"theme_color": "#2563eb",
"icons": [
{
"src": "/icon-192x192.svg",
"sizes": "192x192",
"type": "image/svg+xml"
},
{
"src": "/icon-512x512.svg",
"sizes": "512x512",
"type": "image/svg+xml"
}
]
}