Skip to content

Commit 21493db

Browse files
fix: Navbar signin button
1 parent 49fc4ee commit 21493db

File tree

2 files changed

+22
-7
lines changed

2 files changed

+22
-7
lines changed

src/components/Navbar/Navbar.css

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -95,9 +95,8 @@
9595
display: inline-block;
9696
margin: 0px 20px 0px 0px;
9797
color: var(--text);
98-
font-family: Tahoma, Verdana, sans-serif;
99-
font-size: 20px;
100-
line-height: 30px;
98+
font-size: 13px;
99+
line-height: 18px;
101100
}
102101

103102
.dcl.account-wrapper .dcl.mana .symbol .ethereum {
@@ -117,6 +116,7 @@
117116
display: flex;
118117
flex-flow: row nowrap;
119118
align-items: center;
119+
margin-left: 10px;
120120
}
121121

122122
.dcl.navbar-account .ui.menu.ui.menu.secondary.navbar-account-menu {
@@ -207,6 +207,17 @@
207207
box-shadow: 0 0px 0px 0 rgba(0, 0, 0, 0);
208208
}
209209

210+
.dcl.navbar .sign-in-button {
211+
margin-left: 20px;
212+
color: var(--text);
213+
font-size: 14px;
214+
font-weight: normal;
215+
border-radius: 0px;
216+
background-color: rgb(255, 131, 112);
217+
box-shadow: rgb(255 131 112 / 67%) 0px 0px 10px,
218+
rgb(255 131 112 / 67%) 0px 0px 12px;
219+
}
220+
210221
.dcl.navbar.sign-in .ui.menu .item.sign-in-button {
211222
color: var(--primary);
212223
font-weight: bold;

src/components/Navbar/Navbar.tsx

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import { Mana } from '../Mana/Mana'
44
import { Blockie } from '../Blockie/Blockie'
55
import { Container } from '../Container/Container'
66
import { Header } from '../Header/Header'
7+
import { Button } from '../Button/Button'
78
import { Logo } from '../Logo/Logo'
89
import { Mobile, NotMobile } from '../Media'
910
import './Navbar.css'
@@ -220,15 +221,18 @@ export class Navbar extends React.PureComponent<NavbarProps, NavbarState> {
220221
} else if (isConnecting && !isSignIn) {
221222
return (
222223
<Menu secondary>
223-
<Menu.Item disabled>{i18n.account.connecting}</Menu.Item>
224+
<Menu.Item className="sign-in-button" disabled>
225+
{i18n.account.connecting}
226+
</Menu.Item>
224227
</Menu>
225228
)
226229
} else if (onSignIn || isSignIn) {
227230
return (
228231
<Menu secondary>
229-
<Menu.Item className="sign-in-button" onClick={onSignIn}>
230-
{i18n.account.signIn}
231-
</Menu.Item>
232+
<Button className="sign-in-button" onClick={onSignIn}>
233+
{/* {i18n.account.signIn} */}
234+
Connect Wallet
235+
</Button>
232236
</Menu>
233237
)
234238
} else {

0 commit comments

Comments
 (0)