forked from CodeHarborHub/codeharborhub.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
164 changed files
with
19,132 additions
and
866 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
## Related Issue | ||
|
||
[Cite any related issue(s) this pull request addresses. If none, simply state "None”] | ||
|
||
## Description | ||
|
||
[Please include a brief description of the changes or features added] | ||
|
||
## Type of PR | ||
|
||
- [ ] Bug fix | ||
- [ ] Feature enhancement | ||
- [ ] Documentation update | ||
- [ ] Other (specify): _______________ | ||
|
||
## Screenshots / Videos (if applicable) | ||
|
||
[Attach any relevant screenshots or videos demonstrating the changes] | ||
|
||
## Checklist | ||
- [ ] I have performed a self-review of my code. | ||
- [ ] I have read and followed the Contribution Guidelines. | ||
- [ ] I have tested the changes thoroughly before submitting this pull request. | ||
- [ ] I have provided relevant issue numbers, screenshots, and videos after making the changes. | ||
- [ ] I have commented my code, particularly in hard-to-understand areas. | ||
<!-- [X] - put a cross/X inside [] to check the box --> | ||
|
||
## Additional Context | ||
|
||
[Include any additional information or context that might be helpful for reviewers.] | ||
|
||
## Resources for Guidance | ||
|
||
Here are some resources that may be helpful as you contribute to CodeHarborHub: | ||
- [Code Harbor Hub Community Features](https://www.codeharborhub.live/community/features) | ||
- [Docusaurus Documentation](https://docusaurus.io/docs/create-doc) | ||
- [React.js Documentation](https://legacy.reactjs.org/docs/getting-started.html) | ||
- [Markdown Guide](https://www.markdownguide.org/) | ||
- [MDX Documentation](https://mdxjs.com/docs/) | ||
- [Mermaid Documentation](https://mermaid.js.org/) | ||
|
||
**Resources for DSA Features on Our Site:** | ||
|
||
- Tabs: [Switch Languages](https://www.codeharborhub.live/community/features#multi-language-support-code-blocks) | ||
- [Line Numbering](https://www.codeharborhub.live/community/features#line-numbering) | ||
- [Math Equations](https://www.codeharborhub.live/community/features#math-equations-with-katex) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
name: Auto Comment on PR Merge | ||
|
||
on: | ||
pull_request: | ||
types: [closed] | ||
|
||
jobs: | ||
comment: | ||
if: github.event.pull_request.merged == true | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Comment on merged PR | ||
uses: actions/github-script@v6 | ||
with: | ||
github-token: ${{ secrets.GITHUB_TOKEN }} | ||
script: | | ||
const pr = context.payload.pull_request; | ||
const comment = `🎉 Congratulations @${pr.user.login}! Your pull request has been merged. Thank you for your contribution to the project.`; | ||
github.rest.issues.createComment({ | ||
issue_number: pr.number, | ||
owner: context.repo.owner, | ||
repo: context.repo.repo, | ||
body: comment | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 0 additions & 2 deletions
2
courses/react-js/advanced-level/advanced-react-concepts/Component.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
import React from "react"; | ||
|
||
import withLogger from "./withLogger"; | ||
|
||
const Component = ({ message }) => { | ||
|
2 changes: 0 additions & 2 deletions
2
courses/react-js/advanced-level/advanced-react-concepts/withLogger.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 6 additions & 0 deletions
6
courses/react-js/advanced-level/component-optimization/MemoizationExample.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 0 additions & 1 deletion
1
courses/react-js/advanced-level/component-optimization/VirtualizationExample.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
courses/react-js/begginer-level/building-user-interfaces/IfElseExample.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 0 additions & 2 deletions
2
courses/react-js/begginer-level/building-user-interfaces/KeyPropExample.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
import React from "react"; | ||
|
||
function KeyPropExample() { | ||
const items = [ | ||
{ id: 1, name: "Apple" }, | ||
|
2 changes: 0 additions & 2 deletions
2
courses/react-js/begginer-level/building-user-interfaces/ListExample.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
import React from "react"; | ||
|
||
function ListExample() { | ||
const items = ["Apple", "Banana", "Cherry", "Date"]; | ||
|
||
|
2 changes: 1 addition & 1 deletion
2
courses/react-js/begginer-level/building-user-interfaces/TernaryOperatorExample.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
courses/react-js/begginer-level/building-your-first-react-app/Counter.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 0 additions & 2 deletions
2
courses/react-js/begginer-level/building-your-first-react-app/WelcomeMessage.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
import React from "react"; | ||
|
||
function WelcomeMessage() { | ||
return <div>Welcome to React!</div>; | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
courses/react-js/begginer-level/introduction-to-forms/FormComponent.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
courses/react-js/begginer-level/working-with-components-and-data/ChangeEventExample.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
courses/react-js/begginer-level/working-with-components-and-data/ComplexStateExample.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
courses/react-js/begginer-level/working-with-components-and-data/SubmitEventExample.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
courses/react-js/intermidiate-level/handling-data-flow/Content.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
courses/react-js/intermidiate-level/handling-data-flow/Header.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 0 additions & 1 deletion
1
courses/react-js/intermidiate-level/handling-data-flow/ReduxApp/Counter.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 0 additions & 1 deletion
1
courses/react-js/intermidiate-level/handling-data-flow/ReduxApp/index.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
courses/react-js/intermidiate-level/handling-data-flow/ThemeContext.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 0 additions & 19 deletions
19
courses/react-js/intermidiate-level/managing-complex-uis/App.js
This file was deleted.
Oops, something went wrong.
12 changes: 0 additions & 12 deletions
12
courses/react-js/intermidiate-level/managing-complex-uis/ChildComponent.js
This file was deleted.
Oops, something went wrong.
14 changes: 0 additions & 14 deletions
14
courses/react-js/intermidiate-level/managing-complex-uis/ParentComponent.js
This file was deleted.
Oops, something went wrong.
52 changes: 0 additions & 52 deletions
52
courses/react-js/intermidiate-level/managing-complex-uis/TodoApp.js
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.