gosha forms personalization
parent
8606c6a0b2
commit
2da5a6928d
|
@ -8,3 +8,4 @@
|
||||||
</clipPath>
|
</clipPath>
|
||||||
</defs>
|
</defs>
|
||||||
</svg>
|
</svg>
|
||||||
|
|
||||||
|
|
Before Width: | Height: | Size: 421 B After Width: | Height: | Size: 422 B |
|
@ -21,7 +21,10 @@ const EmailInput = ({control, errors} : InputPropsType) => {
|
||||||
"inputWrapper": "h-[65px]",
|
"inputWrapper": "h-[65px]",
|
||||||
"label": "group[data-filled-within=true] group-data-[filled-within=true]:-translate-y-[60px] group-data-[filled-within=true]:text-[#8F8F8F]"
|
"label": "group[data-filled-within=true] group-data-[filled-within=true]:-translate-y-[60px] group-data-[filled-within=true]:text-[#8F8F8F]"
|
||||||
}}
|
}}
|
||||||
variant={"bordered"} label={"E-mail"} type={"email"} isRequired
|
variant={"bordered"}
|
||||||
|
label={"E-mail"}
|
||||||
|
type={"email"}
|
||||||
|
isRequired
|
||||||
labelPlacement={"outside"} {...field}
|
labelPlacement={"outside"} {...field}
|
||||||
isInvalid={!!errors.email}
|
isInvalid={!!errors.email}
|
||||||
errorMessage={errors.email && errors.email.message}
|
errorMessage={errors.email && errors.email.message}
|
||||||
|
|
|
@ -39,7 +39,7 @@ const normalizeInput = (value: string, previousValue: string) => {
|
||||||
return ""
|
return ""
|
||||||
};
|
};
|
||||||
|
|
||||||
const PhoneInput = ({control, errors, watch, setValue} : InputPropsType) => {
|
const PhoneInput = ({control, errors, watch, setValue}: InputPropsType) => {
|
||||||
|
|
||||||
const [phoneNumberPrev, setPhoneNumberPrev] = useState("")
|
const [phoneNumberPrev, setPhoneNumberPrev] = useState("")
|
||||||
const phoneNumberCur = watch("phoneNumber")
|
const phoneNumberCur = watch("phoneNumber")
|
||||||
|
|
|
@ -166,7 +166,10 @@ const MakeOrder = () => {
|
||||||
|
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
<Modal isOpen={modalVisible} size={'4xl'}>
|
<Modal
|
||||||
|
isOpen={modalVisible}
|
||||||
|
size={'4xl'}
|
||||||
|
>
|
||||||
<ModalContent className={"text-[#151515]"}>
|
<ModalContent className={"text-[#151515]"}>
|
||||||
<ModalBody>
|
<ModalBody>
|
||||||
<div className="flex items-center flex-col p-7">
|
<div className="flex items-center flex-col p-7">
|
||||||
|
|
|
@ -4,6 +4,7 @@ import { Img } from "react-image"
|
||||||
import {Input} from "@nextui-org/input";
|
import {Input} from "@nextui-org/input";
|
||||||
import Link from "next/link";
|
import Link from "next/link";
|
||||||
import FormPersonalization from "@/components/reusable/formPersonalization";
|
import FormPersonalization from "@/components/reusable/formPersonalization";
|
||||||
|
import FormCustomization from "@/components/reusable/formCustomization";
|
||||||
|
|
||||||
|
|
||||||
const Mission = () => {
|
const Mission = () => {
|
||||||
|
@ -30,6 +31,9 @@ const Mission = () => {
|
||||||
<h2>Кастомизация</h2>
|
<h2>Кастомизация</h2>
|
||||||
<p>(от англ. to customize — «настроить») — это индивидуализация продукции под заказ конкретного потребителя при помощи конструктивных доработок или настроек.</p>
|
<p>(от англ. to customize — «настроить») — это индивидуализация продукции под заказ конкретного потребителя при помощи конструктивных доработок или настроек.</p>
|
||||||
</section>
|
</section>
|
||||||
|
<section>
|
||||||
|
<FormCustomization/>
|
||||||
|
</section>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue