Skip to content

Commit

Permalink
Add Defender trial button (#416)
Browse files Browse the repository at this point in the history
  • Loading branch information
ericglau authored Sep 11, 2024
1 parent d0529de commit 8243529
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
24 changes: 24 additions & 0 deletions ui/src/css/header.scss
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,30 @@
color: var(--color-navbar-hover);
}

.navbar-button{
color: white;
padding: 6px 14px;
font-family: var(--heading);
font-weight: 500;
font-size: 0.9rem;
display: inline-block;
border-radius: 100px;
letter-spacing: -0.02em;
transition: all 0.2s ease;
background: #4F56FA;
text-decoration: none;
text-transform: none;
border: 1px solid #EFEFEF;
text-align: center;
white-space: nowrap;
text-wrap: nowrap;
}

.navbar-button:hover {
background: #4349D4!important;
color: white;
}

.navbar-search-input {
font-size: 1rem;
background-color: var(--aluminum-1);
Expand Down
1 change: 1 addition & 0 deletions ui/theme/partials/header.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -261,6 +261,7 @@
<a class="navbar-item" href="https://forum.openzeppelin.com">Forum</a>
<a class="navbar-item" href="https://blog.openzeppelin.com">Blog</a>
<a class="navbar-item" href="https://openzeppelin.com">Website</a>
<a class="navbar-button" href="https://defender.openzeppelin.com/v2/#/auth/sign-up">Defender Free Trial</a>
</div>
</nav>
</header>

0 comments on commit 8243529

Please sign in to comment.