├── .github
└── workflows
│ ├── codeql-analysis.yml
│ └── rebase.yaml
├── CODE_OF_CONDUCT.md
├── CONTRIBUTING.md
├── LICENSE
├── README.md
├── codecov.yml
└── contribution-app
├── .gitignore
├── README.md
├── craco.config.js
├── package-lock.json
├── package.json
├── public
├── favicon.ico
├── hacktoberfest.svg
├── index.html
├── manifest.json
└── robots.txt
├── src
├── App.css
├── App.js
├── components
│ ├── About.jsx
│ ├── Contact.jsx
│ ├── Content.jsx
│ ├── Footer.jsx
│ ├── Images
│ │ ├── FP1.png
│ │ ├── FP2.png
│ │ └── MP1.png
│ ├── Navbar.css
│ ├── Navbar.jsx
│ ├── Profilecard.css
│ ├── Profilecard.jsx
│ └── logo.svg
├── hook
│ └── useDarkMode.js
├── index.css
└── index.js
└── tailwind.config.js
/.github/workflows/codeql-analysis.yml:
--------------------------------------------------------------------------------
1 | # For most projects, this workflow file will not need changing; you simply need
2 | # to commit it to your repository.
3 | #
4 | # You may wish to alter this file to override the set of languages analyzed,
5 | # or to provide custom queries or build logic.
6 | #
7 | # ******** NOTE ********
8 | # We have attempted to detect the languages in your repository. Please check
9 | # the `language` matrix defined below to confirm you have the correct set of
10 | # supported CodeQL languages.
11 | #
12 | name: "CodeQL"
13 |
14 | on:
15 | push:
16 | branches: [ main ]
17 | pull_request:
18 | # The branches below must be a subset of the branches above
19 | branches: [ main ]
20 | schedule:
21 | - cron: '22 1 * * 1'
22 |
23 | jobs:
24 | analyze:
25 | name: Analyze
26 | runs-on: ubuntu-latest
27 | permissions:
28 | actions: read
29 | contents: read
30 | security-events: write
31 |
32 | strategy:
33 | fail-fast: false
34 | matrix:
35 | language: [ 'javascript' ]
36 | # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]
37 | # Learn more about CodeQL language support at https://git.io/codeql-language-support
38 |
39 | steps:
40 | - name: Checkout repository
41 | uses: actions/checkout@v2
42 |
43 | # Initializes the CodeQL tools for scanning.
44 | - name: Initialize CodeQL
45 | uses: github/codeql-action/init@v1
46 | with:
47 | languages: ${{ matrix.language }}
48 | # If you wish to specify custom queries, you can do so here or in a config file.
49 | # By default, queries listed here will override any specified in a config file.
50 | # Prefix the list here with "+" to use these queries and those in the config file.
51 | # queries: ./path/to/local/query, your-org/your-repo/queries@main
52 |
53 | # Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
54 | # If this step fails, then you should remove it and run the build manually (see below)
55 | - name: Autobuild
56 | uses: github/codeql-action/autobuild@v1
57 |
58 | # ℹ️ Command-line programs to run using the OS shell.
59 | # 📚 https://git.io/JvXDl
60 |
61 | # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
62 | # and modify them (or add more) to build your code if your project
63 | # uses a compiled language
64 |
65 | #- run: |
66 | # make bootstrap
67 | # make release
68 |
69 | - name: Perform CodeQL Analysis
70 | uses: github/codeql-action/analyze@v1
71 |
--------------------------------------------------------------------------------
/.github/workflows/rebase.yaml:
--------------------------------------------------------------------------------
1 | name: Automatic Rebase
2 | on:
3 | issue_comment:
4 | types: [created]
5 | jobs:
6 | rebase:
7 | name: Rebase
8 | if: github.event.issue.pull_request != '' && contains(github.event.comment.body, '/rebase')
9 | runs-on: ubuntu-latest
10 | steps:
11 | - name: Checkout the latest code
12 | uses: actions/checkout@v2
13 | with:
14 | token: ${{ secrets.GITHUB_TOKEN }}
15 | fetch-depth: 0
16 | - name: Automatic Rebase
17 | uses: cirrus-actions/rebase@1.4
18 | env:
19 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
20 |
--------------------------------------------------------------------------------
/CODE_OF_CONDUCT.md:
--------------------------------------------------------------------------------
1 | # Contributor Covenant Code of Conduct
2 |
3 | ## Our Pledge
4 |
5 | In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, sex characteristics, gender identity and expression, level of experience, education, socio-economic status, nationality, personal appearance, race, religion, or sexual identity and orientation.
6 |
7 | ## Our Standards
8 |
9 | Examples of behavior that contributes to creating a positive environment include:
10 |
11 | - Using welcoming and inclusive language
12 | - Being respectful of differing viewpoints and experiences
13 | - Gracefully accepting constructive criticism
14 | - Focusing on what is best for the community
15 | - Showing empathy towards other community members
16 |
17 | Examples of unacceptable behavior by participants include:
18 |
19 | - The use of sexualized language or imagery and unwelcome sexual attention or advances
20 | - Trolling, insulting/derogatory comments, and personal or political attacks
21 | - Public or private harassment
22 | - Publishing others' private information, such as a physical or electronic address, without explicit permission
23 | - Other conduct which could reasonably be considered inappropriate in a professional setting
24 |
25 | ## Our Responsibilities
26 |
27 | Project maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response to any instances of unacceptable behavior.
28 |
29 | Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.
30 |
31 | ## Scope
32 |
33 | This Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.
34 |
35 |
36 | ### Attribution
37 | This Code of Conduct is adapted from the Contributor Covenant, version 1.4, available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html
38 |
39 | For answers to common questions about this code of conduct, see https://www.contributor-covenant.org/faq
--------------------------------------------------------------------------------
/CONTRIBUTING.md:
--------------------------------------------------------------------------------
1 | ## Contribution Guidelines
2 |
3 | [](https://github.com//Buddhad/Contribution_Website/compare) [](https://github.com/Buddhad/Contribution_Website/graphs/contributors) [](https://github.com/Buddhad/)
4 |
5 | - Write clear meaningful git commit messages (Do read [this](http://chris.beams.io/posts/git-commit/)).
6 |
7 | - Make sure your PR's description contains GitHub's special keyword references that automatically close the related issue when the PR is merged. (Check [this](https://github.com/blog/1506-closing-issues-via-pull-requests) for more info)
8 |
9 | - When you make very very minor changes to a PR of yours (like for example fixing a text in button, minor changes requested by reviewers) make sure you squash your commits afterward so that you don't have an absurd number of commits for a very small fix. (Learn how to squash at [here](https://davidwalsh.name/squash-commits-git))
10 |
11 | - When you're submitting a PR for a UI-related issue, it would be really awesome if you add a screenshot of your change or a link to a deployment where it can be tested out along with your PR. It makes it very easy for the reviewers and you'll also get reviews quicker.
12 |
13 |
14 | - Always create PR to `develop` branch.
15 |
16 | - Please read our [Code of Conduct](./CODE_OF_CONDUCT.md).
17 |
18 |
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | MIT License
2 |
3 | Copyright (c) 2021 Buddhadeb Chhetri
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # Contribution_Website
2 | Contribution Website for all the Hackoberfest21 Participant
3 |
4 |
44 |
45 |
46 |
47 | ## **Getting Started**
48 |
49 | For the quick start, you can follow the steps below:
50 |
51 | 1. Star this repository.
52 | 2. Fork this repository.
53 | 3. Clone the **forked** repository.
54 |
55 | ```yml
56 | git clone https://github.com//Contribution_Website.git
57 | ```
58 | 3. Navigate to the project directory.
59 |
60 | ```py
61 | cd contribution-app
62 | ```
63 |
64 | 4. Create a new branch.
65 |
66 | ```yml
67 | git checkout -b
68 | ```
69 |
70 | Run the following command to install the required dependencies.
71 |
72 | 1. `npm install` - install the required dependencies
73 | 2. `npm start` - start the development server
74 | 3. Open http://localhost:8000 in your browser
75 |
76 | 4. [Contribute](./CONTRIBUTING.md)
77 | 5. Stage your changes and commit
78 |
79 | ```css
80 | git add -a
81 |
82 | git commit -m ""
83 | ```
84 |
85 | 6. Push your local commits to the remote repo.
86 |
87 | ```yml
88 | git push -u origin
89 | ```
90 |
91 | 7. Create a Pull-Request to `main`.
92 |
93 | 8. Congratulations! 🎉 you've made your contribution to Contribution Website. ✌️ ❤️ 💥
94 |
95 |
Contributing
96 |
97 | Thank you for your interest in contributing to our Repo! Pull requests are welcome. For fixing typos, please make a PR with your fixes. For other contributions, we suggest you to read our contribution guidelines to see how you can contribute to this project. We are happy for every contribution.
98 |
99 |
100 |
101 |
Issues & Pull Requests
102 |
103 | Before making pull requests please look at our contributing guidelines. You can start working on the issue which are mentioned in issues section. Just drop a comment before working on the issue. Thank you!
104 |
105 |
License
106 |
107 | The **code** is this repo is licensed under the MIT license. Feel free to use and share it as per the license.
108 |
109 |
110 |
111 | # ✨ Contributors
112 |
113 |
114 |
115 |
116 |
117 |
118 |
119 |
120 |
--------------------------------------------------------------------------------
/codecov.yml:
--------------------------------------------------------------------------------
1 | CODECOV_TOKEN='12dff50d-93da-4e6c-b08b-9ac82a4dbf3b'
2 |
--------------------------------------------------------------------------------
/contribution-app/.gitignore:
--------------------------------------------------------------------------------
1 | # See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
2 |
3 | # dependencies
4 | /node_modules
5 | /.pnp
6 | .pnp.js
7 | .vscode
8 | # testing
9 | /coverage
10 |
11 | # production
12 | /build
13 |
14 | # misc
15 | .DS_Store
16 | .env.local
17 | .env.development.local
18 | .env.test.local
19 | .env.production.local
20 |
21 | npm-debug.log*
22 | yarn-debug.log*
23 | yarn-error.log*
24 |
--------------------------------------------------------------------------------
/contribution-app/README.md:
--------------------------------------------------------------------------------
1 | # Getting Started with Create React App
2 |
3 | This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).
4 |
5 | ## Available Scripts
6 |
7 | In the project directory, you can run:
8 |
9 | ### `yarn start`
10 |
11 | Runs the app in the development mode.\
12 | Open [http://localhost:3000](http://localhost:3000) to view it in the browser.
13 |
14 | The page will reload if you make edits.\
15 | You will also see any lint errors in the console.
16 |
17 | ### `yarn test`
18 |
19 | Launches the test runner in the interactive watch mode.\
20 | See the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information.
21 |
22 | ### `yarn build`
23 |
24 | Builds the app for production to the `build` folder.\
25 | It correctly bundles React in production mode and optimizes the build for the best performance.
26 |
27 | The build is minified and the filenames include the hashes.\
28 | Your app is ready to be deployed!
29 |
30 | See the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information.
31 |
32 | ### `yarn eject`
33 |
34 | **Note: this is a one-way operation. Once you `eject`, you can’t go back!**
35 |
36 | If you aren’t satisfied with the build tool and configuration choices, you can `eject` at any time. This command will remove the single build dependency from your project.
37 |
38 | Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except `eject` will still work, but they will point to the copied scripts so you can tweak them. At this point you’re on your own.
39 |
40 | You don’t have to ever use `eject`. The curated feature set is suitable for small and middle deployments, and you shouldn’t feel obligated to use this feature. However we understand that this tool wouldn’t be useful if you couldn’t customize it when you are ready for it.
41 |
42 | ## Learn More
43 |
44 | You can learn more in the [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started).
45 |
46 | To learn React, check out the [React documentation](https://reactjs.org/).
47 |
48 | ### Code Splitting
49 |
50 | This section has moved here: [https://facebook.github.io/create-react-app/docs/code-splitting](https://facebook.github.io/create-react-app/docs/code-splitting)
51 |
52 | ### Analyzing the Bundle Size
53 |
54 | This section has moved here: [https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size](https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size)
55 |
56 | ### Making a Progressive Web App
57 |
58 | This section has moved here: [https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app](https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app)
59 |
60 | ### Advanced Configuration
61 |
62 | This section has moved here: [https://facebook.github.io/create-react-app/docs/advanced-configuration](https://facebook.github.io/create-react-app/docs/advanced-configuration)
63 |
64 | ### Deployment
65 |
66 | This section has moved here: [https://facebook.github.io/create-react-app/docs/deployment](https://facebook.github.io/create-react-app/docs/deployment)
67 |
68 | ### `yarn build` fails to minify
69 |
70 | This section has moved here: [https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify](https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify)
71 |
--------------------------------------------------------------------------------
/contribution-app/craco.config.js:
--------------------------------------------------------------------------------
1 | // craco.config.js
2 | module.exports = {
3 | style: {
4 | postcss: {
5 | plugins: [require("tailwindcss"), require("autoprefixer")],
6 | },
7 | },
8 | };
9 |
--------------------------------------------------------------------------------
/contribution-app/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "contribution-app",
3 | "version": "0.1.0",
4 | "private": true,
5 | "dependencies": {
6 | "@craco/craco": "^6.3.0",
7 | "@testing-library/jest-dom": "^5.11.4",
8 | "@testing-library/react": "^11.1.0",
9 | "@testing-library/user-event": "^12.1.10",
10 | "daisyui": "^1.14.2",
11 | "react": "^17.0.2",
12 | "react-dom": "^17.0.2",
13 | "react-icons": "^4.2.0",
14 | "react-router-dom": "^5.3.0",
15 | "react-scripts": "4.0.3",
16 | "react-spinners": "^0.11.0",
17 | "web-vitals": "^1.0.1"
18 | },
19 | "scripts": {
20 | "start": "craco start",
21 | "build": "CI='' craco build",
22 | "test": "craco test",
23 | "eject": "react-scripts eject"
24 | },
25 | "eslintConfig": {
26 | "extends": [
27 | "react-app",
28 | "react-app/jest"
29 | ]
30 | },
31 | "browserslist": {
32 | "production": [
33 | ">0.2%",
34 | "not dead",
35 | "not op_mini all"
36 | ],
37 | "development": [
38 | "last 1 chrome version",
39 | "last 1 firefox version",
40 | "last 1 safari version"
41 | ]
42 | },
43 | "devDependencies": {
44 | "autoprefixer": "^9.8.7",
45 | "follow-redirects": ">=1.14.8",
46 | "node-forge": ">=1.3.0",
47 | "nth-check": ">=2.0.1",
48 | "immer": ">=9.0.6",
49 | "postcss": "^8.2.13",
50 | "nanoid": ">=3.1.31",
51 | "ansi-html": "^0.0.8",
52 | "ansi-html-community": "^0.0.8",
53 | "tailwindcss": "npm:@tailwindcss/postcss7-compat@^2.2.16"
54 | }
55 | }
56 |
--------------------------------------------------------------------------------
/contribution-app/public/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Buddhad/Contribution_Website/2da3d50374c116a2ed5af2c7519dac5c8ef1a192/contribution-app/public/favicon.ico
--------------------------------------------------------------------------------
/contribution-app/public/hacktoberfest.svg:
--------------------------------------------------------------------------------
1 |
40 |
--------------------------------------------------------------------------------
/contribution-app/public/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
12 |
13 |
17 |
18 |
27 | Hacktoberfest React App
28 |
29 |
30 |
31 |
32 |
33 |
39 |
40 |
41 |
--------------------------------------------------------------------------------
/contribution-app/public/manifest.json:
--------------------------------------------------------------------------------
1 | {
2 | "short_name": "React App",
3 | "name": "Create React App Sample",
4 | "icons": [
5 | {
6 | "src": "favicon.ico",
7 | "sizes": "64x64 32x32 24x24 16x16",
8 | "type": "image/x-icon"
9 | },
10 | {
11 | "src": "logo192.png",
12 | "type": "image/png",
13 | "sizes": "192x192"
14 | },
15 | {
16 | "src": "logo512.png",
17 | "type": "image/png",
18 | "sizes": "512x512"
19 | }
20 | ],
21 | "start_url": ".",
22 | "display": "standalone",
23 | "theme_color": "#000000",
24 | "background_color": "#ffffff"
25 | }
26 |
--------------------------------------------------------------------------------
/contribution-app/public/robots.txt:
--------------------------------------------------------------------------------
1 | # https://www.robotstxt.org/robotstxt.html
2 | User-agent: *
3 | Disallow:
4 |
--------------------------------------------------------------------------------
/contribution-app/src/App.css:
--------------------------------------------------------------------------------
1 | .contributor {
2 | font-size: 20px;
3 | font-weight: bold;
4 | margin-bottom: 10px;
5 | }
6 | .borderRad {
7 | border-radius: 50%;
8 | }
9 | .app {
10 | display: flex;
11 | flex-direction: column;
12 | }
13 | .splash {
14 | display: flex;
15 | justify-content: center;
16 | align-items: center;
17 | margin: auto;
18 | width: auto;
19 | flex-direction: column;
20 | text-align: center;
21 | }
22 | .splash img {
23 | margin-top: 4rem;
24 | margin-bottom: 4rem;
25 | }
26 |
--------------------------------------------------------------------------------
/contribution-app/src/App.js:
--------------------------------------------------------------------------------
1 | import "./App.css";
2 | import React, { useState, useEffect } from "react";
3 | import PropagateLoader from "react-spinners/PropagateLoader";
4 | import Navbar from "./components/Navbar";
5 | import Content from "./components/Content";
6 | import { Route } from "react-router";
7 | import Contact from "./components/Contact";
8 | import About from "./components/About";
9 | import Footer from "./components/Footer";
10 |
11 | const App = () => {
12 | // Loading state
13 | const [isLoading, setIsLoading] = useState(true);
14 |
15 | useEffect(() => {
16 | // Wait for 3 seconds
17 | setTimeout(() => {
18 | setIsLoading(false);
19 | }, 3000);
20 | }, []);
21 |
22 | return isLoading ? (
23 | // If page is still loading then splash screen
24 |
Hacktoberfest is our month-long celebration of the open-source community. During the month of October, we invite you to join open-source software enthusiasts, beginners, and the developer community by contributing to open-source projects. You can do this in a variety of ways:
11 |
12 |
1. Prepare and share your project for collaboration
13 |
2. Contribute to the betterment of a project via pull request
14 |
3. Organize an event
15 |
4. Mentor others
16 |
5. Donate directly to open source projects
17 |
18 |
19 |
For more rules and information regarding this event, please take a look at their official website.