|
1 | 1 | import { useState } from 'react'; |
2 | 2 | import ContactUsFormSubscribe from '@/components/ContactUs'; |
3 | 3 | import ContactUsCards from '@/components/ContactUs/ContactUsCards'; |
4 | | -import S from '@/styles/pages/contactStyles'; |
| 4 | +import styles from '@/styles/pages/contact.module.scss'; |
5 | 5 | import Bracket from '@/components/decorations/Bracket'; |
6 | 6 | import bracketStyles from '@/components/decorations/Bracket/Bracket.module.scss'; |
7 | 7 | export default function ContactUs() { |
8 | 8 | const [message, setMessage] = useState([]); |
9 | 9 |
|
10 | 10 | return ( |
11 | 11 | <> |
12 | | - <S.ContactUsContainer> |
13 | | - <S.FormAndDecorations> |
14 | | - <Bracket className={bracketStyles.yellowBracket} /> |
15 | | - <ContactUsFormSubscribe setMsg={setMessage} /> |
16 | | - <S.YellowColon src='/images/svg/yellow-colon.svg' /> |
17 | | - <S.ResponseMessage> |
18 | | - {message?.map((m, i) => ( |
19 | | - <span key={i}> |
20 | | - {m} |
21 | | - <br /> |
22 | | - </span> |
23 | | - ))} |
24 | | - </S.ResponseMessage> |
25 | | - </S.FormAndDecorations> |
26 | | - </S.ContactUsContainer> |
| 12 | + <div className={styles.contactUsContainer}> |
| 13 | + <div className={styles.formWrapper}> |
| 14 | + <div className={styles.formAndDecorations}> |
| 15 | + <Bracket className={bracketStyles.yellowBracket} /> |
| 16 | + <ContactUsFormSubscribe setMsg={setMessage} /> |
| 17 | + <img |
| 18 | + className={styles.yellowColon} |
| 19 | + src='/images/svg/yellow-colon.svg' |
| 20 | + alt='' |
| 21 | + /> |
| 22 | + <div className={styles.responseMessage}> |
| 23 | + {message?.map((m, i) => ( |
| 24 | + <span key={i}> |
| 25 | + {m} |
| 26 | + <br /> |
| 27 | + </span> |
| 28 | + ))} |
| 29 | + </div> |
| 30 | + </div> |
| 31 | + </div> |
| 32 | + </div> |
27 | 33 | <ContactUsCards /> |
28 | 34 | </> |
29 | 35 | ); |
|
0 commit comments