forked from CSI-KJSCE/appointment_to_examiner
frontend changes
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user