Skip to content

Commit

Permalink
fix: pp learn more button instead of anchor
Browse files Browse the repository at this point in the history
  • Loading branch information
DaveVodrazka committed Oct 2, 2024
1 parent 2d6fd2e commit fe5b727
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 6 deletions.
10 changes: 4 additions & 6 deletions src/pages/priceGuard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,18 +54,16 @@ const PriceGuardPage = () => {
<h1>Price Protect</h1>
<p>
Safeguard your holdings from major price movement.{" "}
<a
rel="noopener nofollow noreferrer"
target="_blank"
href="#"
<button
className="linkbutton"
onClick={() => {
const cfg = getVideoPopupConfig();
console.log(cfg);
openPopupWindow(cfg);
}}
>
Learn more
</a>
</button>
.
</p>
<PriceGuard />
<UserPriceGuard />
Expand Down
19 changes: 19 additions & 0 deletions src/style/base.css
Original file line number Diff line number Diff line change
Expand Up @@ -270,6 +270,25 @@ button.active {
background-color: var(--bg-color);
}

button.linkbutton {
text-transform: none;
color: var(--WHITE);
background: none;
border: none;
text-decoration: underline;
cursor: pointer;
padding: 0;
font: inherit;
}

button.linkbutton:focus {
outline: none;
}

button.linkbutton:hover {
text-decoration: none;
}

div.center {
display: flex;
align-items: center;
Expand Down

0 comments on commit fe5b727

Please sign in to comment.