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

Profilebanner storybook #323

Merged
merged 5 commits into from
Jul 5, 2022
Merged

Conversation

IITvamp
Copy link
Collaborator

@IITvamp IITvamp commented Jul 2, 2022

Description

passing value via props to the profile banner components. No changes in the UI in this pr, just changed hardcoded data to props.

Related Issue

#294

Screenshots or GIF (In case of UI changes):

image
image
image
image

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

@IITvamp IITvamp added the GSOC 2022 GSOC 2022 Issues label Jul 2, 2022
@@ -8,7 +8,7 @@ import dp from "../../../assets/images/demoperson1.jpeg";
import BannerDemo from "../../../assets/images/OrgBannerDemo.png";
import iconbuttonImage from "../../../assets/images/unfilled3holes.svg";

export default function Banner() {
export default function Banner({ bannerImage, profileImage, name, story, followers, contributors, feed }) {
Copy link
Member

Choose a reason for hiding this comment

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

did you use prettier in this line?

Copy link
Collaborator Author

@IITvamp IITvamp Jul 2, 2022

Choose a reason for hiding this comment

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

I didn't. I have pushed changes after running prettier on all the files related to the pr, in this commit, 43d6a1e

Copy link
Member

Choose a reason for hiding this comment

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

can you double check, the line is long and it's on a single line which should be broken down to new lines.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I have made a new commit after running prettier. 43d6a1e
Please check. This line has been broken to multiple short lines.

@charithccmc
Copy link
Member

@IITvamp Pls add a gif of the Profilebanner

@Niweera Niweera merged commit a1f4dc6 into scorelab:master Jul 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
GSOC 2022 GSOC 2022 Issues
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants