feat(club-002): club PWA: join flow, digital card and installable shell
This commit is contained in:
30
project/frontend/src/app/manifest.ts
Normal file
30
project/frontend/src/app/manifest.ts
Normal file
@@ -0,0 +1,30 @@
|
||||
import type { MetadataRoute } from 'next';
|
||||
|
||||
export default function manifest(): MetadataRoute.Manifest {
|
||||
return {
|
||||
name: 'Club Mercado de Vida',
|
||||
short_name: 'Club MdV',
|
||||
description: 'Tarjeta digital y acceso rápido al Club de Clientes de Mercado de Vida.',
|
||||
start_url: '/club',
|
||||
scope: '/',
|
||||
display: 'standalone',
|
||||
orientation: 'portrait',
|
||||
background_color: '#F5F9EF',
|
||||
theme_color: '#70AD47',
|
||||
categories: ['shopping', 'lifestyle'],
|
||||
icons: [
|
||||
{
|
||||
src: '/images/club-icon-192.png',
|
||||
sizes: '192x192',
|
||||
type: 'image/png',
|
||||
purpose: 'maskable',
|
||||
},
|
||||
{
|
||||
src: '/images/club-icon-512.png',
|
||||
sizes: '512x512',
|
||||
type: 'image/png',
|
||||
purpose: 'maskable',
|
||||
},
|
||||
],
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user