PluginProbe
Extendify / 3.2.0
Extendify v3.2.0
3.2.1 3.2.0 3.1.6 3.1.5 3.1.4 3.1.3 3.1.2 3.1.1 3.1.0 3.0.6 3.0.5 3.0.4 trunk 0.1.0 0.10.0 0.10.1 0.10.2 0.11.0 0.11.1 0.2.0 0.3.0 0.3.1 0.4.0 0.5.0 0.6.0 All 127 releases
extendify / src / Shared / components / ProductAccountActivation / SetupComplete.jsx

SetupComplete.jsx in Extendify 3.2.0, at src/Shared/components/ProductAccountActivation/SetupComplete.jsx

41 lines 1.2 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 import { DialogTitle } from '@headlessui/react';
2 import { __ } from '@wordpress/i18n';
3 import { check, Icon } from '@wordpress/icons';
4
5 const SuccessIcon = () => (
6 <>
7 <div className="p-2 rounded-full bg-[#4AB866]/25">
8 <Icon
9 icon={check}
10 className="h-10 w-10 rounded-full bg-[#4AB866] fill-white"
11 />
12 </div>
13 </>
14 );
15
16 export const SetupComplete = ({ handleClose }) => {
17 return (
18 <div className="px-16 py-10 flex flex-col items-center justify-center">
19 <div className="mb-6">
20 <SuccessIcon />
21 </div>
22 <DialogTitle className="text-xl font-semibold text-center text-gray-900 mb-2 font-sans">
23 {__('Setup complete', 'extendify-local')}
24 </DialogTitle>
25 <p className="text-center text-gray-700 mb-2 text-base">
26 {__(
27 'Your plugin accounts have been set up. Account activation may take a moment to complete.',
28 'extendify-local',
29 )}
30 </p>
31 <button
32 type="button"
33 onClick={handleClose}
34 className="mt-6 px-6 py-3 text-base font-medium text-white bg-extendify-main rounded-lg hover:bg-extendify-main-dark focus:outline-none focus:ring-2 focus:ring-extendify-main focus:ring-offset-2"
35 >
36 {__('Close', 'extendify-local')}
37 </button>
38 </div>
39 );
40 };
41