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

Moving changes from main to deployment #70

Merged
merged 23 commits into from
Jan 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
fd75320
Add lazy loading attribute for image HTML elements
agriyakhetarpal Aug 19, 2023
b044df9
Merge pull request #54 from rbjks/lazy-load-images
adityaraute Aug 22, 2023
4b4fefe
This commit fixes #39 (#41)
Kapoor-0905 Dec 25, 2023
2d24b9f
Implemented a responsive grid gallery that gets images from a json fi…
cmmutale Dec 26, 2023
f4d70e8
Update PULL_REQUEST_TEMPLATE.MD
adityaraute Dec 26, 2023
1d3d908
Delete PULL_REQUEST_TEMPLATE.md
adityaraute Dec 26, 2023
a4cbfac
Fixed typos
adityaraute Dec 27, 2023
6c3d953
Change navbar and body text color to white (#60)
BulumkoJele Dec 27, 2023
b40482e
Prettier workflow merging (#62)
adityaraute Dec 28, 2023
4aa0339
Prettified Code!
adityaraute Dec 28, 2023
28affca
CSS: fix font color on contacts page (#66)
ctrl07 Dec 28, 2023
996b91a
Create SECURITY.md
adityaraute Dec 28, 2023
de64e61
Footer Fixed by changing CSS (#71)
miyannishar Jan 5, 2024
2b101b4
Updated Favicon (#73)
SaiPreethamReddyy Jan 6, 2024
bad1041
Uniformity restored in bug report issue template (#76)
tmsagarofficial Jan 8, 2024
def07bf
feat: add Prettier (#72)
b-mendoza Jan 8, 2024
37b99d4
Added checkbox for issue template (#79)
Bashamega Jan 9, 2024
21122fe
Change logo on all pages
letsmailvjkumar Jan 11, 2024
e811087
Added links to the logo (#86)
Bashamega Jan 11, 2024
0c5da10
Delete gallery.html
adityaraute Jan 11, 2024
2dbe645
Convert all Issue Templates to Issue Forms #81 (#89)
Latish705 Jan 13, 2024
2d46ea4
Add media queries for contact page (#90)
letsmailvjkumar Jan 15, 2024
9b1f8ed
Merge branch 'deployment' of https://github.com/rbjks/rbjks.github.io…
adityaraute Jan 19, 2024
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
38 changes: 0 additions & 38 deletions .github/ISSUE_TEMPLATE/bug_report.md

This file was deleted.

54 changes: 54 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
name: 🐞 Bug
description: File a bug/issue
title: "[BUG]: <title>"
labels: [Bug, Needs Triage]
body:
- type: checkboxes
attributes:
label: Is there an existing issue for this?
description: Please search to see if an issue already exists for the bug you encountered.
options:
- label: I have searched the existing issues
required: true
- type: textarea
attributes:
label: Current Behavior
description: A concise description of what you're experiencing.
validations:
required: true
- type: textarea
attributes:
label: Expected Behavior
description: A concise description of what you expected to happen.
validations:
required: false
- type: textarea
attributes:
label: Steps To Reproduce
description: Steps to reproduce the behavior.
placeholder: |
1. In this environment...
2. With this config...
3. Run '...'
4. See error...
validations:
required: true
- type: textarea
attributes:
label: Anything else?
description: |
Links? References? Anything that will give us more context about the issue you are encountering!

Tip: You can attach images or log files by clicking this area to highlight it and then dragging files in.
validations:
required: false
- type: dropdown
id: browsers
attributes:
label: What browsers are you seeing the problem on?
multiple: true
options:
- Firefox
- Chrome
- Safari
- Microsoft Edge
55 changes: 55 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
name: 💡 General Feature Request
description: Have a new idea/feature for rbjks? Let us know...
title: "[FEATURE]: <description>"
labels: ["enhancement"]
body:
- type: checkboxes
id: duplicates
attributes:
label: Is this a unique feature?
description: Increase the chances of your issue being accepted by making sure it has not been raised before.
options:
- label: I have checked "open" AND "closed" issues and this is not a duplicate
required: true
- type: textarea
attributes:
label: Is your feature request related to a problem/unavailable functionality? Please describe.
description: A clear and concise description of what the problem is (for example "I'm always frustrated when [...]").
validations:
required: true
- type: textarea
id: description
attributes:
label: Proposed Solution
description: A clear description of the enhancement you propose. Please include relevant information and resources (for example another project's implementation of this feature).
validations:
required: true
- type: textarea
id: screenshots
attributes:
label: Screenshots
description: Please add screenshots of the before and/or after the proposed changes.
validations:
required: false
- type: dropdown
id: assignee
attributes:
label: Do you want to work on this issue?
multiple: false
options:
- "No"
- "Yes"
default: 0
validations:
required: false
- type: textarea
id: extrainfo
attributes:
label: If "yes" to above, please explain how you would technically implement this
description: For example reference any existing code
validations:
required: false
- type: markdown
attributes:
value: |
You can also join our Discord community [here]
20 changes: 0 additions & 20 deletions .github/ISSUE_TEMPLATE/feature_request.md

This file was deleted.

40 changes: 32 additions & 8 deletions .github/PULL_REQUEST_TEMPLATE.MD
Original file line number Diff line number Diff line change
@@ -1,13 +1,37 @@
<!--- Provide a general summary of your changes in the Title above -->

## Motivation and Context

<!--- Why is this change required? What problem does it solve? -->
<!--- If it fixes an open issue, please link to the issue here. -->

Fixes #

Changes proposed
## Description

<!--- Describe your changes in detail -->

## How Has This Been Tested?

<!--- Please describe in detail how you tested your changes. -->
<!--- Include details of your testing environment, the tests you ran to -->
<!--- see how your change affects other areas of the code, etc. -->

## Screenshots (if appropriate):

## Types of Changes

<!--- What types of changes does your code introduce? Put an `x` in all the boxes that apply: -->

- [ ] Bug fix (non-breaking change that fixes an issue)
- [ ] New feature (non-breaking change that adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

-
-
-
## Checklist:

Test Methodology and Results
<!--- Go over all the following points, and put an `x` in all the boxes that apply. -->
<!--- If you're unsure about any of these, don't hesitate to ask. We're here to help! -->

-
-
-
- [ ] My code follows the code style of this project.
- [ ] My change requires a change to the documentation.
- [ ] I have updated the documentation accordingly.
34 changes: 34 additions & 0 deletions .github/workflows/prettify.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Prettier Action

on: push

jobs:
prettier:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
ref: ${{ github.head_ref }}
# Make sure the value of GITHUB_TOKEN will not be persisted in repo's config
persist-credentials: false

- name: Commit URL
run: git remote set-url origin https://github-actions:${{github.token}}@github.com/rbjks/rbjks.github.io.git

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: lts/*
cache: npm

- name: Install Dependencies
run: npm ci

- name: Prettify Code
uses: creyD/[email protected]
with:
dry: false
github_token: ${{ secrets.PERSONAL_GITHUB_TOKEN }}
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
node_modules
4 changes: 4 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

npx lint-staged
3 changes: 3 additions & 0 deletions .lintstagedrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
export default {
'*': 'prettier --ignore-unknown --write',
};
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
save-exact=true
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
20.10.0
2 changes: 2 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
node_modules
package-lock.json
7 changes: 7 additions & 0 deletions .prettierrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
// @ts-check

/** @type {import("prettier").Config} */
export default {
singleQuote: true,
plugins: ['prettier-plugin-packagejson'],
};
26 changes: 14 additions & 12 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,51 +1,46 @@
# Contributing Guidelines

First of all thanks for spending your time to contribute or showing interest to contribute to this project :smiley:
First of all thanks for spending your time to contribute or showing interest to contribute to this project :smiley:

This documentation contains a set of `Guidelines` and `Steps` to help you during the contribution process.



# 🔑 Guidelines for contributing :

Here are some set of guidelines to follow while contributing to `rbjks.github.io` :

1. Welcome to this repository, if you are here as an open-source program participant/contributor.
2. Participants/contributors have to **comment** on issues they would like to work on, and mentors or the maintainers will assign you.
3. Issues will be assigned on a **first-come, first-serve basis.**
4. Participants/contributors can also **open their issues**, but it needs to be verified and labelled by a mentor. We respect all your contributions, whether it is an Issue or a Pull Request.
5. Please check if the issue you want to is already listed, If its **already listed** chat in the comments to figure out whether someone is working on it or not, If issue is not listed then you can raise an issue, make sure you get it **assigned** to you before you start working on that project.A
4. Participants/contributors can also **open their issues**. We respect all your contributions, whether it is an Issue or a Pull Request.
5. Please check if the issue you want to is already listed, If its **already listed**, chat in the comments to figure out whether someone is working on it or not. If issue is not listed then you can raise an issue, make sure you get it **assigned** to you before you start working on that project.
6. Please don't pick up an issue already assigned to someone else. Work on the issues after it gets **assigned to you**.
7. Create your file in an appropriate folder with appropriate name and extension.
8. Pull requests will be merged after appropriate reviews.
9. We all are here to learn. You are allowed to make mistakes. That's how you learn, right!.




# ▶️ Steps for contributing :

## Fork this repository

<img align="right" width="300" alt="image" src="https://user-images.githubusercontent.com/110724849/230174676-887cfddf-0c2d-4811-9aa1-0758af091c6b.png">

<br>
Fork this repository by clicking on the fork button on the top of this page.
This will create a copy of this repository in your account.


## Clone This Repository

<img align="right" width="200" src="https://user-images.githubusercontent.com/110724849/230175272-c713e91d-f5bf-4cc3-8e37-b36f5d6881fb.png">

Now clone the forked repository to your machine.
Now clone the forked repository to your machine.
Go to your GitHub account, open the forked repository, click on the code button and then click the copy to clipboard icon.


Open a terminal and run the following git command:

```
git clone https://github.com/<Your-Github-username>/rbjks.github.io.git
```


## Create a branch

Change to the repository directory on your computer (if you are not already there):
Expand All @@ -67,23 +62,29 @@ git checkout -b add-new-feature
```

## Make necessary changes and commit those changes

If you go to the project directory and execute the command `git status`, you'll see there are changes.

Add those changes to the branch you just created using the git add command:

```
git add .
```

Now commit those changes using the git commit command:

```
git commit -m "Your commit message"
```

## Push changes to GitHub

Push the changes to the forked repository using:

```
git push origin <Your-branch-name>
```

Navigate to the original fork of this repository on your profile and click on the branch you had committed to.
Then click on Contribute to create a Pull Request i.e create a PR on Github. (Don't just hit the create a pull request button, you must write a PR message to clarify why and what are you contributing)

Expand All @@ -92,6 +93,7 @@ Then click on Contribute to create a Pull Request i.e create a PR on Github. (Do
## Are you a beginner in using Github?

You can refer to the following articles on the basics of Git and Github and also contact me, in case you are stuck:

- [Forking a Repo](https://help.github.com/en/github/getting-started-with-github/fork-a-repo)
- [Cloning a Repo](https://help.github.com/en/desktop/contributing-to-projects/creating-an-issue-or-pull-request)
- [How to create a Pull Request](https://opensource.com/article/19/7/create-pull-request-github)
Expand Down
Loading