/**
 * PWA Manifest
 *
 * Story 3.4: Web App Manifest for PWA installability
 *
 * Generates a valid manifest.json with:
 * - App name: "Test01"
 * - Display mode: standalone
 * - Icons for install prompt
 * - Theme colors matching Morning Mist palette
 */

import { MetadataRoute } from 'next';

export default function manifest(): MetadataRoute.Manifest {
  return {
    name: 'Test01',
    short_name: 'Test01',
    description: 'Turn your daily learning struggles into polished content',
    start_url: '/',
    display: 'standalone',
    background_color: '#F8FAFC',
    theme_color: '#64748B',
    orientation: 'portrait',
    icons: [
      {
        src: '/icons/icon-192x192.png',
        sizes: '192x192',
        type: 'image/png',
        purpose: 'maskable'
      },
      {
        src: '/icons/icon-512x512.png',
        sizes: '512x512',
        type: 'image/png',
        purpose: 'maskable'
      }
    ]
  };
}
