import KFEmpty, { EmptyType } from '@/components/KFEmpty';
import { useNavigate } from '@umijs/max';

const MissingPage = () => {
  const navigate = useNavigate();

  return (
    <KFEmpty
      style={{ height: '100%' }}
      type={EmptyType.Developing}
      title="敬请期待~"
      content={'很抱歉，您访问的正在开发中，\n请耐心等待。'}
      hasFooter={true}
      buttonTitle="返回首页"
      onButtonClick={() => navigate('/')}
    ></KFEmpty>
  );
};

export default MissingPage;
