Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions client/src/assets/styles/Landing.css
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,8 @@ body {
text-align: center;
transition: all 0.15s;
}

/* Really like the hover effect and active effect that you added to your buttons, they are really beautiful */
.bookBtn:hover {
border-color: #fcfbfb;
transform: scale(1.05, 1.05);
Expand Down
1 change: 1 addition & 0 deletions client/src/components/ManageBook.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ function ManageBook() {
<button
className="deleteBtnBook"
onClick={() => {
// Good to know that I can use this window.confirm thing to handle the confirmation for delete actions
const confirmBox = window.confirm("Are you sure you want to cancel?");
if (confirmBox === true) {
removeClass(date, time, tutor);
Expand Down
4 changes: 3 additions & 1 deletion client/src/components/Register.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ function Register() {
}));
validateInput(evt);
};

// This is a very good design that you validated the user's password, this is a good practice and our group should add this function too.
const validateInput = (evt) => {
let { name, value } = evt.target;
setError((prev) => {
Expand All @@ -62,6 +62,8 @@ function Register() {
const handleRegister = () => {
navigate("/login", { replace: true });
};

// The align of the components still needs more adjustment

return (
<main className="card" id="signupCard">
Expand Down
1 change: 1 addition & 0 deletions client/src/pages/Landing.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ function Landing() {
<>
<Navbar />
<div className="mainContainer" role="main">
// The landing page is good, looks like a page of a real business
<div className="banner">
<div className="subContainer">
<h1>Tutor Match helps you get the help you need</h1>
Expand Down