-
Notifications
You must be signed in to change notification settings - Fork 77
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
Daniela López. 1st challenge #28
base: master
Are you sure you want to change the base?
Conversation
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.
Looking good, I left small comments, also try to add more test cases for smaller components.
// import './global.css'; | ||
// import Header from '../src/pages/Header/Header'; | ||
// import Home from './pages/Home/Layout/Layout'; | ||
// import 'antd/dist/antd.css' | ||
|
||
// function App() { | ||
// return ( | ||
// <div> | ||
// <Header/> | ||
// <Home/> | ||
// </div> | ||
// ); | ||
// } | ||
|
||
// export default App; |
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.
Remove the file if it is no needed
/* .container { | ||
width: 100vw; | ||
height: 100vh; | ||
display: flex; | ||
flex-direction: column; | ||
justify-content: center; | ||
align-items: center; | ||
margin-top: -3rem; | ||
} */ |
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 here, remove unused comments.
@@ -0,0 +1,14 @@ | |||
// Light mode Colors |
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.
What about creating themes instead, something like:
const themes = {
dark: {
primary: ...
},
light: {
primary: ...
}
}
Then you can re-use this them among all your components and styled components
No description provided.