Adds /invoices/upload-receipts as the dedicated explainer for the mobile scanner PWA: install instructions for iOS/Android, direct deep-link button, and a walkthrough of the scan -> verify -> save flow. Sidebar entry replaces the old "Scan receipt" tab so the desktop side picks up the install steps before sending users to the mobile-only surface. Scanner layout moves PWA manifest + apple-* meta tags from inline JSX into Next.js's metadata/viewport exports so the App Router doesn't try to render a second <head>, fixing a hydration error that surfaced as two console warnings on the scan page. Scanner shell gains a centered Port Nimara logo header so the standalone PWA looks branded when launched from the home screen without the dashboard chrome. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
17 lines
403 B
TypeScript
17 lines
403 B
TypeScript
import type { Metadata } from 'next';
|
|
|
|
import { UploadReceiptsGuide } from '@/components/invoices/upload-receipts-guide';
|
|
|
|
export const metadata: Metadata = {
|
|
title: 'How to upload receipts',
|
|
};
|
|
|
|
export default async function UploadReceiptsPage({
|
|
params,
|
|
}: {
|
|
params: Promise<{ portSlug: string }>;
|
|
}) {
|
|
const { portSlug } = await params;
|
|
return <UploadReceiptsGuide portSlug={portSlug} />;
|
|
}
|