Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"@testing-library/jest-dom": "^4.2.4",
"@testing-library/user-event": "^7.1.2",
"dayjs": "^1.9.3",
"html-react-parser": "^1.4.0",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"react-native-hyperlink": "0.0.19",
Expand Down
5 changes: 4 additions & 1 deletion src/Components/Home/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import SectionSubheader from './../SectionSubheader';
import { getHome } from './../../content/home';
import { Box, Content, Description } from './styles';
import ContributionSection from './contribution/ContributionSection';
import HTMLReactParser from 'html-react-parser';

function Home() {
const content = getHome();
Expand All @@ -13,7 +14,9 @@ function Home() {
<Content key={index}>
<SectionSubheader title={section.title} />
{section.content.map((content, indx) => {
return <Description key={indx}>{content.par}</Description>;
return (
<Description key={indx}>{HTMLReactParser(content.par)}</Description>
);
})}
</Content>
);
Expand Down
6 changes: 4 additions & 2 deletions src/content/home.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,12 @@ const home = {
},
content: [
{
par: 'You can start contributing to our various open source projects by- \n\n1) Creating issues on Github regarding the project \n2) Debugging the issues \n3) Creating pull requests, testing pull requests \n4) Create mockups for new applications or redesign the current features \n5) Research about UI/UX improvements and accessibility features. \n6) Create app walk through with documents or videos, UI testing once the PR is submitted for the UI issue',
par:
'You can start contributing to our various open source projects by- \n\n1) <a href = "https://github.com/anitab-org/anitab-org.github.io/issues" target="_blank">Creating issues on Github</a> regarding the project \n2) Debugging the issues \n3) Creating pull requests, testing pull requests \n4) Create mockups for new applications or redesign the current features \n5) Research about UI/UX improvements and accessibility features. \n6) Create app walk through with documents or videos, UI testing once the PR is submitted for the UI issue',
},
{
par: "Each active repository has a stream to direct questions. \nIssues labeled as 'First Timers Only' are meant for contributors who have not contributed to the project yet. Please choose other issues to contribute to, if you have already contributed to these type of issues. \nMake sure to follow the Commit Message Style Guide when submitting PRs which will require review by at least one maintainer to be merged to the main code.",
par:
'Each active repository has a stream to direct questions. \nIssues labeled as <a href = "https://github.com/anitab-org/anitab-org.github.io/issues?q=is%3Aopen+is%3Aissue+label%3A%22First+Timers+Only%22" target="_blank">First Timers Only</a> are meant for contributors who have not contributed to the project yet. Please choose other issues to contribute to, if you have already contributed to these type of issues. \nMake sure to follow the <a href = "https://github.com/anitab-org/mentorship-android/wiki/Commit-Message-Style-Guide" target="_blank">Commit Message Style Guide</a> when submitting PRs which will require review by at least one maintainer to be merged to the main code.',
},
Copy link
Member

Choose a reason for hiding this comment

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

@daxoron can you update the hyperlinked text to "First Timers Only", right now it's just First Timers
Once done, this PR is good to go 🚀

Copy link
Member

Choose a reason for hiding this comment

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

Also there are some conflicts, please resolve them as well

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@vj-codes Sure, Doing It Right Now.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@vj-codes Done. Modified Text and Resolved the Merge Conflicts.

],
},
Expand Down
27 changes: 24 additions & 3 deletions src/test/__snapshots__/Home.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,14 @@ If you are subject to or witness unacceptable behavior, or have any other concer
>
You can start contributing to our various open source projects by-

1) Creating issues on Github regarding the project
1)
<a
href="https://github.com/anitab-org/anitab-org.github.io/issues"
target="_blank"
>
Creating issues on Github
</a>
regarding the project
2) Debugging the issues
3) Creating pull requests, testing pull requests
4) Create mockups for new applications or redesign the current features
Expand All @@ -145,8 +152,22 @@ If you are subject to or witness unacceptable behavior, or have any other concer
style="font-size: 18px; font-weight: 200; text-align: left;"
>
Each active repository has a stream to direct questions.
Issues labeled as 'First Timers Only' are meant for contributors who have not contributed to the project yet. Please choose other issues to contribute to, if you have already contributed to these type of issues.
Make sure to follow the Commit Message Style Guide when submitting PRs which will require review by at least one maintainer to be merged to the main code.
Issues labeled as
<a
href="https://github.com/anitab-org/anitab-org.github.io/issues?q=is%3Aopen+is%3Aissue+label%3A%22First+Timers+Only%22"
target="_blank"
>
First Timers Only
</a>
are meant for contributors who have not contributed to the project yet. Please choose other issues to contribute to, if you have already contributed to these type of issues.
Make sure to follow the
<a
href="https://github.com/anitab-org/mentorship-android/wiki/Commit-Message-Style-Guide"
target="_blank"
>
Commit Message Style Guide
</a>
when submitting PRs which will require review by at least one maintainer to be merged to the main code.
</div>
</div>
</div>
Expand Down