Skip to content

Commit

Permalink
Add button cancel for modal page
Browse files Browse the repository at this point in the history
  • Loading branch information
whooaami committed Oct 4, 2023
1 parent beac3af commit ad58f4d
Show file tree
Hide file tree
Showing 2 changed files with 51 additions and 1 deletion.
8 changes: 8 additions & 0 deletions FrontEnd/src/components/SignUp/pages/SignUpModalPage.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { Link } from "react-router-dom"
import styles from "./SignUpModalPage.module.css";
import DotDecorComponent from "../UI/dotDecor/DotDecor";

Expand All @@ -20,6 +21,13 @@ export function SignUpModalPage() {
</div>
</p>
</div>
<div className={styles["modal__footer"]}>
<div className={styles["button-container"]}>
<Link className={styles["signup-page__button"]} to="/login">
Закрити
</Link>
</div>
</div>
</div>
<DotDecorComponent position={"down-left"} />
</div>
Expand Down
44 changes: 43 additions & 1 deletion FrontEnd/src/components/SignUp/pages/SignUpModalPage.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

.container-modal {
width: 610px;
height: 225px;
height: 290px;
position: absolute;
z-index: 2;
}
Expand Down Expand Up @@ -71,3 +71,45 @@
line-height: 20px;
letter-spacing: -0.14px;
}

.button-container {
display: flex;
align-items: flex-start;
gap: 12px;
}

.signup-page__button {
display: flex;
padding: 5px 15px;
justify-content: center;
align-items: center;
gap: 10px;
border-radius: 4px;
border: 1px solid var(--primary-green-80, #1f9a7c);
background: var(--main-white, #fff);

/* drop-shadow/button-secondary */
box-shadow: 0px 2px 0px 0px rgba(0, 0, 0, 0.02);

color: var(--primary-green-80, #1f9a7c);
text-align: center;
font-feature-settings: "calt" off;

/* Text/Body/16-Semi bold */
font-family: Inter, sans-serif;
font-size: 16px;
font-style: normal;
font-weight: 600;
line-height: 20px;
/* 125% */
letter-spacing: -0.16px;
text-decoration: none;

cursor: pointer;
}

.signup-page__button:hover {
border: 1px solid var(--primary-green-80, #1f9a7c);
background: var(--primary-green-80, #1f9a7c);
color: var(--main-white, #fff);
}

0 comments on commit ad58f4d

Please sign in to comment.