2021-09-21 09:29:20 +00:00
|
|
|
import { ShieldCheckIcon } from "@heroicons/react/solid";
|
2021-09-22 19:52:38 +00:00
|
|
|
import React from "react";
|
2021-09-21 09:29:20 +00:00
|
|
|
|
|
|
|
const TwoFactorModalHeader = ({ title, description }: { title: string; description: string }) => {
|
|
|
|
return (
|
|
|
|
<div className="mb-4 sm:flex sm:items-start">
|
2022-03-05 15:37:46 +00:00
|
|
|
<div className="bg-brand text-brandcontrast dark:bg-darkmodebrand dark:text-darkmodebrandcontrast mx-auto flex h-12 w-12 flex-shrink-0 items-center justify-center rounded-full bg-opacity-5 sm:mx-0 sm:h-10 sm:w-10">
|
2022-02-09 00:05:13 +00:00
|
|
|
<ShieldCheckIcon className="h-6 w-6 text-black" />
|
2021-09-21 09:29:20 +00:00
|
|
|
</div>
|
|
|
|
<div className="mt-3 text-center sm:mt-0 sm:ml-4 sm:text-left">
|
2022-02-09 00:05:13 +00:00
|
|
|
<h3 className="font-cal text-lg font-medium leading-6 text-gray-900" id="modal-title">
|
2021-09-21 09:29:20 +00:00
|
|
|
{title}
|
|
|
|
</h3>
|
|
|
|
<p className="text-sm text-gray-400">{description}</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
);
|
|
|
|
};
|
|
|
|
|
|
|
|
export default TwoFactorModalHeader;
|