feat(pwa): update manifest and add tab_strip
This commit is contained in:
parent
a90b488dcf
commit
87e674b02b
|
|
@ -2,9 +2,13 @@
|
|||
"$schema": "https://json.schemastore.org/web-manifest-combined.json",
|
||||
"name": "Fablab Coh@bit - Creative House",
|
||||
"short_name": "Coh@bit",
|
||||
"categories": ["formation", "education", "diy", "electronic", "3d print", "computer science", "collaborate"],
|
||||
"theme_color": "#82c91e",
|
||||
"background_color": "#f8fafb",
|
||||
"display": "standalone",
|
||||
"display_override": [
|
||||
"tabbed"
|
||||
],
|
||||
"scope": "/",
|
||||
"start_url": "/",
|
||||
"id": "/",
|
||||
|
|
@ -57,6 +61,93 @@
|
|||
"label": "Accueil"
|
||||
}
|
||||
],
|
||||
"tab_strip": {
|
||||
"home_tab": {
|
||||
"url": "/",
|
||||
"icons": [
|
||||
{
|
||||
"src": "/bulb.svg",
|
||||
"sizes": "any",
|
||||
"type": "image/svg+xml"
|
||||
}
|
||||
]
|
||||
},
|
||||
"new_tab_button": "auto"
|
||||
},
|
||||
"shortcuts" : [
|
||||
{
|
||||
"name": "Mon compte",
|
||||
"url": "/profil",
|
||||
"descriptions": "Accéder à mon compte",
|
||||
"icons": [
|
||||
{
|
||||
"src": "data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22><text y=%22.9em%22 font-size=%2290%22>🪪</text></svg>",
|
||||
"sizes": "any",
|
||||
"type": "image/svg+xml"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "Machines",
|
||||
"url": "/machines",
|
||||
"description": "Découvrir et réserver nos machines",
|
||||
"icons": [
|
||||
{
|
||||
"src": "data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22><text y=%22.9em%22 font-size=%2290%22>🖨️</text></svg>",
|
||||
"sizes": "any",
|
||||
"type": "image/svg+xml"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "Projets",
|
||||
"url": "/projets",
|
||||
"description": "Découvrir et participer aux projets",
|
||||
"icons": [
|
||||
{
|
||||
"src": "data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22><text y=%22.9em%22 font-size=%2290%22>🎯</text></svg>",
|
||||
"sizes": "any",
|
||||
"type": "image/svg+xml"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "Blog",
|
||||
"url": "/blog",
|
||||
"description": "Lire nos dernières news",
|
||||
"icons": [
|
||||
{
|
||||
"src": "data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22><text y=%22.9em%22 font-size=%2290%22>📰</text></svg>",
|
||||
"sizes": "any",
|
||||
"type": "image/svg+xml"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "Apps",
|
||||
"url": "/apps",
|
||||
"description": "Nos sites et applications hébergés ou recommandés",
|
||||
"icons": [
|
||||
{
|
||||
"src": "data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22><text y=%22.9em%22 font-size=%2290%22>🌐</text></svg>",
|
||||
"sizes": "any",
|
||||
"type": "image/svg+xml"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "Docs",
|
||||
"url": "/docs",
|
||||
"description": "Documentations pour apprendre, se former, ou s'informer",
|
||||
"icons": [
|
||||
{
|
||||
"src": "data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22><text y=%22.9em%22 font-size=%2290%22>📖</text></svg>",
|
||||
"sizes": "any",
|
||||
"type": "image/svg+xml"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"lang": "fr",
|
||||
"description": "L'atelier participatif libre et open source. Accédez aux projets, apps et ressources de Coh@bit - Gérez votre carnet et bien plus."
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue