cosmatic and logo changes
This commit is contained in:
parent
7c5dca1665
commit
02777a8f47
BIN
public/img/brand/ofw-500x500.png
Normal file
BIN
public/img/brand/ofw-500x500.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 127 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 4.2 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 4.2 KiB |
BIN
public/img/favicon/favicon1.ico
Normal file
BIN
public/img/favicon/favicon1.ico
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 15 KiB |
@ -25,9 +25,10 @@ const AuthLayout = () => {
|
|||||||
>
|
>
|
||||||
<span className="app-brand-logo rounded-circle ">
|
<span className="app-brand-logo rounded-circle ">
|
||||||
<img
|
<img
|
||||||
src="/img/brand/marco.png"
|
src="/img/brand/ofw-500x500.png"
|
||||||
alt="marco-logo"
|
alt="marco-logo"
|
||||||
className="app-brand-logo-login"
|
className="app-brand-logo-login m-5"
|
||||||
|
style={{ width: "50px" }}
|
||||||
/>
|
/>
|
||||||
</span>
|
</span>
|
||||||
</Link>
|
</Link>
|
||||||
|
|||||||
@ -14,6 +14,11 @@ const LandingPage = () => {
|
|||||||
<div className="container-fluid px-5 w-100">
|
<div className="container-fluid px-5 w-100">
|
||||||
<div className="row w-100">
|
<div className="row w-100">
|
||||||
<div className="col-md-auto d-flex justify-content-between align-items-center">
|
<div className="col-md-auto d-flex justify-content-between align-items-center">
|
||||||
|
<img
|
||||||
|
src="/img/brand/ofw-500x500.png"
|
||||||
|
style={{ width: "40px" }}
|
||||||
|
className="me-2"
|
||||||
|
></img>
|
||||||
<a className="navbar-brand fw-bold text-green" href="#">
|
<a className="navbar-brand fw-bold text-green" href="#">
|
||||||
<span className="text-blue">OnField</span>
|
<span className="text-blue">OnField</span>
|
||||||
<span>Work</span>
|
<span>Work</span>
|
||||||
|
|||||||
@ -14,9 +14,12 @@ export const AuthWrapper = ({ children }) => {
|
|||||||
to="/"
|
to="/"
|
||||||
className="app-brand-link gap-2"
|
className="app-brand-link gap-2"
|
||||||
>
|
>
|
||||||
<span className="app-brand-logo rounded-circle " style={{ marginBottom: "625px",marginLeft:"-39px" }}>
|
<span
|
||||||
|
className="app-brand-logo rounded-circle "
|
||||||
|
style={{ marginBottom: "625px", marginLeft: "-39px" }}
|
||||||
|
>
|
||||||
<img
|
<img
|
||||||
src="/img/brand/marco.png"
|
src="/img/brand/ofw-500x500.png"
|
||||||
alt="marco-logo"
|
alt="marco-logo"
|
||||||
className="app-brand-logo-login"
|
className="app-brand-logo-login"
|
||||||
/>
|
/>
|
||||||
|
|||||||
@ -37,26 +37,29 @@ const registerSchema = z.object({
|
|||||||
const RegisterPage = () => {
|
const RegisterPage = () => {
|
||||||
const [registered, setRegristered] = useState(false);
|
const [registered, setRegristered] = useState(false);
|
||||||
const [industries, setIndustries] = useState([]);
|
const [industries, setIndustries] = useState([]);
|
||||||
const [Loading,setLoading] = useState(false)
|
const [Loading, setLoading] = useState(false);
|
||||||
const {
|
const {
|
||||||
register,
|
register,
|
||||||
handleSubmit,
|
handleSubmit,
|
||||||
formState: { errors },reset
|
formState: { errors },
|
||||||
|
reset,
|
||||||
} = useForm({
|
} = useForm({
|
||||||
resolver: zodResolver(registerSchema),
|
resolver: zodResolver(registerSchema),
|
||||||
});
|
});
|
||||||
|
|
||||||
const onSubmit = async (data) => {
|
const onSubmit = async (data) => {
|
||||||
try {
|
try {
|
||||||
setLoading(true)
|
setLoading(true);
|
||||||
const response = await MarketRepository.requestDemo(data);
|
const response = await MarketRepository.requestDemo(data);
|
||||||
showToast("Your request has been sent successfully. Please stay in touch!");
|
showToast(
|
||||||
|
"Your request has been sent successfully. Please stay in touch!"
|
||||||
|
);
|
||||||
setRegristered(true);
|
setRegristered(true);
|
||||||
setLoading(false)
|
setLoading(false);
|
||||||
reset()
|
reset();
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
showToast(error.message, "error");
|
showToast(error.message, "error");
|
||||||
setLoading(false)
|
setLoading(false);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
@ -76,10 +79,8 @@ const RegisterPage = () => {
|
|||||||
};
|
};
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
|
|
||||||
<div className="col-12 col-lg-5 col-xl-4 d-flex align-items-center p-4 p-sm-5 bg-gray-60">
|
<div className="col-12 col-lg-5 col-xl-4 d-flex align-items-center p-4 p-sm-5 bg-gray-60">
|
||||||
<div className="w-100" style={{ maxWidth: 420, margin: "0 auto" }}>
|
<div className="w-100" style={{ maxWidth: 420, margin: "0 auto" }}>
|
||||||
|
|
||||||
<h4 className="mb-2">Adventure starts here </h4>
|
<h4 className="mb-2">Adventure starts here </h4>
|
||||||
<p className="mb-3">Make your app management easy and fun!</p>
|
<p className="mb-3">Make your app management easy and fun!</p>
|
||||||
|
|
||||||
@ -88,7 +89,6 @@ const RegisterPage = () => {
|
|||||||
className="mb-2"
|
className="mb-2"
|
||||||
onSubmit={handleSubmit(onSubmit)}
|
onSubmit={handleSubmit(onSubmit)}
|
||||||
>
|
>
|
||||||
|
|
||||||
<div className="row">
|
<div className="row">
|
||||||
<div className="col-12 col-sm-6 mb-2 text-start">
|
<div className="col-12 col-sm-6 mb-2 text-start">
|
||||||
<label htmlFor="organizatioinName" className="form-label">
|
<label htmlFor="organizatioinName" className="form-label">
|
||||||
@ -276,7 +276,6 @@ const RegisterPage = () => {
|
|||||||
privacy policy & terms
|
privacy policy & terms
|
||||||
</Link>
|
</Link>
|
||||||
</label>
|
</label>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
{errors.terms && (
|
{errors.terms && (
|
||||||
<div
|
<div
|
||||||
@ -289,7 +288,7 @@ const RegisterPage = () => {
|
|||||||
</div>
|
</div>
|
||||||
<button
|
<button
|
||||||
aria-label="Click me "
|
aria-label="Click me "
|
||||||
className="btn btn-primary d-grid w-100"
|
className="btn btn-green d-grid w-100"
|
||||||
>
|
>
|
||||||
{Loading ? "Please Wait..." : " Request Demo"}
|
{Loading ? "Please Wait..." : " Request Demo"}
|
||||||
</button>
|
</button>
|
||||||
@ -300,7 +299,7 @@ const RegisterPage = () => {
|
|||||||
<Link
|
<Link
|
||||||
aria-label="Go to Login Page"
|
aria-label="Go to Login Page"
|
||||||
to="/auth/login"
|
to="/auth/login"
|
||||||
className="text-decoration-underline ms-1"
|
className="text-decoration-underline ms-1 text-green"
|
||||||
disabled={Loading}
|
disabled={Loading}
|
||||||
>
|
>
|
||||||
<i className="bx bx-chevron-left scaleX-n1-rtl bx-sm me-1 "></i>
|
<i className="bx bx-chevron-left scaleX-n1-rtl bx-sm me-1 "></i>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user