-
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
Open
Aeesh
wants to merge
8
commits into
trunk
Choose a base branch
from
aisha
base: trunk
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Homepage UI fix #481
Changes from 7 commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
9fd5289
cryptonomic logo
Aeesh 084ba3d
added cryptonomic logo to home page
Aeesh 35fcdaf
added links
Aeesh 9a3a827
UI fix
Aeesh 76aedf1
reverted change
Aeesh a1f2c66
modified svg tag to img
Aeesh c0bbb87
link icon
Aeesh 3d68e2c
removed inline styling
Aeesh File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -62,6 +62,7 @@ import ThoughtBubbleIcon from '../../assets/icons/thought_bubble_icon.svg'; | |
import PlaceholderImage from '../../assets/images/placeholder.png'; | ||
import PlaceholderImage1 from '../../assets/images/placeholder1.png'; | ||
import PlaceholderImage2 from '../../assets/images/placeholder2.png'; | ||
import link_icon from '../../assets/images/link_icon.svg' | ||
|
||
import { Props, States, Transactions, Accounts, Bakers } from './types'; | ||
|
||
|
@@ -354,17 +355,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 +364,12 @@ 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 | ||
<img src={link_icon} alt="link_icon"/> | ||
</Link> | ||
</AnchorTag> | ||
</Grid> | ||
</Grid> | ||
</Padding> | ||
|
@@ -398,17 +394,19 @@ 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 | ||
<img src={link_icon} alt="link_icon"/> | ||
</Link> | ||
</AnchorTag> | ||
</Grid> | ||
<Grid item xs={6}> | ||
<img src={PlaceholderImage1} alt="img"/> | ||
<img style={{marginBottom: '-18px'}} src={PlaceholderImage1} 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. please pass |
||
<AnchorTag className={classes.alignRight}> | ||
<Link to={topBakersUrl}> | ||
<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 to={{ pathname: "https://harpoon.arronax.io/"}} target="_blank" > | ||
View Baker Stats on Harpoon | ||
<img src={link_icon} alt="link_icon"/> | ||
</Link> | ||
</AnchorTag> | ||
</Grid> | ||
|
@@ -426,16 +424,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 +433,12 @@ 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 | ||
<img src={link_icon} alt="link_icon"/> | ||
</Link> | ||
</AnchorTag> | ||
</Grid> | ||
</Grid> | ||
</Padding> | ||
|
@@ -460,7 +454,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> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
alt
, same here if you can