-
Notifications
You must be signed in to change notification settings - Fork 51
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
Small changes #689
base: staging
Are you sure you want to change the base?
Small changes #689
Conversation
@stevestriker is attempting to deploy a commit to the 1hive Team on Vercel. A member of the Team first needs to authorize it. |
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.
Thanks @stevestriker
Left some comments, let me know wyt
@@ -1,4 +1,5 @@ | |||
import React, { useEffect, useState } from 'react' | |||
import { Link } from 'react-router-dom' |
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.
As discussed on Discord, let´s use the Link
component from @1hive/1hive-ui
.
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.
You an see an example here
<EthIdenticon address={proposal.creator} radius={50} scale={1.8} /> | ||
)} | ||
</div> | ||
<Link to={`/profile?account=${proposal.creator}`}> |
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.
With the previous comment, this should be now
<Link to={`/profile?account=${proposal.creator}`}> | |
<Link href={`/profile?account=${proposal.creator}`} external={false}> |
border-radius: 50%; | ||
display: block; | ||
object-fit: cover; | ||
cursor: pointer; |
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.
Using the Link component suggested we don´t need to set this style
cursor: pointer; |
radius={50} | ||
scale={1.8} | ||
css={` | ||
cursor: pointer; |
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 comment as above
<FixedFooter /> | ||
) : ( | ||
<Layout paddingBottom={70}> | ||
<FixedFooter /> |
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.
Why did we remove the compactMode condition? Note that we only want the Fixed Footer on smaller screen sizes
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.
Removed cursor:pointer.
Fixed the href properties to direct correctly.
Still need to configure the compact mode footer tooldbar.
Per request, added the underline to the proposal and removed the underline from the eth-address of the creator