From 7c7f960e3645b6c0d4798cfcc38f040cbbced49e Mon Sep 17 00:00:00 2001 From: Himanshu Agarwal Date: Thu, 4 Jul 2024 15:48:46 +0530 Subject: [PATCH 1/2] Added prettier for formatting codes --- .github/ISSUE_TEMPLATE/bug.yml | 52 +- .github/ISSUE_TEMPLATE/documentation.yml | 16 +- .github/ISSUE_TEMPLATE/feature.yml | 16 +- .github/workflows/greetings.yml | 2 +- .prettierrc | 6 + Contributing.md | 23 +- README.md | 56 +- assets/css/Footer-new.css | 242 +- assets/css/Miscellenous.css | 184 +- assets/css/blog.css | 434 +- assets/css/cart.css | 741 +- assets/css/darkmode.css | 108 +- assets/css/faq.css | 1021 +- assets/css/feedback.css | 1 - assets/css/fruites.css | 34 +- assets/css/index.css | 27 +- assets/css/oil-seeds.css | 34 +- assets/css/rateus.css | 94 +- assets/css/search.css | 154 +- assets/css/style.css | 4 +- assets/css/stylehome.css | 305 +- assets/css/stylesheet.css | 1013 +- assets/css/swiper-bundle.min.css | 632 +- assets/css/test-style.css | 276 +- assets/css/theme.css | 219 +- assets/css/vegitable.css | 183 +- assets/css/whykrishiconnect.css | 172 +- assets/fonts/font-awesome/font-awesome.css | 2751 +++++- assets/fonts/sb-bistro/sb-bistro.css | 166 +- assets/js/blog.js | 127 +- assets/js/blogsData.js | 504 +- assets/js/cart.js | 49 +- assets/js/checkout.js | 17 +- assets/js/darkmode.js | 24 +- assets/js/feedback.js | 10 +- assets/js/homescript.js | 97 +- assets/js/index.js | 55 +- assets/js/jquery-migrate.js | 378 +- assets/js/jquery.js | 5413 ++++++++++- assets/js/script.js | 134 +- assets/js/script1.js | 20 +- assets/js/search.js | 117 +- assets/js/shop.js | 80 +- assets/js/swiper-bundle.min.js | 6978 +++++++++++++- assets/js/test-script.js | 24 +- assets/js/theme.js | 229 +- assets/js/toast.js | 44 +- assets/js/transaction.js | 10 +- assets/js/wishlist.js | 41 +- .../bootstrap-touchspin.css | 30 +- .../bootstrap-touchspin.js | 472 +- assets/packages/bootstrap/bootstrap.css | 8329 ++++++++++++++++- assets/packages/bootstrap/bootstrap.js | 2617 +++++- assets/packages/bootstrap/libraries/popper.js | 1113 ++- assets/packages/cloudzoom/cloudzoom.css | 49 +- assets/packages/cloudzoom/cloudzoom.js | 819 +- assets/packages/o2system-ui/o2system-ui.css | 2229 ++++- assets/packages/o2system-ui/o2system-ui.js | 6203 +++++++++++- .../o2system-ui/scss/o2system-ui.scss | 2 +- .../scss/o2system-ui/_accordion.scss | 24 +- .../o2system-ui/scss/o2system-ui/_badge.scss | 28 +- .../scss/o2system-ui/_breadcrumbs.scss | 74 +- .../o2system-ui/scss/o2system-ui/_button.scss | 431 +- .../o2system-ui/scss/o2system-ui/_card.scss | 713 +- .../o2system-ui/scss/o2system-ui/_color.scss | 34 +- .../o2system-ui/scss/o2system-ui/_global.scss | 341 +- .../scss/o2system-ui/_jumbotron.scss | 55 +- .../o2system-ui/scss/o2system-ui/_nav.scss | 58 +- .../scss/o2system-ui/_offline.scss | 896 +- .../o2system-ui/scss/o2system-ui/_pace.scss | 176 +- .../scss/o2system-ui/_pricing.scss | 81 +- .../o2system-ui/scss/o2system-ui/_tab.scss | 375 +- .../scss/o2system-ui/_timeline.scss | 402 +- .../scss/o2system-ui/_utilities.scss | 38 +- assets/packages/owl-carousel/owl-carousel.css | 286 +- assets/packages/owl-carousel/owl-carousel.js | 1993 +++- assets/packages/thumbelina/thumbelina.css | 109 +- assets/packages/thumbelina/thumbelina.js | 213 +- assets/sass/_partials/_color.scss | 32 +- assets/sass/_partials/_footer.scss | 137 +- assets/sass/_partials/_global.scss | 277 +- assets/sass/_partials/_header.scss | 255 +- assets/sass/_partials/_landing.scss | 70 +- assets/sass/_partials/_login.scss | 20 +- assets/sass/_partials/_shop.scss | 205 +- assets/sass/theme.scss | 2 +- backend/server.js | 82 +- chatBot/script.js | 90 +- chatBot/style.css | 7 +- index.html | 2349 +++-- package-lock.json | 2003 ++-- package.json | 5 + src/about.html | 908 +- src/blog.html | 582 +- src/cart.html | 1165 ++- src/checkout.html | 857 +- src/common.html | 2 +- src/contact.html | 750 +- src/detail-product.html | 874 +- src/faq.html | 948 +- src/feedback.html | 712 +- src/fruites.html | 3697 ++++---- src/home.html | 1022 +- src/login.html | 1110 ++- src/miscellenous.html | 515 +- src/oil-seeds.html | 2328 +++-- src/rateus.html | 127 +- src/schemes.html | 893 +- src/setting.html | 824 +- src/shop.html | 4323 +++++---- src/success.html | 606 +- src/transaction.html | 861 +- src/vegetables.html | 547 +- src/wishlist.html | 818 +- 114 files changed, 63670 insertions(+), 17840 deletions(-) create mode 100644 .prettierrc diff --git a/.github/ISSUE_TEMPLATE/bug.yml b/.github/ISSUE_TEMPLATE/bug.yml index b6cd5115..75b21bcf 100644 --- a/.github/ISSUE_TEMPLATE/bug.yml +++ b/.github/ISSUE_TEMPLATE/bug.yml @@ -1,26 +1,26 @@ - name: "🐞 Bug Report" - description: "Create a report to help us improve" - title: "BUG:" - labels: ["Bug"] - 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: "What happened?" - description: "A concise description of what you're experiencing." - validations: - required: true - - type: checkboxes - attributes: - label: "Record" - options: - - label: "I agree to follow this project's Code of Conduct" - required: true - - label: "I'm a GSSOC'24 contributor" - - label: "I want to work on this issue" \ No newline at end of file +name: '🐞 Bug Report' +description: 'Create a report to help us improve' +title: 'BUG:' +labels: ['Bug'] +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: 'What happened?' + description: "A concise description of what you're experiencing." + validations: + required: true + - type: checkboxes + attributes: + label: 'Record' + options: + - label: "I agree to follow this project's Code of Conduct" + required: true + - label: "I'm a GSSOC'24 contributor" + - label: 'I want to work on this issue' diff --git a/.github/ISSUE_TEMPLATE/documentation.yml b/.github/ISSUE_TEMPLATE/documentation.yml index 636ab47c..74dffe48 100644 --- a/.github/ISSUE_TEMPLATE/documentation.yml +++ b/.github/ISSUE_TEMPLATE/documentation.yml @@ -1,26 +1,26 @@ -name: "📑 Documentation Update" -description: "Improve Documentation" -title: "DOC:" +name: '📑 Documentation Update' +description: 'Improve Documentation' +title: 'DOC:' labels: [DOC, Needs Triage] body: - type: textarea attributes: label: "What's wrong with the existing documentation" - description: "Which things do we need to add or delete" + description: 'Which things do we need to add or delete' validations: required: true - type: textarea attributes: - label: "Add ScreenShots" - description: "Add sufficient SS to explain your issue." + label: 'Add ScreenShots' + description: 'Add sufficient SS to explain your issue.' validations: required: false - type: checkboxes attributes: - label: "Record" + label: 'Record' options: - label: "I agree to follow this project's Code of Conduct" required: true - label: "I'm a GSSOC'24 contributor" - - label: "I want to work on this issue" \ No newline at end of file + - label: 'I want to work on this issue' diff --git a/.github/ISSUE_TEMPLATE/feature.yml b/.github/ISSUE_TEMPLATE/feature.yml index afbb1f3f..6ce8c9f2 100644 --- a/.github/ISSUE_TEMPLATE/feature.yml +++ b/.github/ISSUE_TEMPLATE/feature.yml @@ -1,25 +1,25 @@ -name: "✨ Feature Request" -description: "Suggest an idea for this project " -title: "Feat:" +name: '✨ Feature Request' +description: 'Suggest an idea for this project ' +title: 'Feat:' labels: [Feat, Needs Triage] body: - type: textarea attributes: - label: "Describe the feature" + label: 'Describe the feature' description: validations: required: true - type: textarea attributes: - label: "Add ScreenShots" - description: "Add sufficient SS to explain your issue." + label: 'Add ScreenShots' + description: 'Add sufficient SS to explain your issue.' validations: required: true - type: checkboxes attributes: - label: "Record" + label: 'Record' options: - label: "I agree to follow this project's Code of Conduct" required: true - label: "I'm a GSSOC'24 contributor" - - label: "I want to work on this issue" \ No newline at end of file + - label: 'I want to work on this issue' diff --git a/.github/workflows/greetings.yml b/.github/workflows/greetings.yml index 720f3be4..4a33990c 100644 --- a/.github/workflows/greetings.yml +++ b/.github/workflows/greetings.yml @@ -21,4 +21,4 @@ jobs: Congratulations, @${{ github.actor }}! 🎉 Thank you for creating your issue. Your contribution is greatly appreciated and we look forward to working with you to resolve the issue. Keep up the great work! pr-message: | Great job, @${{ github.actor }}! 🎉 Thank you for submitting your pull request. Your contribution is valuable and we appreciate your efforts to improve our project. - footer: 'We will promptly review your changes and offer feedback. Keep up the excellent work! Kindly remember to check our [contributing guidelines](https://github.com/Anushkabh/krishiconnect/blob/main/README.md)' \ No newline at end of file + footer: 'We will promptly review your changes and offer feedback. Keep up the excellent work! Kindly remember to check our [contributing guidelines](https://github.com/Anushkabh/krishiconnect/blob/main/README.md)' diff --git a/.prettierrc b/.prettierrc new file mode 100644 index 00000000..65d25dbf --- /dev/null +++ b/.prettierrc @@ -0,0 +1,6 @@ +{ + "singleQuote": true, + "trailingComma": "es5", + "tabWidth": 2, + "semi": true +} diff --git a/Contributing.md b/Contributing.md index 4e9c117d..a823a084 100644 --- a/Contributing.md +++ b/Contributing.md @@ -3,7 +3,7 @@ ![Line](https://user-images.githubusercontent.com/85225156/171937799-8fc9e255-9889-4642-9c92-6df85fb86e82.gif) -## What you can Contribute? +## What you can Contribute? **🐞Bug Fixing :** Contributors can help by reviewing and confirming reported issues. This includes verifying bugs, providing additional details, and prioritizing tasks for the development team. @@ -13,25 +13,24 @@ Contributors can enhance the project by implementing new features or improvement ![Line](https://user-images.githubusercontent.com/85225156/171937799-8fc9e255-9889-4642-9c92-6df85fb86e82.gif) - ## How to Contribute? +## How to Contribute? + - Drop a Star ⭐ in this repo -- Take a look at the existing issues. +- Take a look at the existing issues. - Fork the Repo & create a branch for any issue that you are working on and commit your work. - At first raise an issue in which you want to work -- Then after assigning only then work on that issue & make a PR +- Then after assigning only then work on that issue & make a PR - Create a Pull Request - **IMPORTANT: Don't make any type of `Pull Request` until & unless you get assigned to an `Issue`** - Add screenshots or screen captures to your `Pull Request` to help us understand the effects of the changes that are included in your commits. - -# Task Levels and Durations - -| Level | Duration to Complete (Days) | -|-------|-----------------------------| -| Level 1 | 1 day | -| Level 2 | 2-3 days | -| Level 3 | 4-5 days | +# Task Levels and Durations +| Level | Duration to Complete (Days) | +| ------- | --------------------------- | +| Level 1 | 1 day | +| Level 2 | 2-3 days | +| Level 3 | 4-5 days | ![Line](https://user-images.githubusercontent.com/85225156/171937799-8fc9e255-9889-4642-9c92-6df85fb86e82.gif) diff --git a/README.md b/README.md index f6c5c878..d6c8da79 100644 --- a/README.md +++ b/README.md @@ -8,21 +8,22 @@ ## 🔥Key Features - - Empowering farmers by ensuring fair pay through the removal of middlemen. - - Providing information on government policies and agro-technology advancements to support farmers. - - Promoting sustainable farming practices through useful tips and resources. - - Offering services such as soil-testing, water-testing, etc., to enhance productivity. +- Empowering farmers by ensuring fair pay through the removal of middlemen. +- Providing information on government policies and agro-technology advancements to support farmers. +- Promoting sustainable farming practices through useful tips and resources. +- Offering services such as soil-testing, water-testing, etc., to enhance productivity. ## 🤔Why Choose KrishiConnect? **KrishiConnect** prioritizes the satisfaction of all parties involved in agricultural transactions. By fostering direct connections between farmers and consumers, we facilitate transparent and mutually beneficial exchanges. ## 📌 Tech Stack + [![linkedin](https://img.shields.io/badge/HTML5-E34F26?style=for-the-badge&logo=html5&logoColor=white)](https://www.linkedin.com/in/yashpreeth-nijalinge-aa8a36214/) [![portfolio](https://img.shields.io/badge/CSS3-1572B6?style=for-the-badge&logo=css3&logoColor=white)](https://linkedin.com/) ![Bootstrap](https://img.shields.io/badge/bootstrap-%238511FA.svg?style=for-the-badge&logo=bootstrap&logoColor=white) [![twitter](https://img.shields.io/badge/JavaScript-323330?style=for-the-badge&logo=javascript&logoColor=F7DF1E)](https://twitter.com/) ![Firebase](https://img.shields.io/badge/firebase-a08021?style=for-the-badge&logo=firebase&logoColor=ffcd34) # 📸Screenshots -![1](./screenshots/1.png) ![2](./screenshots/2.png) ![3](./screenshots/3.png) ![4](./screenshots/4.png) ![5](/.screenshots/5.png) ![6](./screenshots/6.png) +![1](./screenshots/1.png) ![2](./screenshots/2.png) ![3](./screenshots/3.png) ![4](./screenshots/4.png) ![5](/.screenshots/5.png) ![6](./screenshots/6.png) - + - - - - - - - - - - - + + + + + + + + + + + - + - - - + + - +
-

कृषिCONNECT,

-

WE SERVE

-

FRESH !

+

कृषिCONNECT,

+

WE SERVE

+

FRESH !

- -
-
-

krishiconnect

- close -
-
    -
  • -

    Welcome to krishiconnect! How can I help you?


    -
  • -
  • - -
  • -
-
- - Send -
+ +
+
+

krishiconnect

+ close +
+
    +
  • +

    Welcome to krishiconnect! How can I help you?

    +
    +
  • +
  • + +
  • +
+
+ + Send
+
-