/** * Generate 404 Error Page HTML (Shadcn-inspired design) */ export function generate404ErrorPage(params: { fileId?: string; title?: string; message?: string; description?: string; illustrationSrc?: string; }): string { const { fileId, title = 'Whoops!', message = 'Something went wrong', description = "The page you're looking for isn't found, we suggest you back to home.", illustrationSrc = '/box/error-illustration', } = params; return `
${description}
${fileId ? `File ID: ${fileId}
` : ''}