@@ -6,8 +6,12 @@ import Shape4 from "../../../public/images/wizard/shape4.png";
66import Shape5 from "../../../public/images/wizard/shape5.png" ;
77import Shape6 from "../../../public/images/wizard/shape6.png" ;
88import CredentialAlert from "@/components/wizards/CredentialAlert" ;
9+ import { Checkbox } from "@/components/ui/checkbox" ;
10+ import { useSkip } from "@/hooks/app.hooks" ;
911
1012const WizardTerms = ( ) => {
13+ const { isSkipTerms, setIsSkipTerms } = useSkip ( ) ;
14+
1115 return (
1216 < div className = "rounded-lg overflow-hidden mx-2.5" >
1317 < div className = "bg-[linear-gradient(0deg,rgba(245,246,248,0.50)_0%,rgba(245,246,248,0.50)_100%)] rounded-lg relative" >
@@ -16,7 +20,7 @@ const WizardTerms = () => {
1620 style = { { backgroundImage : `url(${ TemplateTopBg } )` } }
1721 >
1822 < div className = "pt-[80px] max-w-[730px] mx-auto text-center flex flex-col gap-3" >
19- < div className = "bg-white rounded-full py-[5px] ps-2 pe-2.5 mx-auto max-w-[120px ] flex justify-center items-center gap-1.5 shadow-[0px_0px_0px_1px_rgba(44,64,94,0.06),0px_1px_1px_0px_rgba(44,64,94,0.04),0px_2px_4px_0px_rgba(44,64,94,0.08)]" >
23+ < div className = "bg-white rounded-full py-[5px] ps-2 pe-2.5 mx-auto max-w-[180px ] flex justify-center items-center gap-1.5 shadow-[0px_0px_0px_1px_rgba(44,64,94,0.06),0px_1px_1px_0px_rgba(44,64,94,0.04),0px_2px_4px_0px_rgba(44,64,94,0.08)]" >
2024 < span className = "flex justify-center items-center" >
2125 < svg
2226 xmlns = "http://www.w3.org/2000/svg"
@@ -57,7 +61,7 @@ const WizardTerms = () => {
5761 </ div >
5862 < div className = "mt-[40px] w-[600px] mx-auto text-center" >
5963 < div className = "flex justify-center items-center gap-2.5 ps-3 pe-4 pt-[11px] pb-3 rounded-[10px]" >
60- < svg
64+ { /* <svg
6165 xmlns="http://www.w3.org/2000/svg"
6266 width="20"
6367 height="20"
@@ -76,7 +80,20 @@ const WizardTerms = () => {
7680 </clipPath>
7781 </defs>
7882 </svg>
79- < p > By continuing, you allow this plugin to collect your data.</ p >
83+ <p>By continuing, you allow this plugin to collect your data.</p> */ }
84+ < div className = "flex items-center space-x-2" >
85+ < Checkbox
86+ id = "aae-plugin-continuing-terms"
87+ checked = { ! isSkipTerms }
88+ onCheckedChange = { ( ) => setIsSkipTerms ( ! isSkipTerms ) }
89+ />
90+ < label
91+ htmlFor = "aae-plugin-continuing-terms"
92+ className = "text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"
93+ >
94+ By continuing, you allow this plugin to collect your data.
95+ </ label >
96+ </ div >
8097 < CredentialAlert />
8198 </ div >
8299 </ div >
0 commit comments