-
Notifications
You must be signed in to change notification settings - Fork 95
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
Mini challenge 1 / Daniel Castro #10
base: master
Are you sure you want to change the base?
Conversation
@@ -1,38 +1,25 @@ | |||
import React, { useLayoutEffect } from 'react'; | |||
import React from 'react'; |
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.
very nice work with components!
import styled from 'styled-components'; | ||
import { MdAccountCircle } from 'react-icons/md'; | ||
|
||
export const AvatarIcon = styled(MdAccountCircle)` |
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.
Cool, it is nice to use this icon library 👍
<CardContainer> | ||
<CardImgWrapper to={`/video/${videoId}`}> | ||
<CardImg alt={`${title} | Image Video`} src={imgSrc} /> | ||
</CardImgWrapper> | ||
<CardTitle>{title}</CardTitle> | ||
<CardDescription> | ||
{description} | ||
<span>#{channel}</span> | ||
<span>{publishedDate}</span> | ||
</CardDescription> | ||
</CardContainer> |
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.
I like this component hirarchy!
|
||
function CardList() { | ||
return ( | ||
<CardGrid> |
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.
Very nice use of styles for responsive view
@@ -0,0 +1,34 @@ | |||
import { createGlobalStyle } from 'styled-components'; | |||
|
|||
export const GlobalStyle = createGlobalStyle` |
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.
I liked so much this approach, I learned something new!
Review (Mini challenge 1)Nice job Daniel! You're doing a great job here, I found your work very clean, well-arranged, you made great use of components, styled components, theme, and global styles, congrats and keep it like that! Acceptance Criteria (Mini challenge 1)
Bonus Points (Mini challenge 1)
|
No description provided.