Skip to content
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

Delivered core features #32

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

yuriyivanenko
Copy link

About, ArticleList and Article render

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👀

Comment on lines +4 to +9
return (
<>
<img src={image} alt="blog logo"/>
<p>{about}</p>
</>
)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
return (
<>
<img src={image} alt="blog logo"/>
<p>{about}</p>
</>
)
return (
<>
<img src={image} alt="blog logo"/>
<p>{about}</p>
</>
)

@@ -0,0 +1,34 @@
import React from "react";

const Article = ({post:{title, date = "January 1, 1970", preview, minutes}}) => {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
const Article = ({post:{title, date = "January 1, 1970", preview, minutes}}) => {
const Article = ({ post: { title, date = "January 1, 1970", preview, minutes } }) => {

<h3>{title}</h3>
<small>{date}</small>
<p>{preview}</p>
{minutes < 30 ? <CoffeeCups/> : <BentoBox/>}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
{minutes < 30 ? <CoffeeCups/> : <BentoBox/>}
{minutes < 30 ? <CoffeeCups /> : <BentoBox />}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants