Skip to content
Open
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
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
21 changes: 21 additions & 0 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
module.exports = {
root: true,
env: { browser: true, es2020: true },
extends: [
'eslint:recommended',
'plugin:react/recommended',
'plugin:react/jsx-runtime',
'plugin:react-hooks/recommended',
],
ignorePatterns: ['dist', '.eslintrc.cjs'],
parserOptions: { ecmaVersion: 'latest', sourceType: 'module' },
settings: { react: { version: '18.2' } },
plugins: ['react-refresh'],
rules: {
'react/jsx-no-target-blank': 'off',
'react-refresh/only-export-components': [
'warn',
{ allowConstantExport: true },
],
},
}
24 changes: 24 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*

node_modules
dist
dist-ssr
*.local

# Editor directories and files
.vscode/*
!.vscode/extensions.json
.idea
.DS_Store
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?
35 changes: 35 additions & 0 deletions CONTRIBUTINIG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# Contribution and Add Review - Guidelines

1. `FORK the repo`
2. `Clone your forked repo`
3. Create new Branch
```
$ git checkout review/<your-name>
```
4. Go to `/src/review.js` you will get a array of objects `reviews`.
5. Copy the following object schema and replace the values
```
{
name: "Your Name", //string
rollno: "Your Roll No.", //string
rate: rating-Out-Of-5, //number
review: "Good Workshop", //string
improvements: [ //Array of Strings
"improvement 1",
"improvement 2"
],
},
```
You can leave the `improvements` blank like this `improvements: []`, if you have noting to say.
6. Add a new object in that `reviws` array.
7. ```
$ git add .
```
8. ```
$ git commit -m "Add your message"
```
9. ```
$ git push origin review/<your-name>
```
10. Go to your git hub and switch to the branch `review/<your-name>`
11. Create a pull request with a <your roll no> as title and <your name> in the description.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
# GIT_workshop
# <a href="technobyte.tech"> Technobyte </a>Presents
### Git and Github Workshop
13 changes: 13 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Technobyte | Workshops</title>
</head>
<body>
<div id="root"></div>
<script type="module" src="/src/main.jsx"></script>
</body>
</html>
Loading