missing twilio credentials in a modal
This commit is contained in:
parent
787b0ef4ac
commit
90e3d2fb20
@ -3,22 +3,29 @@ import { IoSettings, IoAlertCircleOutline } from "react-icons/io5";
|
|||||||
|
|
||||||
export default function MissingTwilioCredentials() {
|
export default function MissingTwilioCredentials() {
|
||||||
return (
|
return (
|
||||||
<div className="text-center my-auto">
|
<div className="flex items-end justify-center min-h-full overflow-y-hidden pt-4 px-4 pb-4 text-center md:block md:p-0 z-10">
|
||||||
<IoAlertCircleOutline className="mx-auto h-12 w-12 text-gray-400" aria-hidden="true" />
|
<span className="hidden md:inline-block md:align-middle md:h-screen">​</span>
|
||||||
<h3 className="mt-2 text-sm font-medium text-gray-900">You haven't set up any phone number yet</h3>
|
<div className="inline-block align-bottom bg-white rounded-lg px-4 pt-5 pb-4 text-left overflow-hidden shadow-xl transform transition-all md:my-8 md:align-middle md:max-w-lg md:w-full md:p-6">
|
||||||
<p className="mt-1 text-sm text-gray-500">
|
<div className="text-center my-auto p-4">
|
||||||
Head over to your settings
|
<IoAlertCircleOutline className="mx-auto h-12 w-12 text-gray-400" aria-hidden="true" />
|
||||||
<br />
|
<h3 className="mt-2 text-sm font-medium text-gray-900">
|
||||||
to set up your phone number.
|
You haven't set up any phone number yet
|
||||||
</p>
|
</h3>
|
||||||
<div className="mt-6">
|
<p className="mt-1 text-sm text-gray-500">
|
||||||
<Link
|
Head over to your settings
|
||||||
to="/settings/phone"
|
<br />
|
||||||
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"
|
to set up your phone number.
|
||||||
>
|
</p>
|
||||||
<IoSettings className="-ml-1 mr-2 h-5 w-5" aria-hidden="true" />
|
<div className="mt-6">
|
||||||
Set up my phone number
|
<Link
|
||||||
</Link>
|
to="/settings/phone"
|
||||||
|
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"
|
||||||
|
>
|
||||||
|
<IoSettings className="-ml-1 mr-2 h-5 w-5" aria-hidden="true" />
|
||||||
|
Set up my phone number
|
||||||
|
</Link>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user