"use client";

export default function Error({ reset }: { error: Error & { digest?: string }; reset: () => void }) {
  return (
    <main className="page-hero">
      <div className="container">
        <p className="eyebrow hero-eyebrow">Error</p>
        <h1>We could not load this page.</h1>
        <p>Please try again. If the issue continues, the content source may need attention.</p>
        <button className="btn btn-secondary" type="button" onClick={() => reset()}>
          Try again
        </button>
      </div>
    </main>
  );
}
