-
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
Conversation
package.json
Outdated
@@ -66,7 +66,7 @@ | |||
}, | |||
"scripts": { | |||
"start": "REACT_APP_VERSION=$(git describe --abbrev=0) REACT_APP_GIT_SHA=$(git rev-parse --short HEAD) react-scripts start", | |||
"serve": "REACT_APP_VERSION=$(git describe --abbrev=0) REACT_APP_GIT_SHA=$(git rev-parse --short HEAD) BROWSER=none react-scripts start", | |||
"serve": "react-scripts start", |
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
src/components/Home/Banner/index.tsx
Outdated
@@ -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 comment
The reason will be displayed to describe this comment to others. Learn more.
set alt
attribute to something like Brought to you by Cryptonomic
</Button> | ||
|
||
<BottomDiv> | ||
<Title2>Discover Arronax</Title2> | ||
<img src={DownArrow} alt="img"/> |
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
src/containers/Homepage/index.tsx
Outdated
</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 comment
The reason will be displayed to describe this comment to others. Learn more.
please set custom styles dynamically in AnchorTag
or add in classes
src/containers/Homepage/index.tsx
Outdated
<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 comment
The 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
src/containers/Homepage/index.tsx
Outdated
<Link to={topBakersUrl}> | ||
<AnchorTag style={{marginTop: '-7px'}} className={classes.alignRight}> | ||
<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 comment
The reason will be displayed to describe this comment to others. Learn more.
same svg
src/containers/Homepage/index.tsx
Outdated
<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 comment
The reason will be displayed to describe this comment to others. Learn more.
same svg
src/containers/Homepage/index.tsx
Outdated
</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 comment
The reason will be displayed to describe this comment to others. Learn more.
please pass margin bottom
in class to avoid inline styles
No description provided.