Skip to content

Commit

Permalink
Merge branch 'Kritika30032002:main' into messenger
Browse files Browse the repository at this point in the history
  • Loading branch information
praptisharma28 authored Jan 31, 2024
2 parents 07492e4 + abb69cd commit 0218480
Show file tree
Hide file tree
Showing 77 changed files with 18,470 additions and 1 deletion.
38 changes: 38 additions & 0 deletions .github/ISSUE_TEMPLATE copy/bug_report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: Bug 🐞
description: Report an issue to help us improve the project.
title: "[Bug] <write a small description here>"
body:
- type: textarea
id: description
attributes:
label: Description
description: A brief description of the issue or bug you are facing, also include what you tried and what didn't work.
validations:
required: false

- type: textarea
id: screenshots
attributes:
label: Screenshots
description: Please add screenshots if applicable.
validations:
required: false

- type: checkboxes
id: no-duplicate-issues
attributes:
label: "Checklist"
options:
- label: "I have checked the existing issues."
required: true

- label: "I follow [Contributing Guidelines](https://github.com/Kritika30032002/ReactCreations/blob/main/contribution.md) of this project."
required: true

- type: question
id: specific-program
attributes:
label: "Do you contribute under a specific program?"
description: "If yes, please mention the program. If not, you can skip this question."
validations:
required: false
37 changes: 37 additions & 0 deletions .github/ISSUE_TEMPLATE copy/doc_report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Documentation Request 📃
description: Change regarding improving the docs to be more accessible
title: '[Docs]'
body:
- type: textarea
attributes:
label: Category of documentation update
description: |
What category does this change fall under. For example Typo error, New category addition, Rephrasing the sentences, fixing broken links etc.
validations:
required: true

- type: textarea
attributes:
label: Describe the change you think might work
description: Please describe the change & need of change in atmost detail possible.
validations:
required: false

- type: checkboxes
id: no-duplicate-issues
attributes:
label: "Checklist"
options:
- label: "I have checked the existing issues."
required: true

- label: "I follow [Contributing Guidelines](https://github.com/Kritika30032002/ReactCreations/blob/main/contribution.md) of this project."
required: true

- type: question
id: specific-program
attributes:
label: "Do you contribute under a specific program?"
description: "If yes, please mention the program. If not, you can skip this question."
validations:
required: false
38 changes: 38 additions & 0 deletions .github/ISSUE_TEMPLATE copy/feature_request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: Feature Request 💡
description: Have any new idea or new feature? Please suggest!
title: "[Feature] <write a small description here>"
body:
- type: textarea
id: description
attributes:
label: Description
description: A clear and concise description of any alternative solution or features you've considered.
validations:
required: true

- type: textarea
id: screenshots
attributes:
label: Screenshots
description: Please add screenshots if applicable.
validations:
required: false

- type: checkboxes
id: no-duplicate-issues
attributes:
label: "Checklist"
options:
- label: "I have checked the existing issues."
required: true

- label: "I follow [Contributing Guidelines](https://github.com/Kritika30032002/ReactCreations/blob/main/contribution.md) of this project."
required: true

- type: question
id: specific-program
attributes:
label: "Do you contribute under a specific program?"
description: "If yes, please mention the program. If not, you can skip this question."
validations:
required: false
42 changes: 42 additions & 0 deletions .github/ISSUE_TEMPLATE copy/other.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: Other 🤔
description: Use this for any other issues. PLEASE do not create blank issues
title: "[Other]"
body:
- type: markdown
attributes:
value: "# Other issue"

- type: textarea
id: issuedescription
attributes:
label: What would you like to share?
description: Provide a clear and concise explanation of your issue.
validations:
required: true

- type: textarea
id: extrainfo
attributes:
label: Additional information
description: Is there anything else we should know about this issue?
validations:
required: false

- type: checkboxes
id: no-duplicate-issues
attributes:
label: "Checklist"
options:
- label: "I have checked the existing issues."
required: true

- label: "I follow [Contributing Guidelines](https://github.com/Kritika30032002/ReactCreations/blob/main/contribution.md) of this project."
required: true

- type: question
id: specific-program
attributes:
label: "Do you contribute under a specific program?"
description: "If yes, please mention the program. If not, you can skip this question."
validations:
required: false
33 changes: 33 additions & 0 deletions .github/ISSUE_TEMPLATE copy/style.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Style Changing Request 👯‍♂️
description: Suggest a style design
title: '[Style]'
body:
- type: markdown
attributes:
value: |
Thanks for taking the time to fill out this template!
- type: textarea
id: style-idea
attributes:
label: What's the style idea?
placeholder: Add descriptions
value: 'We need to improve'

