Skip to content
This repository was archived by the owner on Mar 9, 2021. It is now read-only.

Commit 8543be4

Browse files
VickyAbishekvinaypuppal
authored andcommitted
Donate button with changes
Updatd donate button properties according other similiar button's properties in the website.
1 parent 87167d1 commit 8543be4

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

components/common/header/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,7 @@ class NavBar extends React.Component {
124124
<a
125125
href={item.path}
126126
rel="noopener noreferrer"
127+
target={item.title === 'Donate' ? '_blank' : ''}
127128
className={[
128129
pathName === item.path ? 'active' : '',
129130
item.title === 'Donate' ? 'donate_btn' : '',

components/common/header/index.styles.js

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,9 +108,15 @@ export const NavLink = styled.li`
108108
}
109109
}
110110
&.donate_btn {
111-
background: #e91e63;
111+
background: #c201b9;
112112
color: white;
113-
border-radius: 10px;
113+
border-radius: 6px;
114+
font-weight: bold;
115+
line-height: inherit;
116+
margin: 5px;
117+
&:hover {
118+
background:#9c27b0;
119+
}
114120
}
115121
@media(max-width: 885px) {
116122
width: 100%;

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy