import { Link } from 'react-router-dom'


export function AccessDeniedPage() {
  return (
    <div className="container mt-5">
      <div
        className="d-flex justify-content-center align-items-center flex-column text-center"
        style={{ minHeight: '80vh' }}
      >
        <h1 className="display-4 text-danger">Access Denied</h1>
        <p className="lead">You do not have permission to access this page.</p>
        <Link to="/" className="btn btn-primary mt-3">
          Go to Home Page
        </Link>
      </div>
    </div>
  )
}