- type: checkboxes
id: no-duplicate-issues
attributes:
label: "Checklist"
options:
- label: "I have checked the existing issues."
required: true

- label: "I follow [Contributing Guidelines](https://github.com/Kritika30032002/ReactCreations/blob/main/contribution.md) of this project."
required: true

- type: question
id: specific-program
attributes:
label: "Do you contribute under a specific program?"
description: "If yes, please mention the program. If not, you can skip this question."
validations:
required: false
18 changes: 18 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Fixes Issue🛠️

<!-- Example: Closes #31 -->

Closes #

# Description👨‍💻

<!--Please include a summary of the change and which issue is fixed.List any dependencies that are required for this change.-->

# Checklist✅

- [] My code follows the style guidelines of this project
- [] I have performed a self-review of my own code
- [] I have added demonstration in the form of GIF/video file
- [] I am an Open Source Contributor

# Screenshots/GIF📷
42 changes: 42 additions & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: 'CodeQL'

on:
push:
branches: ['main']
pull_request:
branches: ['main']
schedule:
- cron: '19 19 * * 0'

jobs:
analyze:
name: Analyze
runs-on: ${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-latest' }}
timeout-minutes: ${{ (matrix.language == 'swift' && 120) || 360 }}
permissions:
actions: read
contents: read
security-events: write

strategy:
fail-fast: false
matrix:
language: ['javascript']

steps:
- name: Checkout repository
uses: actions/checkout@v4

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}

- name: Autobuild
uses: github/codeql-action/autobuild@v3

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
with:
category: '/language:${{matrix.language}}'
18 changes: 18 additions & 0 deletions .github/workflows/greetings.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: 'Greetings'

on:
issues:
types: [opened]
pull_request_target:
types: [opened]

jobs:
welcome:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: EddieHubCommunity/gh-action-community/src/welcome@main
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
issue-message: 'Congratulations, @${{ github.actor }}! 🎉 Thank you for creating your issue for ReactCreations project. Your contribution is greatly appreciated and we look forward to working with you to resolve the issue. Keep up the great work! Should you have any queries or require guidance, do not hesitate to ask.'
pr-message: 'Great job, @${{ github.actor }}! 🎉 Thank you for submitting your pull request for ReactCreations project. Our dedicated team will review it diligently.Your contribution is valuable and we appreciate your efforts to improve our project.'
15 changes: 15 additions & 0 deletions BMI_Calculator/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Ignore node_modules directory
node_modules/

# Ignore build output
build/

# Ignore IDE and editor files
.vscode/
.idea/

# Ignore environment-specific files
.env

# Ignore log files
*.log
34 changes: 34 additions & 0 deletions BMI_Calculator/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# BMI - Calculator

## Tech Stack

- React
- JavaScript
- HTML
- CSS

## How to Run the Code

To run the code, follow these steps:

1. Clone the repository.
2. Navigate to the project directory.
3. Install the dependencies by running the following command in your terminal:

```bash
npm install
```

4. Start the development server by running the following command:

```bash
npm start
```

5. Open your browser and visit `http://localhost:3000` to view the application.

## Demo Video

Check out the demo video below to see the BMI Calculator in action:

[![BMI Calculator Demo](https://youtu.be/WEU9jhG0hSE?si=4_XtXizDHEUxOh85/0.jpg)](https://youtu.be/WEU9jhG0hSE?si=4_XtXizDHEUxOh85)
28 changes: 28 additions & 0 deletions BMI_Calculator/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"name": "simple-bmi-calculatorreact",
"version": "1.0.0",
"description": "",
"keywords": [],
"main": "src/index.js",
"dependencies": {
"react": "17.0.2",
"react-dom": "17.0.2",
"react-scripts": "4.0.0"
},
"devDependencies": {
"@babel/runtime": "7.13.8",
"typescript": "4.1.3"
},
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test --env=jsdom",
"eject": "react-scripts eject"
},
"browserslist": [
">0.2%",
"not dead",
"not ie <= 11",
"not op_mini all"
]
}
20 changes: 20 additions & 0 deletions BMI_Calculator/public/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="theme-color" content="#000000">
<link rel="manifest" href="%PUBLIC_URL%/manifest.json">
<link rel="shortcut icon" href="%PUBLIC_URL%/favicon.ico">
<title>React App</title>
</head>

<body>
<noscript>
You need to enable JavaScript to run this app.
</noscript>
<div id="root"></div>
</body>

</html>
Loading

0 comments on commit 0218480

Please sign in to comment.