mirror of
https://git.rdcenter.ru/RDCenter/skb-kit.git
synced 2026-12-05 05:29:45 +00:00
Пересборка контактной формы, вынос полей в отдельный компонент
This commit is contained in:
1 parent
87596e4411
commit
9e1c2c385a
8 files changed
+173
-96
No files matched your search
@@ -1,28 +1,12 @@
|
||||
import { Form } from "react-router-dom";
|
||||
import ContactForm from "../../../../components/ContactForm"
|
||||
|
||||
import { fileUpload } from "../../../../assets/images";
|
||||
import './ContactUs.styles.scss';
|
||||
|
||||
function ContactUs() {
|
||||
return (
|
||||
<div className="block contact-us">
|
||||
<h1 className="half">Нужна помощь?<br/> Команда способных IT-специалистов готова вам помочь!</h1>
|
||||
<Form method="post" className="half contact-form">
|
||||
<h2>Свяжитесь с нами!</h2>
|
||||
<div className="inputs">
|
||||
<input type="text" name="name" placeholder="Имя" className="field" />
|
||||
<input type="email" name="email" placeholder="E-mail" className="field" />
|
||||
<textarea name="text" placeholder="Опишите в этом поле свой проект и, по возможности, прикрепите файл с ТЗ" className="field big" />
|
||||
<label className="file-input">
|
||||
<input type="file" name="file" />
|
||||
<div className="upload-file-btn">
|
||||
<img src={fileUpload} alt="" className="icon" />
|
||||
<span>Прикрепить файл</span>
|
||||
</div>
|
||||
</label>
|
||||
<input type="submit" className="submit btn" />
|
||||
</div>
|
||||
</Form>
|
||||
<ContactForm />
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user