department-of-veterans-affairs/vets-website

View on GitHub
src/applications/vaos/components/NoRegistrationMessage.jsx

Summary

Maintainability
A
1 hr
Test Coverage
import React from 'react';
import FullWidthLayout from './FullWidthLayout';
import InfoAlert from './InfoAlert';

export default function NoRegistrationMessage() {
  return (
    <FullWidthLayout>
      <InfoAlert
        status="error"
        headline="We’re sorry. We can’t find any VA medical facility registrations for you"
      >
        <p>
          To schedule an appointment online or to request Community Care
          assistance, you need to be:
        </p>
        <ol>
          <li>
            Enrolled in VA health care, <strong>and</strong>
          </li>
          <li>
            Registered with at least 1 VA medical center that accepts VA online
            scheduling
          </li>
        </ol>
        <p>
          To register with a facility, or if you think this message is an error,
          contact{' '}
          <a href="/find-locations">your local VA health care facility’s</a>{' '}
          registration office.
        </p>
      </InfoAlert>
    </FullWidthLayout>
  );
}