frontend changes

This commit is contained in:
ayoitshasya
2025-01-27 03:06:39 +05:30
parent 785025944f
commit 0e0f686c70
19 changed files with 523 additions and 542 deletions

View File

@@ -1,28 +1,28 @@
import React from "react";
import { useNavigate } from "react-router-dom";
// import React from "react";
// import { useNavigate } from "react-router-dom";
const Welcome = () => {
const navigate = useNavigate();
// const Welcome = () => {
// const navigate = useNavigate();
const handleRedirect = () => {
navigate("/AuthpPage");
};
// const handleRedirect = () => {
// navigate("/AuthpPage");
// };
return (
<div className="container text-center mt-5">
<div className="row justify-content-center">
<div className="col-md-6">
<h1 className="mb-4">Welcome Page</h1>
<button
onClick={handleRedirect}
className="btn btn-primary btn-lg"
>
SIGN IN / SIGN UP
</button>
</div>
</div>
</div>
);
};
// return (
// <div className="container text-center mt-5">
// <div className="row justify-content-center">
// <div className="col-md-6">
// <h1 className="mb-4">Welcome Page</h1>
// <button
// onClick={handleRedirect}
// className="btn btn-primary btn-lg"
// >
// SIGN IN / SIGN UP
// </button>
// </div>
// </div>
// </div>
// );
// };
export default Welcome;
// export default Welcome;