-
Notifications
You must be signed in to change notification settings - Fork 3
Domains section wip #2
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
Conversation
Do you want to change it to draft until it's ready? |
also included some fixes for landing page so it looks decent on mobile on last 2 commits |
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.
Nice work!
import { transparentize } from 'polished' | ||
import styled from 'styled-components' | ||
import { transparentize } from 'polished'; | ||
import styled from 'styled-components'; | ||
|
||
export const GovernanceText = styled.span` |
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.
Do we have a token already? 🤣
src/pages/Domains/index.tsx
Outdated
const arrayOfEnsData = [ | ||
{ | ||
ensDomain: 'milanrasovic.eth', | ||
imageUrl: 'https://pbs.twimg.com/profile_images/1511030457093271558/GBHgfEOS_400x400.jpg', | ||
}, | ||
{ | ||
ensDomain: 'blue.eth', | ||
imageUrl: 'https://pbs.twimg.com/profile_images/701077842197618688/6mRqLx_p_400x400.jpg', | ||
}, | ||
{ ensDomain: 'green.eth', imageUrl: '' }, | ||
{ ensDomain: 'red.eth', imageUrl: '' }, | ||
]; |
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.
These should be moved to mocks fixtures
<ButtonPrimary> | ||
<CTAButtonWrapper> | ||
<CTAButtonLogo /> | ||
<span>Go to Nimi</span> |
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.
Note for us: consider i18n
Co-authored-by: Adam Azad <adam@adamazad.com>
Co-authored-by: Adam Azad <adam@adamazad.com>
src/components/EnsNameCard/index.tsx
Outdated
imageUrl?: string; | ||
} | ||
|
||
export default function ENSNameCard({ ensDomain, imageUrl }: ENSCardProps) { |
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.
For sake of convention, let's avoid default exports in this project.
@@ -0,0 +1,12 @@ | |||
export const MockENSData = [ |
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.
Nice! If you like, you can move these to the root of the project. It's still fine here.
* Updated Nimi Card dependency. * Removed HashRouter. * Updated routing. * Added redirection to home, removed unused route. * Removed unused code. * Updated providers. * Created React Query provider. * Created Redux provider. * Created Wagmi provider. * Updated index.ts. * Updated providers. * Updated Wagmi provider. * Updated useRainbow hook. * Updated useENSMetadata hook. * Removed broken Fathom functionality. * Created LoggedInWrapper. * Updated App component. * Updated naming. * Added Wagmi dependency. * Updated Wagmi imports as per documentation. * Added missing TS ESlint parser dependency, removed some other deps. * Removed unused dependencies. * Removed unused dependencies. * Removed unused dependencies. * Removed unused dependencies. * Removed unused dependencies. * Added missing dependencies. * Added missing dependency. * Updated package.json. * Updated dependencies. * Added licence field. * Updated useENSMetadata hook. * Updated AppWrapper component. * Updated App component. * Updated pages. * Updated WagmiProvider. * Updated package-lock.json. * Package.json updated. * Updated dependencies. * Added AppWrapper to CreateNimiContainer. * Updated package-lock.json.
working on domains section and ensNameCard styles only
@adamazad dont look at this code yet I need to tidy it up