feat: implement PWA support with manifest and icons and add mobile-optimized bottom navigation
This commit is contained in:
1
public/icon-192x192.svg
Normal file
1
public/icon-192x192.svg
Normal 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
1
public/icon-512x512.svg
Normal 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
21
public/manifest.json
Normal 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"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user