import type { Metadata } from 'next';
import { PublicQuoteView } from '@/features/quotes/ui/PublicQuoteView';

export const metadata: Metadata = {
  title: 'Quote',
  description: 'Review and accept your quote.',
  robots: { index: false, follow: false },
};

/** DL10 (HUB-403): the buyer's link to a published quote (no sign-in). */
export default async function PublicQuotePage({ params }: { params: Promise<{ token: string }> }) {
  const { token } = await params;
  return <PublicQuoteView token={token} />;
}
