├── .env example ├── .eslintrc.cjs ├── .github ├── ISSUE_TEMPLATE │ ├── bug_report.yml │ ├── documentation_update.yml │ └── feature_request.yml ├── pull_request_template.md └── workflows │ ├── auto-comment-pr-merge.yml │ └── greetings.yaml ├── .gitignore ├── CODE_OF_CONDUCT.md ├── CONTRIBUTING.md ├── README.md ├── index.html ├── package-lock.json ├── package.json ├── public ├── Burger.png ├── Cream.png ├── Forest.jpg ├── Stress.jpg ├── Student-Stress (1).jpg ├── aboutimg.jpg ├── candy.jpg ├── img-1.png ├── logo.png └── vite.svg ├── src ├── App.css ├── App.jsx ├── Pages │ ├── Assessment.jsx │ ├── Contact.jsx │ ├── Games.jsx │ ├── Home.jsx │ ├── Login.jsx │ ├── Privacy.jsx │ ├── ReadingArea.jsx │ ├── Review.jsx │ ├── RouteNotFound.jsx │ └── Services.jsx ├── Styles │ └── Services.css ├── assets │ ├── MH.avif │ ├── app.svg │ ├── contact.jpg │ ├── contributor.jpeg │ ├── dm.svg │ ├── feed-bg.avif │ ├── home.png │ ├── image2.jpg │ ├── image_1.avif │ ├── image_2.avif │ ├── image_3.avif │ ├── img-3.png │ ├── img1.png │ ├── img3.jpg │ ├── logo.png │ ├── logo2.png │ ├── pageNotFound-1.png │ ├── react.svg │ ├── review.avif │ ├── seo.svg │ ├── stress.jpg │ └── web.svg ├── components │ ├── About.jsx │ ├── Assessment │ │ ├── MHAssessment.css │ │ └── MHAssessment.jsx │ ├── BlogList │ │ ├── BlogItem │ │ │ ├── index.jsx │ │ │ └── styles.css │ │ ├── index.jsx │ │ └── styles.css │ ├── ButtonElement.js │ ├── Contact │ │ ├── contact.css │ │ └── contact.jsx │ ├── EmptyList │ │ ├── index.jsx │ │ └── styles.css │ ├── FAQ.jsx │ ├── Features.jsx │ ├── FloatBtn │ │ ├── FloatBtn.jsx │ │ └── styles.css │ ├── Footer │ │ ├── Footer.css │ │ ├── Footer.jsx │ │ └── FooterElements.jsx │ ├── Forum.jsx │ ├── Games │ │ ├── Card.css │ │ ├── Card.jsx │ │ ├── Game.css │ │ └── Game.jsx │ ├── HeroSection │ │ ├── Elements.js │ │ └── hero.jsx │ ├── Loader │ │ ├── Loader.css │ │ └── Loader.jsx │ ├── Login │ │ ├── login.css │ │ └── login.jsx │ ├── Navbar │ │ ├── Navbar.jsx │ │ ├── NavbarElements.js │ │ ├── Progress.css │ │ └── Progressbar.jsx │ ├── Preloader │ │ ├── Preloader.css │ │ ├── Preloader.json │ │ └── Preloader.jsx │ ├── PrivacyPolicy │ │ ├── PrivacyPolicy.jsx │ │ ├── constant.js │ │ └── privacypolicy.css │ ├── ProgressBar.jsx │ ├── Review │ │ ├── review.css │ │ └── review.jsx │ ├── SearchBar │ │ ├── index.jsx │ │ └── styles.css │ ├── Team.css │ ├── Team.jsx │ ├── chip.jsx │ ├── community │ │ ├── CommunityPage.css │ │ └── CommunityPage.jsx │ ├── faq.css │ └── faqs.json ├── config │ └── data.js ├── index.css └── main.jsx ├── vercel.json └── vite.config.js /.env example: -------------------------------------------------------------------------------- 1 | token="your github token" -------------------------------------------------------------------------------- /.eslintrc.cjs: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | root: true, 3 | env: { browser: true, es2020: true }, 4 | extends: [ 5 | 'eslint:recommended', 6 | 'plugin:react/recommended', 7 | 'plugin:react/jsx-runtime', 8 | 'plugin:react-hooks/recommended', 9 | ], 10 | ignorePatterns: ['dist', '.eslintrc.cjs'], 11 | parserOptions: { ecmaVersion: 'latest', sourceType: 'module' }, 12 | settings: { react: { version: '18.2' } }, 13 | plugins: ['react-refresh'], 14 | rules: { 15 | 'react/jsx-no-target-blank': 'off', 16 | 'react-refresh/only-export-components': [ 17 | 'warn', 18 | { allowConstantExport: true }, 19 | ], 20 | }, 21 | } 22 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/bug_report.yml: -------------------------------------------------------------------------------- 1 | name: Bug report 🐞 2 | description: File a bug report 3 | title: "[Bug]: " 4 | body: 5 | - type: checkboxes 6 | id: existing-issue 7 | attributes: 8 | label: Is there an existing issue for this? 9 | description: Please search to see if an issue already exists for the bug you encountered. 10 | options: 11 | - label: I have searched the existing issues 12 | required: true 13 | - type: textarea 14 | id: what-happened 15 | attributes: 16 | label: What happened? 17 | description: A concise description of what you are experiencing. 18 | placeholder: Tell us what you see! 19 | validations: 20 | required: true 21 | - type: textarea 22 | id: screenshots 23 | attributes: 24 | label: Add ScreenShots 25 | description: Add sufficient ScreenShots to explain your issue. 26 | - type: dropdown 27 | id: browsers 28 | attributes: 29 | label: What browsers are you seeing the problem on? 30 | multiple: true 31 | options: 32 | - Firefox 33 | - Chrome 34 | - Safari 35 | - Microsoft Edge 36 | - type: checkboxes 37 | id: terms 38 | attributes: 39 | label: Record 40 | options: 41 | - label: "I agree to follow this project's Code of Conduct" 42 | required: true 43 | - label: "I'm a GSSOC'24 contributor" 44 | required: False 45 | - label: "I'm willing to provide further clarification or assistance if needed." 46 | required: False 47 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/documentation_update.yml: -------------------------------------------------------------------------------- 1 | name: 📝 Documentation Update 2 | description: Improve Documentation 3 | title: "[Documentation Update]: " 4 | body: 5 | - type: checkboxes 6 | id: existing-issue 7 | attributes: 8 | label: Is there an existing issue for this? 9 | description: Please search to see if an issue already exists for the updates you want to make. 10 | options: 11 | - label: I have searched the existing issues 12 | required: true 13 | - type: textarea 14 | id: issue-description 15 | attributes: 16 | label: Issue Description 17 | description: Please provide a clear description of the documentation update you are suggesting. 18 | placeholder: Describe the improvement or correction you'd like to see in the documentation. 19 | validations: 20 | required: true 21 | - type: textarea 22 | id: suggested-change 23 | attributes: 24 | label: Suggested Change 25 | description: Provide details of the proposed change to the documentation. 26 | placeholder: Explain how the documentation should be updated or corrected. 27 | validations: 28 | required: true 29 | - type: textarea 30 | id: rationale 31 | attributes: 32 | label: Rationale 33 | description: Why is this documentation update necessary or beneficial? 34 | placeholder: Explain the importance or reasoning behind the suggested change. 35 | validations: 36 | required: False 37 | - type: dropdown 38 | id: urgency 39 | attributes: 40 | label: Urgency 41 | description: How urgently do you believe this documentation update is needed? 42 | options: 43 | - High 44 | - Medium 45 | - Low 46 | default: 0 47 | validations: 48 | required: true 49 | - type: checkboxes 50 | id: terms 51 | attributes: 52 | label: Record 53 | options: 54 | - label: "I agree to follow this project's Code of Conduct" 55 | required: true 56 | - label: "I'm a GSSOC'24 contributor" 57 | required: False 58 | - label: "I'm willing to provide further clarification or assistance if needed." 59 | required: False 60 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature_request.yml: -------------------------------------------------------------------------------- 1 | name: ✨ Feature Request 2 | description: Suggest a feature 3 | title: "[Feature Request]: " 4 | body: 5 | - type: checkboxes 6 | id: existing-issue 7 | attributes: 8 | label: Is there an existing issue for this? 9 | description: Please search to see if an issue already exists for this feature. 10 | options: 11 | - label: I have searched the existing issues 12 | required: true 13 | - type: textarea 14 | id: feature-description 15 | attributes: 16 | label: Feature Description 17 | description: Please provide a detailed description of the feature you are requesting. 18 | placeholder: Describe the new feature or enhancement you'd like to see. 19 | validations: 20 | required: true 21 | - type: textarea 22 | id: use-case 23 | attributes: 24 | label: Use Case 25 | description: How would this feature enhance your use of the project? 26 | placeholder: Describe a specific use case or scenario where this feature would be beneficial. 27 | validations: 28 | required: true 29 | - type: textarea 30 | id: benefits 31 | attributes: 32 | label: Benefits 33 | description: What benefits would this feature bring to the project or community? 34 | placeholder: Explain the advantages of implementing this feature. 35 | - type: dropdown 36 | id: priority 37 | attributes: 38 | label: Priority 39 | description: How important is this feature to you? 40 | options: 41 | - High 42 | - Medium 43 | - Low 44 | default: 0 45 | validations: 46 | required: true 47 | - type: checkboxes 48 | id: terms 49 | attributes: 50 | label: Record 51 | options: 52 | - label: "I agree to follow this project's Code of Conduct" 53 | required: true 54 | - label: "I'm a GSSOC'24 contributor" 55 | required: False 56 | - label: "I'm willing to provide further clarification or assistance if needed." 57 | required: False 58 | -------------------------------------------------------------------------------- /.github/pull_request_template.md: -------------------------------------------------------------------------------- 1 | ## Related Issue 2 | [Cite any related issue(s) this pull request addresses. If none, simply state "None”] 3 | 4 | ## Description 5 | [Please include a brief description of the changes or features added] 6 | 7 | ## Type of PR 8 | 9 | - [ ] Bug fix 10 | - [ ] Feature enhancement 11 | - [ ] Documentation update 12 | - [ ] Other (specify): _______________ 13 | 14 | ## Screenshots / videos (if applicable) 15 | [Attach any relevant screenshots or videos demonstrating the changes] 16 | 17 | ## Checklist: 18 | - [ ] I have performed a self-review of my code 19 | - [ ] I have read and followed the Contribution Guidelines. 20 | - [ ] I have tested the changes thoroughly before submitting this pull request. 21 | - [ ] I have provided relevant issue numbers, screenshots, and videos after making the changes. 22 | - [ ] I have commented my code, particularly in hard-to-understand areas. 23 | 24 | 25 | ## Additional context: 26 | [Include any additional information or context that might be helpful for reviewers.] 27 | -------------------------------------------------------------------------------- /.github/workflows/auto-comment-pr-merge.yml: -------------------------------------------------------------------------------- 1 | name: Auto Comment on PR Merge 2 | 3 | on: 4 | pull_request_target: 5 | types: [closed] 6 | 7 | permissions: 8 | issues: write 9 | pull-requests: write 10 | 11 | jobs: 12 | comment: 13 | if: github.event.pull_request.merged == true 14 | runs-on: ubuntu-latest 15 | 16 | steps: 17 | - name: Add Comment to Merged PR 18 | env: 19 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} 20 | run: | 21 | COMMENT=$(cat < 7 | Please note we have a [code of conduct](CODE_OF_CONDUCT.md) please follow it in all your interactions with the project. 8 | 9 | 10 | 11 |
12 | 13 | ## **Need some help regarding the basics?🤔** 14 | 15 | 16 | You can refer to the following articles on basics of Git and Github and also contact the Project Mentors, 17 | in case you are stuck: 18 | 19 | - [Forking a Repo](https://help.github.com/en/github/getting-started-with-github/fork-a-repo) 20 | - [Cloning a Repo](https://help.github.com/en/desktop/contributing-to-projects/creating-an-issue-or-pull-request) 21 | - [How to create a Pull Request](https://opensource.com/article/19/7/create-pull-request-github) 22 | - [Getting started with Git and GitHub](https://towardsdatascience.com/getting-started-with-git-and-github-6fcd0f2d4ac6) 23 | - [Learn GitHub from Scratch](https://docs.github.com/en/get-started/start-your-journey/git-and-github-learning-resources) 24 | 25 |
26 | 27 | ### Alternatively contribute using GitHub Desktop 28 | 29 | 1. **Open GitHub Desktop:** 30 | Launch GitHub Desktop and log in to your GitHub account if you haven't already. 31 | 32 | 2. **Clone the Repository:** 33 | - If you haven't cloned the repository yet, you can do so by clicking on the "File" menu and selecting "Clone Repository." 34 | - Choose the repository from the list of repositories on GitHub and clone it to your local machine. 35 | 36 | 3. **Switch to the Correct Branch:** 37 | - Ensure you are on the branch that you want to submit a pull request for. 38 | - If you need to switch branches, you can do so by clicking on the "Current Branch" dropdown menu and selecting the desired branch. 39 | 40 | 4. **Make Changes:** 41 | Make your changes to the code or files in the repository using your preferred code editor. 42 | 43 | 5. **Commit Changes:** 44 | - In GitHub Desktop, you'll see a list of the files you've changed. Check the box next to each file you want to include in the commit. 45 | - Enter a summary and description for your changes in the "Summary" and "Description" fields, respectively. Click the "Commit to " button to commit your changes to the local branch. 46 | 47 | 6. **Push Changes to GitHub:** 48 | After committing your changes, click the "Push origin" button in the top right corner of GitHub Desktop to push your changes to your forked repository on GitHub. 49 | 50 | 7. **Create a Pull Request:** 51 | - Go to the GitHub website and navigate to your fork of the repository. 52 | - You should see a button to "Compare & pull request" between your fork and the original repository. Click on it. 53 | 54 | 8. **Review and Submit:** 55 | - On the pull request page, review your changes and add any additional information, such as a title and description, that you want to include with your pull request. 56 | - Once you're satisfied, click the "Create pull request" button to submit your pull request. 57 | 58 | 9. **Wait for Review:** 59 | Your pull request will now be available for review by the project maintainers. They may provide feedback or ask for changes before merging your pull request into the main branch of the repository. 60 | 61 | ## **Issue Report Process 📌** 62 | 63 | 1. Go to the project's issues. 64 | 2. Give proper description for the issues. 65 | 3. Don't spam to get the assignment of the issue 😀. 66 | 4. Wait for till someone is looking into it !. 67 | 5. Start working on issue only after you got assigned that issue 🚀. 68 | 69 |
70 | 71 | ### Get started on the local machine 72 | ### Step 1: 73 | Fork the repository. 74 | ### Step 2: 75 | Clone the forked repository on your local machine. 76 | ``` 77 | git clone https://github.com//EmoWell.git 78 | ``` 79 | ### Step 3: 80 | Open command prompt/Terminal. 81 | 82 | ### Step 4: 83 | Shoot up a terminal and run: 84 | ``` 85 | cd EmoWell 86 | ``` 87 | For installing all the required dependencies and packages 88 | ``` 89 | npm install 90 | ``` 91 | This will open up the website on localhost. You can begin working. The changes will be reflected here. 92 | To access it navigate to http://localhost:5173/ in your browser 93 | ``` 94 | npm run dev 95 | ``` 96 | 97 | ## If you have any ideas or questions 🤷 98 | 99 | - [Raise an issue](https://github.com/Mansi168/EmoWell/issues) 100 | - [Feature request](https://github.com/Mansi168/EmoWell/issues) 101 | - [Code submission](https://github.com/Mansi168/EmoWell/pulls) 102 | 103 | ### ✨🔨Note: 104 | 105 | > - Do not edit/delete someone else's script in this repository. You can only insert new files/folders into this repository. 106 | 107 | > - Give a meaningful name to whatever file or folder you are adding, changing, etc. 108 | 109 | ## 🔑Guidelines✨ 110 | 111 | 1. Welcome to this repository, if you are here as an open-source program participant/contributor. 112 | 2. Participants/contributors have to **comment** on issues they would like to work on, and mentors or the PA will assign you. 113 | 3. Issues will be assigned on a **first-come, first-serve basis.** 114 | 4. Participants/contributors can also **open their issues** using issue_template, 115 | but it needs to be verified and labeled by a mentor or PA. Please discuss this with the team once before opening your issues. We respect all your contributions, whether 116 | it is an Issue or a Pull Request. 117 | 6. When you raise an issue, make sure you get it assigned to you before you start working on that project. 118 | 7. Each participant/contributor will be **assigned 1 issue (max)** at a time to work. 119 | 8. Participants are expected to follow **project guidelines** and **coding style** . **Structured code** is one of our top priorities. 120 | 9. Try to **explain your approach** to solving any issue in the comments. This will increase the chances of you being assigned. 121 | 10. Don't create issues that are **already listed**. 122 | 11. Please don't pick up an issue already assigned to someone else. Work on the issues after it gets **assigned to you**. 123 | 12. Make sure you **discuss issues** before working on the issue. 124 | 13. Pull requests will be merged after being **reviewed** by a mentor or PA. 125 | 14. It might take **a day or two** to review your pull request. Please have patience and be nice. 126 | 15. Always create a pull request from a **branch** other than `main`. 127 | 16. Participants/contributors have to complete issues before they decided Deadline. If you fail to make a PR within the deadline, then the issue will be assigned to 128 | another person in the queue. 129 | 17. While making PRs, don't forget to **add a description** of your work. 130 | 18. Include the issue number (Fixes: issue number) in your commit message while creating a pull request. 131 | 19. Make sure your solution to any issue is better in terms of performance and other parameters in comparison to the previous work. 132 | 20. We all are here to learn. You are allowed to make mistakes. That's how you learn, right? 133 | 134 | ## **Pull Request Process 🚀** 135 | 136 | 1. Ensure that you have self reviewed your code 😀 137 | 2. Make sure you have added the proper description for the functionality of the code 138 | 3. I have commented my code, particularly in hard-to-understand areas. 139 | 4. Add screenshot it help in review. 140 | 5. Submit your PR by giving the necesarry information in PR template and hang tight we will review it really soon 🚀 141 | 142 |
143 | 144 | # **Thank you for contributing💗** 145 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Emowell - Enhancing Emotional Wellbeing 2 | 3 |
4 |
5 | 6 |
7 |
8 | 9 | **Check the Website [here](https://devcation.vercel.app/)**. 10 | 11 | ## TABLE OF CONTENTS 12 | 13 | - [About our project](#About-our-project) 14 | - [Tech Stack Used](#Tech-Stack-Used) 15 | - [Website Overview](#Website-Overview) 16 | - [Key Features ✨](#Key-Features-✨) 17 | - [Components of Website](#Components-of-Website) 18 | - [🔖Steps to Contribute ✅](#🔖Steps-to-Contribute-✅) 19 | - [🔑Guidelines✨](#🔑Guidelines✨) 20 | 21 | 22 | # About our project 23 | 24 | Emowell is a web application aimed at enhancing emotional wellbeing by providing various features and resources to help individuals manage their mental health effectively. 25 | The application includes a chatbot for seeking advice and support, a collection of games and activities for relaxation, a reading area with resources related to mental health, and a community forum for discussions and support. 26 | 27 |
28 |
29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 |
43 | 44 |
45 |
46 | 47 | # Tech Stack Used 48 | 49 |
50 | 51 | 52 | 53 | 54 | 55 |
56 | 57 | # Website Overview 58 | 59 | Welcome to Emowell, your comprehensive hub for enhancing emotional wellbeing and effectively managing mental health. Our web application offers a dynamic range of features, including a supportive chatbot for personalized advice, a diverse array of relaxation games and activities, an informative reading area packed with mental health resources, and a welcoming community forum for discussions and mutual support. Join us on this holistic journey towards greater emotional resilience and fulfillment. 60 | 61 | 62 | # Key Features ✨ 63 | 1. **Chatbot** 64 | - Engage in conversations about mental health. 65 | - Seek advice and support for managing emotions and coping with challenges. 66 | - Access games and activities to improve mood. 67 | ![image](https://github.com/MonalikaPatnaik/Devcation/assets/99342612/b5cd6bc6-8db9-4ab2-a012-c946926c5e1f) 68 | 69 | 70 | 2. **Games Section** 71 | - Explore a variety of games designed to promote relaxation and reduce stress. 72 | - Choose from different categories based on preferences. 73 | ![image](https://github.com/MonalikaPatnaik/Devcation/assets/99342612/93a7c3d5-fd8d-46dd-b622-45d4ef378162) 74 | 75 | 76 | 3. **Reading Area** 77 | - Access a curated collection of resources related to mental health and emotional wellbeing. 78 | - Find articles, guides, and tips for maintaining good mental health. 79 | ![image](https://github.com/MonalikaPatnaik/Devcation/assets/99353300/871de3f2-b2c1-49d1-916c-fbfaa5322d42) 80 | 81 | 4. **Community Forum** 82 | - Participate in discussions with peers and professionals about mental health topics. 83 | - Share experiences, ask questions, and provide support to others in the community. 84 | 85 | 86 | # 🔖Steps to Contribute ✅ 87 | 88 | - Contribution is the best way to support and get involved in the community! 89 | - Contributions to `EmoWell` Please check our [CONTRIBUTING.md](./CONTRIBUTING.md) 90 |
91 | ### Get started on the local machine 92 | ### Step 1: 93 | Fork the repository. 94 | ### Step 2: 95 | Clone the forked repository on your local machine. 96 | ``` 97 | git clone https://github.com//EmoWell.git 98 | ``` 99 | ### Step 3: 100 | Open command prompt/Terminal. 101 | 102 | ### Step 4: 103 | Shoot up a terminal and run: 104 | ``` 105 | cd EmoWell 106 | ``` 107 | For installing all the required dependencies and packages 108 | ``` 109 | npm install 110 | ``` 111 | This will open up the website on localhost. You can begin working. The changes will be reflected here. 112 | To access it navigate to http://localhost:5173/ in your browser 113 | ``` 114 | npm run dev 115 | ``` 116 | 117 | ## If you have any ideas or questions 🤷 118 | 119 | - [Raise an issue](https://github.com/Mansi168/EmoWell/issues) 120 | - [Feature request](https://github.com/Mansi168/EmoWell/issues) 121 | - [Code submission](https://github.com/Mansi168/EmoWell/pulls) 122 | 123 | ### ✨🔨Note: 124 | 125 | > - Do not edit/delete someone else's script in this repository. You can only insert new files/folders into this repository. 126 | 127 | > - Give a meaningful name to whatever file or folder you are adding, changing, etc. 128 | 129 | ## 🔑Guidelines✨ 130 | 131 | 1. Welcome to this repository, if you are here as an open-source program participant/contributor. 132 | 2. Participants/contributors have to **comment** on issues they would like to work on, and mentors or the PA will assign you. 133 | 3. Issues will be assigned on a **first-come, first-serve basis.** 134 | 4. Participants/contributors can also **open their issues** using issue_template, 135 | but it needs to be verified and labeled by a mentor or PA. Please discuss this with the team once before opening your issues. We respect all your contributions, whether 136 | it is an Issue or a Pull Request. 137 | 6. When you raise an issue, make sure you get it assigned to you before you start working on that project. 138 | 7. Each participant/contributor will be **assigned 1 issue (max)** at a time to work. 139 | 8. Participants are expected to follow **project guidelines** and **coding style** . **Structured code** is one of our top priorities. 140 | 9. Try to **explain your approach** to solving any issue in the comments. This will increase the chances of you being assigned. 141 | 10. Don't create issues that are **already listed**. 142 | 11. Please don't pick up an issue already assigned to someone else. Work on the issues after it gets **assigned to you**. 143 | 12. Make sure you **discuss issues** before working on the issue. 144 | 13. Pull requests will be merged after being **reviewed** by a mentor or PA. 145 | 14. It might take **a day or two** to review your pull request. Please have patience and be nice. 146 | 15. Always create a pull request from a **branch** other than `main`. 147 | 16. Participants/contributors have to complete issues before they decided Deadline. If you fail to make a PR within the deadline, then the issue will be assigned to 148 | another person in the queue. 149 | 17. While making PRs, don't forget to **add a description** of your work. 150 | 18. Include the issue number (Fixes: issue number) in your commit message while creating a pull request. 151 | 19. Make sure your solution to any issue is better in terms of performance and other parameters in comparison to the previous work. 152 | 20. We all are here to learn. You are allowed to make mistakes. That's how you learn, right? 153 | 154 | ## License 🪪 155 | 156 | [MIT license](https://opensource.org/license/mit/) 157 | 158 | ## Thanks to all the Contributors ❤️ 159 | 160 | 161 | 162 | 163 | 164 | 165 | 166 | 167 | -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | EmoWell 9 | 36 | 37 | 38 | 39 |
40 | 41 | 42 | 43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 | 114 | 115 | 116 | 118 | 120 | 121 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "emowell", 3 | "private": true, 4 | "version": "0.0.0", 5 | "type": "module", 6 | "scripts": { 7 | "dev": "vite", 8 | "build": "vite build", 9 | "lint": "eslint . --ext js,jsx --report-unused-disable-directives --max-warnings 0", 10 | "preview": "vite preview" 11 | }, 12 | "dependencies": { 13 | "@auth0/auth0-react": "^2.2.4", 14 | "@emotion/react": "^11.11.4", 15 | "@emotion/styled": "^11.11.5", 16 | "@fortawesome/fontawesome-svg-core": "^6.5.2", 17 | "@fortawesome/free-solid-svg-icons": "^6.5.2", 18 | "@fortawesome/react-fontawesome": "^0.2.2", 19 | "@mui/icons-material": "^5.15.14", 20 | "@mui/material": "^5.15.14", 21 | "@remixicon/react": "^4.2.0", 22 | "aos": "^2.3.4", 23 | "axios": "^1.6.8", 24 | "bootstrap": "^5.3.3", 25 | "loader-utils": "^3.2.1", 26 | "lottie-react": "^2.4.0", 27 | "mdb-react-ui-kit": "^8.0.0", 28 | "nextjs-websocket": "^1.0.11", 29 | "pkg.json": "^2.0.8", 30 | "react": "^18.2.0", 31 | "react-chat-engine": "^1.11.28", 32 | "react-dom": "^18.2.0", 33 | "react-fontawesome": "^1.7.1", 34 | "react-icons": "^5.2.1", 35 | "react-quill": "^2.0.0", 36 | "react-router": "^6.22.3", 37 | "react-router-dom": "^6.25.1", 38 | "react-scroll": "^1.9.0", 39 | "react-spinners": "^0.14.1", 40 | "react-toastify": "^10.0.5", 41 | "requirejs": "^2.3.6", 42 | "styled-components": "^6.1.8", 43 | "websocket": "^1.0.34" 44 | }, 45 | "devDependencies": { 46 | "@types/react": "^18.2.66", 47 | "@types/react-dom": "^18.2.22", 48 | "@vitejs/plugin-react": "^4.2.1", 49 | "eslint": "^8.57.0", 50 | "eslint-plugin-react": "^7.34.1", 51 | "eslint-plugin-react-hooks": "^4.6.0", 52 | "eslint-plugin-react-refresh": "^0.4.6", 53 | "vite": "^5.2.11" 54 | } 55 | } 56 | -------------------------------------------------------------------------------- /public/Burger.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mansi168/EmoWell/8b79dc15512c55b4b4b90cfc72e770e52d9bb71f/public/Burger.png -------------------------------------------------------------------------------- /public/Cream.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mansi168/EmoWell/8b79dc15512c55b4b4b90cfc72e770e52d9bb71f/public/Cream.png -------------------------------------------------------------------------------- /public/Forest.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mansi168/EmoWell/8b79dc15512c55b4b4b90cfc72e770e52d9bb71f/public/Forest.jpg -------------------------------------------------------------------------------- /public/Stress.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mansi168/EmoWell/8b79dc15512c55b4b4b90cfc72e770e52d9bb71f/public/Stress.jpg -------------------------------------------------------------------------------- /public/Student-Stress (1).jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mansi168/EmoWell/8b79dc15512c55b4b4b90cfc72e770e52d9bb71f/public/Student-Stress (1).jpg -------------------------------------------------------------------------------- /public/aboutimg.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mansi168/EmoWell/8b79dc15512c55b4b4b90cfc72e770e52d9bb71f/public/aboutimg.jpg -------------------------------------------------------------------------------- /public/candy.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mansi168/EmoWell/8b79dc15512c55b4b4b90cfc72e770e52d9bb71f/public/candy.jpg -------------------------------------------------------------------------------- /public/img-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mansi168/EmoWell/8b79dc15512c55b4b4b90cfc72e770e52d9bb71f/public/img-1.png -------------------------------------------------------------------------------- /public/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mansi168/EmoWell/8b79dc15512c55b4b4b90cfc72e770e52d9bb71f/public/logo.png -------------------------------------------------------------------------------- /public/vite.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/App.css: -------------------------------------------------------------------------------- 1 | .App { 2 | text-align: center; 3 | } 4 | 5 | .App-logo { 6 | height: 40vmin; 7 | pointer-events: none; 8 | } 9 | 10 | @media (prefers-reduced-motion: no-preference) { 11 | .App-logo { 12 | animation: App-logo-spin infinite 20s linear; 13 | } 14 | } 15 | 16 | .App-header { 17 | background-color: #282c34; 18 | min-height: 100vh; 19 | display: flex; 20 | flex-direction: column; 21 | align-items: center; 22 | justify-content: center; 23 | font-size: calc(10px + 2vmin); 24 | color: white; 25 | } 26 | 27 | .App-link { 28 | color: #61dafb; 29 | } 30 | 31 | @keyframes App-logo-spin { 32 | from { 33 | transform: rotate(0deg); 34 | } 35 | to { 36 | transform: rotate(360deg); 37 | } 38 | } 39 | 40 | [data-aos^=fade][data-aos^=fade] { 41 | opacity: 1!important; 42 | transition-property: opacity, transform; 43 | } -------------------------------------------------------------------------------- /src/App.jsx: -------------------------------------------------------------------------------- 1 | import "bootstrap/dist/css/bootstrap.min.css"; 2 | import "bootstrap/dist/js/bootstrap.bundle.min"; 3 | 4 | import './App.css'; 5 | import { BrowserRouter as Router, Routes, Route } from 'react-router-dom'; 6 | import Home from "./Pages/Home"; 7 | import ContactPage from './Pages/Contact' 8 | import ReviewPage from './Pages/Review' 9 | import ChatComponent from './components/Forum'; 10 | import ReadingArea from './Pages/ReadingArea'; 11 | import Games from './Pages/Games'; 12 | import Privacy from './Pages/Privacy'; 13 | import Assessment from './Pages/Assessment' 14 | import Services from './Pages/Services'; 15 | 16 | import LoginPage from './Pages/Login'; 17 | 18 | // import Features from './components/Features' 19 | import FAQ from './components/FAQ'; 20 | 21 | import RouteNotFound from './Pages/RouteNotFound'; 22 | import CommunityPage from "./components/community/CommunityPage"; 23 | import { useEffect, useState } from "react"; 24 | import Preloader from "./components/Preloader/Preloader"; 25 | 26 | function App() { 27 | const [loading, setLoading] = useState(true); 28 | 29 | useEffect(() => { 30 | const timer = setTimeout(() => { 31 | setLoading(false); 32 | }, 2500); 33 | 34 | return () => clearTimeout(timer); 35 | }, []); 36 | 37 | return ( 38 | <> 39 | {loading ? ( 40 | 41 | ) : ( 42 | 43 | 44 | } /> 45 | } /> 46 | } /> 47 | } /> 48 | } /> 49 | } /> 50 | } /> 51 | } /> 52 | } /> 53 | }/> 54 | }/> 55 | }/> 56 | }/> 57 | {/* */} 58 | 59 | 60 | )} 61 | 62 | ); 63 | } 64 | 65 | export default App; -------------------------------------------------------------------------------- /src/Pages/Assessment.jsx: -------------------------------------------------------------------------------- 1 | import React from "react"; 2 | import MHAssessment from "../components/Assessment/MHAssessment.jsx"; 3 | import Navbar from "../components/Navbar/Navbar"; 4 | import Footer from "../components/Footer/Footer"; 5 | const Assessment=()=>{ 6 | return( 7 | <> 8 | 9 | 10 |