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

[Frontend] Create a ProjectCard component based on Card Component #52

Open
1 of 2 tasks
divyamrastogi opened this issue May 9, 2018 · 1 comment
Open
1 of 2 tasks

Comments

@divyamrastogi
Copy link
Collaborator

divyamrastogi commented May 9, 2018

I'm submitting a ...

  • bug report
  • feature request

Current behavior:
There's no ProjectCard component as of now.

Expected behavior:

Make a ProjectCard Component that will compose on the Card, SButton and Avatar
image

It could be used like this:

getProjects() {
  fetch(`/getProjects`)
    .then((projects) => {
      this.setState({
        projects,
      });
  });
}

render() {
  return {
  this.state.projects
    .map(project => <ProjectCard {...project}></ProjectCard>)
  };
}

Each project can have the following properties:
backgroundImage: The background image beneath the logo.
logo: The logo
title: The project name
description: The project description
collaborators: The list of people to show on the card.

Dependencies:
#49
#48

@divyamrastogi divyamrastogi changed the title Create a ProjectCard component based on Card Component [Frontend] Create a ProjectCard component based on Card Component May 9, 2018
@blenderskool
Copy link
Contributor

blenderskool commented May 10, 2018

I will do this once dependencies are ready

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

No branches or pull requests

2 participants