mirror of
https://git.rdcenter.ru/RDCenter/skb-kit.git
synced 2026-12-05 04:59:45 +00:00
Доделал внешку формы
This commit is contained in:
1 parent
928c062091
commit
bd0498e5bd
5 files changed
+69
-12
No files matched your search
@@ -0,0 +1,4 @@
|
|||||||
|
<svg width="24" height="22" viewBox="0 0 24 22" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<path d="M23.493 10.017C23.006 9.36298 22.259 8.98698 21.443 8.98698H21V6.99998C21 4.24298 18.757 1.99998 16 1.99998H10.944C10.79 1.99998 10.634 1.96298 10.497 1.89498L7.342 0.316977C6.928 0.109977 6.464 0.00097698 6 0.00097698H4C1.794 -2.30197e-05 0 1.79398 0 3.99998V17C0 19.757 2.243 22 5 22H17.558C19.784 22 21.708 20.568 22.36 18.393L23.892 12.277C24.126 11.495 23.98 10.672 23.493 10.017ZM2 17V3.99998C2 2.89698 2.897 1.99998 4 1.99998H6C6.154 1.99998 6.31 2.03698 6.447 2.10498L9.602 3.68298C10.016 3.88998 10.48 3.99898 10.944 3.99898H16C17.654 3.99898 19 5.34498 19 6.99898V8.98598H8.615C6.915 8.98598 5.397 10.065 4.826 11.706L2.636 18.844C2.238 18.335 2 17.695 2 17ZM21.964 11.747L20.432 17.862C20.048 19.141 18.893 20 17.558 20H5C4.792 20 4.589 19.979 4.393 19.938L6.727 12.329C7.006 11.526 7.766 10.987 8.616 10.987H21.444C21.686 10.987 21.827 11.127 21.889 11.211C21.951 11.295 22.045 11.47 21.964 11.747Z" fill="black"/>
|
||||||
|
</svg>
|
||||||
|
|
||||||
|
After Width: | Height: | Size: 1.0 KiB |
+2
-1
@@ -1,3 +1,4 @@
|
|||||||
export { default as car } from './car.jpeg';
|
export { default as car } from './car.jpeg';
|
||||||
export { default as newsMock } from './newsMock.png';
|
export { default as newsMock } from './newsMock.png';
|
||||||
export { default as scb } from './scb.svg';
|
export { default as scb } from './scb.svg';
|
||||||
|
export { default as fileUpload } from './fileUpload.svg';
|
||||||
@@ -10,7 +10,7 @@ body {
|
|||||||
-moz-osx-font-smoothing: grayscale;
|
-moz-osx-font-smoothing: grayscale;
|
||||||
}
|
}
|
||||||
|
|
||||||
body, input {
|
body, input, textarea {
|
||||||
font-family: Montserrat;
|
font-family: Montserrat;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
import { Form } from "react-router-dom";
|
import { Form } from "react-router-dom";
|
||||||
|
|
||||||
|
import { fileUpload } from "../../../../images";
|
||||||
import './ContactUs.styles.scss';
|
import './ContactUs.styles.scss';
|
||||||
|
|
||||||
function ContactUs() {
|
function ContactUs() {
|
||||||
@@ -9,11 +10,17 @@ function ContactUs() {
|
|||||||
IT-специалистов готова вам помочь!</h1>
|
IT-специалистов готова вам помочь!</h1>
|
||||||
<Form method="post" className="half contact-form">
|
<Form method="post" className="half contact-form">
|
||||||
<h2>Свяжитесь с нами!</h2>
|
<h2>Свяжитесь с нами!</h2>
|
||||||
<input type="text" name="name" />
|
<div className="inputs">
|
||||||
<input type="email" name="email" />
|
<input type="text" name="name" placeholder="Имя" className="field" />
|
||||||
<input type="text" name="text" />
|
<input type="email" name="email" placeholder="E-mail" className="field" />
|
||||||
<input type="file" name="file" />
|
<textarea name="text" placeholder="Опишите в этом поле свой проект и, по возможности, прикрепите файл с ТЗ" className="field big" />
|
||||||
<input type="submit" className="submit btn" />
|
<label className="file-input">
|
||||||
|
<input type="file" name="file" />
|
||||||
|
<img src={ fileUpload } alt="" className="icon" />
|
||||||
|
<span>Прикрепить файл</span>
|
||||||
|
</label>
|
||||||
|
<input type="submit" className="submit btn" />
|
||||||
|
</div>
|
||||||
</Form>
|
</Form>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -8,9 +8,6 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.contact-form {
|
.contact-form {
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
|
|
||||||
padding: 32px;
|
padding: 32px;
|
||||||
border-radius: 16px;
|
border-radius: 16px;
|
||||||
|
|
||||||
@@ -24,8 +21,56 @@
|
|||||||
line-height: 39px;
|
line-height: 39px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.submit {
|
.inputs {
|
||||||
width: 100%;
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
gap: 24px;
|
||||||
|
|
||||||
|
.field {
|
||||||
|
padding: 15px 24px;
|
||||||
|
border: none;
|
||||||
|
border-radius: 8px;
|
||||||
|
|
||||||
|
font-size: 20px;
|
||||||
|
font-weight: 400;
|
||||||
|
}
|
||||||
|
|
||||||
|
.field.big {
|
||||||
|
height: 272px;
|
||||||
|
line-height: 30px;
|
||||||
|
resize: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.file-input {
|
||||||
|
position: relative;
|
||||||
|
display: flex;
|
||||||
|
|
||||||
|
input {
|
||||||
|
position: absolute;
|
||||||
|
z-index: -1;
|
||||||
|
opacity: 0;
|
||||||
|
display: block;
|
||||||
|
width: 0;
|
||||||
|
height: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
span {
|
||||||
|
display: inline-block;
|
||||||
|
cursor: pointer;
|
||||||
|
font-size: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.icon {
|
||||||
|
margin-right: 8px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
.submit {
|
||||||
|
width: 100%;
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user