Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 | 7x | /**
* Web App Manifest Configuration
*
* Provides PWA manifest configuration for BATbern platform
* Includes Swiss design colors and icon configurations
*
* Used by: Vite PWA plugin (configured in vite.config.ts)
*/
export interface ManifestIcon {
src: string;
sizes: string;
type: string;
purpose?: string;
}
export interface WebAppManifest {
name: string;
short_name: string;
description: string;
start_url: string;
display: string;
theme_color: string;
background_color: string;
icons: ManifestIcon[];
}
/**
* Get the web app manifest configuration
* @returns Web app manifest object
*/
export function getManifest(): WebAppManifest {
return {
name: 'BATbern Platform',
short_name: 'BATbern',
description: 'BATbern Event Management Platform - Berner Architekten Treffen',
start_url: '/',
display: 'standalone',
theme_color: '#D52B1E', // Swiss red
background_color: '#FFFFFF', // White
icons: [
{
src: '/icons/icon-192x192.png',
sizes: '192x192',
type: 'image/png',
purpose: 'any',
},
{
src: '/icons/icon-512x512.png',
sizes: '512x512',
type: 'image/png',
purpose: 'any',
},
{
src: '/icons/icon-512x512.png',
sizes: '512x512',
type: 'image/png',
purpose: 'maskable',
},
],
};
}
|