diff --git a/frontend/src/app/components/fields/styles.module.css b/frontend/src/app/components/fields/styles.module.css new file mode 100644 index 0000000..d385586 --- /dev/null +++ b/frontend/src/app/components/fields/styles.module.css @@ -0,0 +1,37 @@ +.input { + display: flex; + padding: 12px; + flex-direction: column; + justify-content: center; + align-items: flex-start; + gap: 10px; + width: 100%; + align-self: stretch; + border-radius: 6px; + border: 1px solid #616583; + background-color: transparent; + color: white; + font-family: Inter; + font-size: 16px; + outline: none; + font-style: normal; + font-weight: 400; + line-height: normal; + caret-color: #575bc7; +} +.input:focus { + border-radius: 6px; + border: 1px solid #a8aac1; + background: rgba(75, 79, 109, 0.25); +} +.input:hover { + background: rgba(75, 79, 109, 0.25); +} +.input::placeholder { + color: #85869b; + font-family: Inter; + font-size: 16px; + font-style: normal; + font-weight: 400; + line-height: normal; +} diff --git a/frontend/src/app/components/fields/textfield.jsx b/frontend/src/app/components/fields/textfield.jsx new file mode 100644 index 0000000..f1e6275 --- /dev/null +++ b/frontend/src/app/components/fields/textfield.jsx @@ -0,0 +1,9 @@ +import React from "react"; +import styles from "./styles.module.css"; +const TextField = ({ placeHolder }) => { + return ( + + ); +}; + +export default TextField; diff --git a/frontend/src/app/components/icons/close.jsx b/frontend/src/app/components/icons/close.jsx new file mode 100644 index 0000000..f8b28d4 --- /dev/null +++ b/frontend/src/app/components/icons/close.jsx @@ -0,0 +1,31 @@ +import React from "react"; + +const CloseIcon = (props) => { + return ( + + ); +}; + +export default CloseIcon; diff --git a/frontend/src/app/components/toast/success/styles.module.css b/frontend/src/app/components/toast/success/styles.module.css new file mode 100644 index 0000000..9456a16 --- /dev/null +++ b/frontend/src/app/components/toast/success/styles.module.css @@ -0,0 +1,35 @@ +.toastContainer { + display: flex; + padding: 14px 10px 14px 16px; + align-items: center; + gap: 16px; + border-radius: 10px; + border: 1px solid #a6facc; + background: #eefdf3; + position: absolute; + bottom: 25px; + z-index: 11; + right: 20px; +} +.messageContainer { + display: flex; + align-items: center; + gap: 12px; +} +.iconContainer { + display: flex; + padding: 4px; + justify-content: center; + align-items: center; + gap: 10px; + border-radius: 100px; + background: #a6facc; +} +.messageContainer p { + color: #006929; + font-family: Inter; + font-size: 16px; + font-style: normal; + font-weight: 500; + line-height: normal; +} diff --git a/frontend/src/app/components/toast/success/successToast.jsx b/frontend/src/app/components/toast/success/successToast.jsx new file mode 100644 index 0000000..3899184 --- /dev/null +++ b/frontend/src/app/components/toast/success/successToast.jsx @@ -0,0 +1,45 @@ +import React from "react"; +import styles from "./styles.module.css"; +const SuccessToast = ({ message }) => { + return ( +
{message}
+