diff --git a/src/images/fileUpload.svg b/src/images/fileUpload.svg new file mode 100644 index 0000000..30ab473 --- /dev/null +++ b/src/images/fileUpload.svg @@ -0,0 +1,4 @@ + + \ No newline at end of file diff --git a/src/images/index.js b/src/images/index.js index d252fe0..401f9e3 100755 --- a/src/images/index.js +++ b/src/images/index.js @@ -1,3 +1,4 @@ export { default as car } from './car.jpeg'; export { default as newsMock } from './newsMock.png'; -export { default as scb } from './scb.svg'; \ No newline at end of file +export { default as scb } from './scb.svg'; +export { default as fileUpload } from './fileUpload.svg'; \ No newline at end of file diff --git a/src/index.styles.scss b/src/index.styles.scss index a301690..88d7269 100755 --- a/src/index.styles.scss +++ b/src/index.styles.scss @@ -10,7 +10,7 @@ body { -moz-osx-font-smoothing: grayscale; } -body, input { +body, input, textarea { font-family: Montserrat; } diff --git a/src/pages/Main/components/ContactUs/ContactUs.jsx b/src/pages/Main/components/ContactUs/ContactUs.jsx index 49bc36c..f930956 100755 --- a/src/pages/Main/components/ContactUs/ContactUs.jsx +++ b/src/pages/Main/components/ContactUs/ContactUs.jsx @@ -1,5 +1,6 @@ import { Form } from "react-router-dom"; +import { fileUpload } from "../../../../images"; import './ContactUs.styles.scss'; function ContactUs() { @@ -9,11 +10,17 @@ function ContactUs() { IT-специалистов готова вам помочь!
); diff --git a/src/pages/Main/components/ContactUs/ContactUs.styles.scss b/src/pages/Main/components/ContactUs/ContactUs.styles.scss index 17ef403..f92839f 100644 --- a/src/pages/Main/components/ContactUs/ContactUs.styles.scss +++ b/src/pages/Main/components/ContactUs/ContactUs.styles.scss @@ -8,9 +8,6 @@ } .contact-form { - display: flex; - flex-direction: column; - padding: 32px; border-radius: 16px; @@ -24,8 +21,56 @@ line-height: 39px; } - .submit { - width: 100%; + .inputs { + 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; + } } } } \ No newline at end of file