29 lines
1.0 KiB
TypeScript
29 lines
1.0 KiB
TypeScript
import { Routes, useRouter } from "blitz";
|
|
import { IoSettings, IoAlertCircleOutline } from "react-icons/io5";
|
|
|
|
export default function MissingTwilioCredentials() {
|
|
const router = useRouter();
|
|
|
|
return (
|
|
<div className="text-center my-auto">
|
|
<IoAlertCircleOutline className="mx-auto h-12 w-12 text-gray-400" aria-hidden="true" />
|
|
<h3 className="mt-2 text-sm font-medium text-gray-900">You haven't set up any phone number yet</h3>
|
|
<p className="mt-1 text-sm text-gray-500">
|
|
Head over to your settings
|
|
<br />
|
|
to set up your phone number.
|
|
</p>
|
|
<div className="mt-6">
|
|
<button
|
|
type="button"
|
|
className="inline-flex items-center px-4 py-2 border border-transparent shadow-sm text-sm font-medium rounded-md text-white bg-primary-500 focus:outline-none focus:ring-2 focus:ring-offset-2"
|
|
onClick={() => router.push(Routes.PhoneSettings())}
|
|
>
|
|
<IoSettings className="-ml-1 mr-2 h-5 w-5" aria-hidden="true" />
|
|
Set up my phone number
|
|
</button>
|
|
</div>
|
|
</div>
|
|
);
|
|
}
|