diff --git a/index.html b/index.html index 934602c4..95db7228 100644 --- a/index.html +++ b/index.html @@ -31,6 +31,8 @@ + + diff --git a/public/assets/css/theme-green.css b/public/assets/css/theme-green.css new file mode 100644 index 00000000..f19c7713 --- /dev/null +++ b/public/assets/css/theme-green.css @@ -0,0 +1,55 @@ +.btn-green { + background-color: #49bf3c; + color: #fff; + border-radius: 50px; + padding: 10px 30px; + font-weight: 500; + text-decoration: none; + transition: all 0.3s ease; +} + +.btn-green-outline { + border-color: #49bf3c; + background-color: transparent; + color: unset; +} + +.btn-green-outline:hover { + background-color: #49bf3c; + color: #fff; +} + +.btn-square-small { + border-radius: 3px; + padding-bottom: 5.072px; + padding-inline-end: 12px; + padding-inline-start: 12px; + padding-left: 12px; + padding-right: 12px; + padding-top: 5.072px; +} + +.btn-green:hover { + background-color: #00a85a; + color: #fff; +} + +.text-blue { + color: #696cff !important; +} +.text-green { + color: #49bf3c !important; +} + +.btn-outline-green { + border-radius: 50px; + padding: 10px 30px; + font-weight: 500; + text-decoration: none; + transition: all 0.3s ease; +} + +.btn-outline-green:hover { + background-color: #49bf3c; + color: #fff; +} diff --git a/src/pages/Home/LandingPage.css b/src/pages/Home/LandingPage.css index 09d0a51c..e134840c 100644 --- a/src/pages/Home/LandingPage.css +++ b/src/pages/Home/LandingPage.css @@ -28,16 +28,13 @@ color: #4fc143; } -.text-primary { +/* .text-primary { color: #49bf3c !important; -} -.text-blue { - color: #696cff !important; -} +} */ -.btn-primary { +/* .btn-primary { background-color: #49bf3c !important; -} +} */ body { font-family: "Segoe UI", Roboto, sans-serif; @@ -238,28 +235,3 @@ body { margin-top: 15px; margin-bottom: 25px; } - -.btn-green { - background-color: #49bf3c; - color: #fff; - border-radius: 50px; - padding: 10px 30px; - font-weight: 500; - text-decoration: none; - transition: all 0.3s ease; -} - -.btn-square-small { - border-radius: 3px; - padding-bottom: 5.072px; - padding-inline-end: 12px; - padding-inline-start: 12px; - padding-left: 12px; - padding-right: 12px; - padding-top: 5.072px; -} - -.btn-green:hover { - background-color: #00a85a; - color: #fff; -} diff --git a/src/pages/Home/LandingPage.jsx b/src/pages/Home/LandingPage.jsx index 26dec7e1..67587252 100644 --- a/src/pages/Home/LandingPage.jsx +++ b/src/pages/Home/LandingPage.jsx @@ -14,7 +14,7 @@ const LandingPage = () => {
-
+
OnField
Work
.com
@@ -378,7 +378,7 @@ const LandingPage = () => {
Whether you manage on-site teams, oversee multiple projects, or
coordinate vendors and suppliers,{" "}
-
+
OnField
Work
.com
@@ -388,7 +388,7 @@ const LandingPage = () => {
operations.
We’d love to hear from you! Whether you have a question about
diff --git a/src/pages/authentication/ForgotPasswordPage.jsx b/src/pages/authentication/ForgotPasswordPage.jsx
index 0e234bd3..568d2cfb 100644
--- a/src/pages/authentication/ForgotPasswordPage.jsx
+++ b/src/pages/authentication/ForgotPasswordPage.jsx
@@ -1,6 +1,6 @@
import { useState } from "react";
import { Link } from "react-router-dom";
-import { AuthWrapper } from "./AuthWrapper"
+import { AuthWrapper } from "./AuthWrapper";
import "./page-auth.css";
import AuthRepository from "../../repositories/AuthRepository";
import showToast from "../../services/toastService";
@@ -8,54 +8,65 @@ import { useForm } from "react-hook-form";
import { zodResolver } from "@hookform/resolvers/zod";
import { z } from "zod";
-
const forgotPassSceham = z.object({
email: z.string().trim().email(),
-})
+});
const ForgotPasswordPage = () => {
+ const [loding, setLoading] = useState(false);
- const [loding, setLoading] = useState(false)
-
- const { register,
+ const {
+ register,
handleSubmit,
formState: { errors },
reset,
- getValues } = useForm({
- resolver: zodResolver(forgotPassSceham),
- defaultValues: {
- email: ""
- }
- })
+ getValues,
+ } = useForm({
+ resolver: zodResolver(forgotPassSceham),
+ defaultValues: {
+ email: "",
+ },
+ });
const onSubmit = async (data) => {
try {
- setLoading(true)
- const response = await AuthRepository.forgotPassword(data)
+ setLoading(true);
+ const response = await AuthRepository.forgotPassword(data);
if (response.data && response.success)
- showToast("verification email has been sent to your registered email address", "success")
- reset()
- setLoading(false)
+ showToast(
+ "verification email has been sent to your registered email address",
+ "success"
+ );
+ reset();
+ setLoading(false);
} catch (err) {
- reset()
+ reset();
if (err.response.status === 404) {
- showToast("verification email has been sent to your registered email address", "success")
+ showToast(
+ "verification email has been sent to your registered email address",
+ "success"
+ );
} else {
- showToast("Something wrong", "error")
+ showToast("Something wrong", "error");
}
- setLoading(false)
+ setLoading(false);
}
- }
+ };
return (
-
- Enter your email and we'll send you instructions to reset your password
+ Enter your email and we'll send you instructions to reset your
+ password
New on our platform?
-
+
Request a Demo
Please enter the 4-digit code sent to your email.
+ Please enter the 4-digit code sent to your email.
+ Our Mission
At{" "}
-
+
OnField
Work
.com
@@ -401,7 +401,7 @@ const LandingPage = () => {
a comprehensive suite of tools designed to handle every critical
aspect of field management — from workforce tracking to expense
control and reporting. With
-
+
OnField
Work
.com
@@ -443,7 +443,7 @@ const LandingPage = () => {
Why Choose{" "}
-
+
OnField
Work
.com
@@ -498,7 +498,7 @@ const LandingPage = () => {
aria-expanded="true"
aria-controls="accordionOne"
>
- What is MarcoPMS?
+ What is OnFieldWork.com?
- Contact Us
+ Contact Us
Forgot Password? 🔒
Verify Your OTP
-