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

[IMPROVE] refactor hard-coded component data into parameters (react component props) #145

Open
wants to merge 8 commits into
base: main
Choose a base branch
from

Conversation

nishant23122000
Copy link
Contributor

@nishant23122000 nishant23122000 commented Apr 14, 2022

Put all Hardcoded content outside of component in app/data folder and improved the responsiveness of Infotiles and carousel component by adding media query.

Reference : #77

@CLAassistant
Copy link

CLAassistant commented Apr 14, 2022

CLA assistant check
All committers have signed the CLA.

@lgtm-com
Copy link

lgtm-com bot commented Apr 14, 2022

This pull request introduces 1 alert and fixes 1 when merging 21704ff into 6dbe41c - view on LGTM.com

new alerts:

  • 1 for Unused variable, import, function or class

fixed alerts:

  • 1 for Unused variable, import, function or class

Copy link
Member

@debdutdeb debdutdeb left a comment

Choose a reason for hiding this comment

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

leaving some notes on my initial look. Will take an actual deeper look later. Thanks.

app/components/infotiles.js Outdated Show resolved Hide resolved
app/components/infotiles.js Outdated Show resolved Hide resolved
app/components/personcircle.js Outdated Show resolved Hide resolved
app/pages/index.js Outdated Show resolved Hide resolved
app/pages/index.js Outdated Show resolved Hide resolved
app/pages/index.js Outdated Show resolved Hide resolved
app/pages/index.js Outdated Show resolved Hide resolved
@lgtm-com
Copy link

lgtm-com bot commented Apr 16, 2022

This pull request fixes 1 alert when merging d77d437 into 65fbcd3 - view on LGTM.com

fixed alerts:

  • 1 for Unused variable, import, function or class

@nishant23122000
Copy link
Contributor Author

1. added counters,infotiles,discourse json files inside initialData. so when user set INITIALIZE_DATA=true,it will add data into strapi collections.

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.

4 participants