-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Homepage UI fix #481
base: trunk
Are you sure you want to change the base?
Homepage UI fix #481
Changes from 4 commits
9fd5289
084ba3d
35fcdaf
9a3a827
76aedf1
a1f2c66
c0bbb87
3d68e2c
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,12 +2,14 @@ import React from 'react'; | |
import { | ||
Title, | ||
Text, | ||
Title2, | ||
BottomDiv, | ||
Holder, | ||
styles | ||
styles, | ||
LogoCon | ||
} from './style'; | ||
|
||
import DownArrow from '../../../assets/icons/down-arrow.png'; | ||
import CryptonomicLogo from '../../../assets/images/Cryptonomic_logo.svg'; | ||
|
||
import { withStyles } from '@material-ui/core/styles'; | ||
import Button from '@material-ui/core/Button'; | ||
|
@@ -17,12 +19,15 @@ const Banner = (props: any) => { | |
<Holder> | ||
<Title ref={props.actionBtnRef}>ARRONAX</Title> | ||
<Text>Blockchain Analytics Tool </Text> | ||
<LogoCon> | ||
<Text> Brought to you by </Text> | ||
<img src={CryptonomicLogo} alt="img"/> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. set |
||
</LogoCon> | ||
<Button onClick={props.redirectToDashboard} className={props.classes.primaryBtn} variant="contained" color="primary" disableElevation> | ||
Explore Data | ||
Create Data Queries | ||
</Button> | ||
|
||
<BottomDiv> | ||
<Title2>Discover Arronax</Title2> | ||
<img src={DownArrow} alt="img"/> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
</BottomDiv> | ||
</Holder> | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -354,17 +354,6 @@ class Home extends React.Component<Props, States> { | |
</Grid> | ||
<Grid item xs={6}> | ||
<img src={PlaceholderImage} alt="img"/> | ||
<AnchorTag> | ||
<Link to="hourlytransactionsUrl"> | ||
<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg"> | ||
<path d="M18.7771 0.212143L19.7871 1.22286L9.08001 11.93L8.07001 10.92L18.7771 0.212143Z" fill="#2D9CDB"/> | ||
<path d="M20 7.14286H18.5715V1.42857H12.8572V0H20V7.14286Z" fill="#2D9CDB"/> | ||
<path d="M16.4286 20H2.14286C0.928571 20 0 19.0714 0 17.8571V3.57143C0 2.35715 0.928571 1.42857 2.14286 1.42857H10V2.85715H2.14286C1.71429 2.85715 1.42857 3.14286 1.42857 3.57143V17.8571C1.42857 18.2857 1.71429 18.5714 2.14286 18.5714H16.4286C16.8571 18.5714 17.1429 18.2857 17.1429 17.8571V10H18.5714V17.8571C18.5714 19.0714 17.6429 20 16.4286 20Z" fill="#2D9CDB"/> | ||
</svg> | ||
View Query | ||
</Link> | ||
</AnchorTag> | ||
{/* <Link to={this.hourlyTransactionsQuery}/> */} | ||
</Grid> | ||
<Grid item xs={6}> | ||
<MapHolder ref={this.container}> | ||
|
@@ -374,6 +363,16 @@ class Home extends React.Component<Props, States> { | |
<svg className={classes.blockDisplay} ref={this.transactionPerHour}></svg> | ||
} | ||
</MapHolder> | ||
<AnchorTag> | ||
<Link to={{ pathname: "https://periscope.arronax.io/operations?q=trancations"}} target="_blank" > | ||
View Graph on Periscope | ||
<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg"> | ||
<path d="M18.7771 0.212143L19.7871 1.22286L9.08001 11.93L8.07001 10.92L18.7771 0.212143Z" fill="#2D9CDB"/> | ||
<path d="M20 7.14286H18.5715V1.42857H12.8572V0H20V7.14286Z" fill="#2D9CDB"/> | ||
<path d="M16.4286 20H2.14286C0.928571 20 0 19.0714 0 17.8571V3.57143C0 2.35715 0.928571 1.42857 2.14286 1.42857H10V2.85715H2.14286C1.71429 2.85715 1.42857 3.14286 1.42857 3.57143V17.8571C1.42857 18.2857 1.71429 18.5714 2.14286 18.5714H16.4286C16.8571 18.5714 17.1429 18.2857 17.1429 17.8571V10H18.5714V17.8571C18.5714 19.0714 17.6429 20 16.4286 20Z" fill="#2D9CDB"/> | ||
</svg> | ||
</Link> | ||
</AnchorTag> | ||
</Grid> | ||
</Grid> | ||
</Padding> | ||
|
@@ -398,17 +397,27 @@ class Home extends React.Component<Props, States> { | |
</React.Fragment> | ||
} | ||
</MapHolder> | ||
<AnchorTag> | ||
<Link to={{ pathname: "https://periscope.arronax.io/blocks?q=priorityBlocks"}} target="_blank" > | ||
View Graph on Periscope | ||
<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg"> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. if possible please save svg as file in images and import to component |
||
<path d="M18.7771 0.212143L19.7871 1.22286L9.08001 11.93L8.07001 10.92L18.7771 0.212143Z" fill="#2D9CDB"/> | ||
<path d="M20 7.14286H18.5715V1.42857H12.8572V0H20V7.14286Z" fill="#2D9CDB"/> | ||
<path d="M16.4286 20H2.14286C0.928571 20 0 19.0714 0 17.8571V3.57143C0 2.35715 0.928571 1.42857 2.14286 1.42857H10V2.85715H2.14286C1.71429 2.85715 1.42857 3.14286 1.42857 3.57143V17.8571C1.42857 18.2857 1.71429 18.5714 2.14286 18.5714H16.4286C16.8571 18.5714 17.1429 18.2857 17.1429 17.8571V10H18.5714V17.8571C18.5714 19.0714 17.6429 20 16.4286 20Z" fill="#2D9CDB"/> | ||
</svg> | ||
</Link> | ||
</AnchorTag> | ||
</Grid> | ||
<Grid item xs={6}> | ||
<img src={PlaceholderImage1} alt="img"/> | ||
<AnchorTag className={classes.alignRight}> | ||
<Link to={topBakersUrl}> | ||
<AnchorTag style={{marginTop: '-7px'}} className={classes.alignRight}> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. please set custom styles dynamically in |
||
<Link to={{ pathname: "https://harpoon.arronax.io/"}} target="_blank" > | ||
View Baker Stats on Harpoon | ||
<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg"> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. same |
||
<path d="M18.7771 0.212143L19.7871 1.22286L9.08001 11.93L8.07001 10.92L18.7771 0.212143Z" fill="#2D9CDB"/> | ||
<path d="M20 7.14286H18.5715V1.42857H12.8572V0H20V7.14286Z" fill="#2D9CDB"/> | ||
<path d="M16.4286 20H2.14286C0.928571 20 0 19.0714 0 17.8571V3.57143C0 2.35715 0.928571 1.42857 2.14286 1.42857H10V2.85715H2.14286C1.71429 2.85715 1.42857 3.14286 1.42857 3.57143V17.8571C1.42857 18.2857 1.71429 18.5714 2.14286 18.5714H16.4286C16.8571 18.5714 17.1429 18.2857 17.1429 17.8571V10H18.5714V17.8571C18.5714 19.0714 17.6429 20 16.4286 20Z" fill="#2D9CDB"/> | ||
</svg> | ||
View Query | ||
</Link> | ||
</AnchorTag> | ||
</Grid> | ||
|
@@ -426,16 +435,6 @@ class Home extends React.Component<Props, States> { | |
</Grid> | ||
<Grid item xs={6}> | ||
<img src={PlaceholderImage2} alt="img"/> | ||
<AnchorTag> | ||
<Link to={topAccountsUrl}> | ||
<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg"> | ||
<path d="M18.7771 0.212143L19.7871 1.22286L9.08001 11.93L8.07001 10.92L18.7771 0.212143Z" fill="#2D9CDB"/> | ||
<path d="M20 7.14286H18.5715V1.42857H12.8572V0H20V7.14286Z" fill="#2D9CDB"/> | ||
<path d="M16.4286 20H2.14286C0.928571 20 0 19.0714 0 17.8571V3.57143C0 2.35715 0.928571 1.42857 2.14286 1.42857H10V2.85715H2.14286C1.71429 2.85715 1.42857 3.14286 1.42857 3.57143V17.8571C1.42857 18.2857 1.71429 18.5714 2.14286 18.5714H16.4286C16.8571 18.5714 17.1429 18.2857 17.1429 17.8571V10H18.5714V17.8571C18.5714 19.0714 17.6429 20 16.4286 20Z" fill="#2D9CDB"/> | ||
</svg> | ||
View Query | ||
</Link> | ||
</AnchorTag> | ||
</Grid> | ||
<Grid item xs={6}> | ||
<MapHolder> | ||
|
@@ -445,6 +444,16 @@ class Home extends React.Component<Props, States> { | |
<svg className={classes.blockDisplay} ref={this.topAccountsRef}></svg> | ||
} | ||
</MapHolder> | ||
<AnchorTag> | ||
<Link to={{ pathname: "https://periscope.arronax.io/accounts"}} target="_blank" > | ||
View Graph on Periscope | ||
<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg"> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. same |
||
<path d="M18.7771 0.212143L19.7871 1.22286L9.08001 11.93L8.07001 10.92L18.7771 0.212143Z" fill="#2D9CDB"/> | ||
<path d="M20 7.14286H18.5715V1.42857H12.8572V0H20V7.14286Z" fill="#2D9CDB"/> | ||
<path d="M16.4286 20H2.14286C0.928571 20 0 19.0714 0 17.8571V3.57143C0 2.35715 0.928571 1.42857 2.14286 1.42857H10V2.85715H2.14286C1.71429 2.85715 1.42857 3.14286 1.42857 3.57143V17.8571C1.42857 18.2857 1.71429 18.5714 2.14286 18.5714H16.4286C16.8571 18.5714 17.1429 18.2857 17.1429 17.8571V10H18.5714V17.8571C18.5714 19.0714 17.6429 20 16.4286 20Z" fill="#2D9CDB"/> | ||
</svg> | ||
</Link> | ||
</AnchorTag> | ||
</Grid> | ||
</Grid> | ||
</Padding> | ||
|
@@ -460,7 +469,7 @@ class Home extends React.Component<Props, States> { | |
</Grid> | ||
<Grid className={classes.alignRight} item xs={6}> | ||
<Button className={classes.outlineBtn} onClick={this.redirectToDashboard} variant="contained" color="primary" disableElevation> | ||
Explore Data | ||
Enter Arronax | ||
</Button> | ||
</Grid> | ||
</Grid> | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please revert this change