diff --git a/front-end/src/Pages/Contact.jsx b/front-end/src/Pages/Contact.jsx index c4b1c225..10fdd621 100644 --- a/front-end/src/Pages/Contact.jsx +++ b/front-end/src/Pages/Contact.jsx @@ -3,7 +3,7 @@ import DrErunikaDayaratna from '../assets/erunika-dayaratna.jpg'; import contactImg from '../assets/contactImg.jpg'; import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'; import { faUser, faPhone, faEnvelope} from '@fortawesome/free-solid-svg-icons'; - +import style from "../components/Contact.module.css"; /*Contact Page*/ function Contact() { @@ -51,70 +51,70 @@ function Contact() { -
+
-
+
{/* Image and the contact details of the Project manager */} -
- DrUpulJayasinghe -
+
+ DrUpulJayasinghe +

Dr. Upul Jayasinghe

Manager

Telephone Number: +94 76 0416 590

Email Address: upuljm@eng.pdn.ac.lk

- - - + + +
{/* Image and the contact details of the Project coordinator */} -
- DrErunikaDayaratna -
+
+ DrErunikaDayaratna +

Dr. Erunika Dayaratna

Coordinator

Telephone Number: +94 76 698 6500

Email Address: dayaratna@sci.pdn.ac.lk

- - - + + +
{/* Contact Us form */} -
+

Contact Us

-

For inquiries or support, contact us and we'll respond promptly

+

For inquiries or support, contact us and we'll respond promptly

-
- contactImg +
+ contactImg
-
+
- +
-
+
-
-
+
- +
-
+
- +
- +
diff --git a/front-end/src/components/Components.css b/front-end/src/components/Components.css index 3dd2ed99..fd00f044 100644 --- a/front-end/src/components/Components.css +++ b/front-end/src/components/Components.css @@ -135,6 +135,30 @@ font-size: 16px; color: #333; } + +/* file upload button */ +.inputbox[type="file"]::file-selector-button { + border-radius: 4px; + padding: 0 16px; + height: 40px; + cursor: pointer; + background-color: white; + border: 1px solid rgba(0, 0, 0, 0.16); + box-shadow: 0px 1px 0px rgba(0, 0, 0, 0.05); + margin-right: 16px; + transition: background-color 200ms; +} + +/* file upload button hover state */ +.inputbox[type="file"]::file-selector-button:hover { + background-color: #f3f4f6; +} + +/* file upload button active state */ +.inputbox[type="file"]::file-selector-button:active { + background-color: #e5e7eb; +} + /********************************************************************/ /* Buttons at the bottom of a form */ diff --git a/front-end/src/components/Contact.css b/front-end/src/components/Contact.module.css similarity index 94% rename from front-end/src/components/Contact.css rename to front-end/src/components/Contact.module.css index 6781147b..cf53656f 100644 --- a/front-end/src/components/Contact.css +++ b/front-end/src/components/Contact.module.css @@ -111,7 +111,7 @@ .contactUsForm img{ width: auto; height: 400px; - margin-top: 200px; + margin-top: 20px; margin-right: 20px; margin-left: 20px; } @@ -126,7 +126,6 @@ .inputbox { margin-top: 20px; width: 400px; - margin-right: 20px; font-size: 18px; } @@ -143,12 +142,18 @@ } /* Message input section */ -.inputbox .field.mess { +.inputbox .field-mess { + width: 93%; height: 100px; - resize: none; + background: transparent; + border: 2px solid #c9e1ef; + outline: none; + padding: 15px; font-size: 16px; + color: #333; + margin-top: 8px; + resize: none; font-family: Sans-serif; - } /* Send Message button */