Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 8bd5aa2

Browse files
committed
Donate button with changes
Updatd donate button properties according other similiar button's properties in the website.
1 parent 7ed07f4 commit 8bd5aa2

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)