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

Create Blog Card Component #123

Open
zenlex opened this issue Oct 22, 2022 · 2 comments
Open

Create Blog Card Component #123

zenlex opened this issue Oct 22, 2022 · 2 comments
Labels
front end front end dev tasks (react/js component builds, css, html) good first issue Good for newcomers

Comments

@zenlex
Copy link
Collaborator

zenlex commented Oct 22, 2022

  • What is the current behavior?
    There is no blog card

  • What is the expected behavior?
    There is a blog card component that takes blog details as props and renders a single blog card. This component will be used by the blog list index component. See Build blog list component (Index page) #20
    image

@zenlex zenlex added good first issue Good for newcomers front end front end dev tasks (react/js component builds, css, html) labels Oct 22, 2022
@zenlex zenlex moved this to Backlog in Website Rebuild 2022 Oct 22, 2022
@zenlex zenlex moved this from Backlog to Selected for Development in Website Rebuild 2022 Oct 22, 2022
@zenlex
Copy link
Collaborator Author

zenlex commented Oct 25, 2022

The logic for the index page is already built in src/pages/blog/index.tsx. Next steps:

  • refactor markup into BlogCard component that takes a post object (passed in from the array of posts in index.tsx)
  • style card component to match figma
  • add basic grid container to index.tsx to space out the cards

You may take a look at the Event card component (pull request #117) as the blog card and event card are very similar. Bonus points for refactoring both blog and event cards to use the same base card component.

@zenlex
Copy link
Collaborator Author

zenlex commented Oct 26, 2022

Update - blog index needs to be rebuilt first so marking this one as hold until we get #20 done first.

@zenlex zenlex added the hold putting this pr/issue on pause pending discussion label Oct 26, 2022
@zenlex zenlex removed the hold putting this pr/issue on pause pending discussion label Jan 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
front end front end dev tasks (react/js component builds, css, html) good first issue Good for newcomers
Projects
Status: Selected for Development
Development

No branches or pull requests

1 participant