diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index 67a3aee1..d80c2d98 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -1,6 +1,6 @@ ## Description - + ## Related Issues diff --git a/.github/workflows/assignlabel.yml b/.github/workflows/assignlabel.yml new file mode 100644 index 00000000..831dc8db --- /dev/null +++ b/.github/workflows/assignlabel.yml @@ -0,0 +1,55 @@ +name: Assign Issue to Creator + +on: + issue_comment: + types: [created] + +jobs: + assign-issue: + runs-on: ubuntu-latest + if: contains(github.event.comment.body, '/assign') + steps: + - name: Check commenter permissions + id: check-permissions + uses: actions/github-script@v6 + with: + github-token: ${{secrets.GITHUB_TOKEN}} + script: | + const { owner, repo } = context.repo; + const commenter = context.payload.comment.user.login; + + const { data: repoPermission } = await github.rest.repos.getCollaboratorPermissionLevel({ + owner, + repo, + username: commenter, + }); + + const allowedPermissions = ['admin', 'maintain', 'write']; + const hasPermission = allowedPermissions.includes(repoPermission.permission); + + return hasPermission; + - name: Assign issue to creator + if: steps.check-permissions.outputs.result == 'true' + uses: actions/github-script@v6 + with: + github-token: ${{secrets.GITHUB_TOKEN}} + script: | + const { owner, repo } = context.repo; + const issue_number = context.issue.number; + + const { data: issue } = await github.rest.issues.get({ + owner, + repo, + issue_number, + }); + + const creator = issue.user.login; + + await github.rest.issues.addAssignees({ + owner, + repo, + issue_number, + assignees: [creator], + }); + + console.log(`Assigned issue #${issue_number} to creator ${creator}`); \ No newline at end of file diff --git a/.github/workflows/auto-label-pr.yml b/.github/workflows/auto-label-pr.yml index a858a7af..25824c74 100644 --- a/.github/workflows/auto-label-pr.yml +++ b/.github/workflows/auto-label-pr.yml @@ -1,51 +1,53 @@ - -name: Auto Label PR +name: Auto Label PRs on: pull_request: - types: [opened, reopened, edited,synchronize] + types: [opened, edited] jobs: label_pr: runs-on: ubuntu-latest - permissions: - pull-requests: write steps: - - name: Label PR + - uses: actions/labeler@v4 + with: + repo-token: ${{ secrets.GITHUB_TOKEN }} + configuration-path: .github/labeler.yml + + - name: Add GSSOC label uses: actions/github-script@v6 with: github-token: ${{secrets.GITHUB_TOKEN}} script: | - const pr = context.payload.pull_request; - - // Add gssoc label to all PRs - await github.rest.issues.addLabels({ + github.rest.issues.addLabels({ + issue_number: context.issue.number, owner: context.repo.owner, repo: context.repo.repo, - issue_number: pr.number, labels: ['gssoc'] - }); + }) + + - name: Add additional labels based on title + uses: actions/github-script@v6 + with: + github-token: ${{secrets.GITHUB_TOKEN}} + script: | + const title = context.payload.pull_request.title.toLowerCase(); + const labelsToAdd = []; - const prBody = pr.body ? pr.body.toLowerCase() : ''; - const prTitle = pr.title.toLowerCase(); + if (title.includes('documentation')) { + labelsToAdd.push('documentation'); + } + if (title.includes('feature')) { + labelsToAdd.push('feature'); + } + if (title.includes('bug')) { + labelsToAdd.push('bug'); + } - const addLabel = async (label) => { - await github.rest.issues.addLabels({ + if (labelsToAdd.length > 0) { + github.rest.issues.addLabels({ + issue_number: context.issue.number, owner: context.repo.owner, repo: context.repo.repo, - issue_number: pr.number, - labels: [label] + labels: labelsToAdd }); - }; - - if (prBody.includes('documentation') || prTitle.includes('doc') || prBody.includes('readme')) { - await addLabel('documentation'); - } - - if (prBody.includes('feature') || prBody.includes('enhancement') || prTitle.includes('add') || prTitle.includes('implement')) { - await addLabel('enhancement'); - } - - if (prBody.includes('bug') || prBody.includes('fix') || prTitle.includes('fix') || prTitle.includes('resolve')) { - await addLabel('bug'); } \ No newline at end of file diff --git a/Html-Files/Css-Files/Experiencestyle.css b/Html-Files/Css-Files/Experiencestyle.css index 83721a40..eec5dc46 100644 --- a/Html-Files/Css-Files/Experiencestyle.css +++ b/Html-Files/Css-Files/Experiencestyle.css @@ -130,6 +130,12 @@ body { align-items: center; height: 60px; margin: auto; + position: fixed; + width: 100vw; + height: 4.8rem; + } + .h{ + margin-top: 90px; } *,*::after,*::before{ /*padding: 0; @@ -147,6 +153,7 @@ margin-bottom: 20px; .filter-sort { display: flex; align-items: center; +flex-wrap: wrap; } .filter-sort label { @@ -356,6 +363,7 @@ align-items: center; /*? socials */ .social-wrapper { display: flex; + flex-wrap: wrap; gap: 0.5rem; margin: 0 auto; } @@ -390,7 +398,51 @@ align-items: center; } - + @media (max-width:768px){ + .footer-bottom-wrapper{ + position: relative; + right: 200px; + width: 68%; + } + #doctor-list li{ + width: 56%; + } + .min,#fee-filter,#fee-value{ + position: relative; + right: 416px; + top: 39px; + } + .img img { + position: relative; + left: 300px; + bottom: 12px; + } + #sort-btn{ + position: relative; + right: 494px; + top: 75px; + } + .filter-sort{ + height: 117px; + } + } + @media (max-width:576px) { + .footer-bottom-wrapper{ + position: relative; + right: 140px; + } + } + @media screen and (max-width:620px) { + .min,#fee-filter,#fee-value{ + right: 420px; + top: 75px; + } + #sort-btn{ + right: 112px; + top: 42px; + } + + } @media (min-width: 600px) { .other-columns { display: grid; @@ -407,7 +459,7 @@ align-items: center; margin-left: 1.5rem; } } - + @media (max-width: 800px) { .footer-top { display: flex; @@ -421,6 +473,8 @@ align-items: center; font-size: 1.5rem } #ss{ + display: flex; + flex-wrap: wrap; font-size: 1.3rem; } .social-links #insta:hover { @@ -526,6 +580,8 @@ align-items: center; #back-to-top:hover { transform: scale(1.1); } +<<<<<<< HEAD +======= #subscribeBanner { display: none; position: fixed; @@ -655,4 +711,5 @@ align-items: center; #doctor-list li .content:hover { color: aliceblue; font-size: 30px; - } \ No newline at end of file + } +>>>>>>> c95240aabf081bcd1831deb17d34a642e1974c6b diff --git a/Html-Files/Doctor Experience.html b/Html-Files/Doctor Experience.html index f859a624..3eff2565 100644 --- a/Html-Files/Doctor Experience.html +++ b/Html-Files/Doctor Experience.html @@ -5,29 +5,140 @@ RapiDoc + + + + + +
-
+ @@ -42,7 +153,7 @@

Find a Doctor

- + 1000 @@ -148,6 +259,356 @@

RAPIDOC Newsletter


+
+
+ + + +
+
+
+ + + + + diff --git a/Html-Files/customer_agreement.html b/Html-Files/customer_agreement.html index 7b255026..ad6542d2 100644 --- a/Html-Files/customer_agreement.html +++ b/Html-Files/customer_agreement.html @@ -4,115 +4,1132 @@ RapiDoc - - - + + + + + + + + + + + + + + + RapiDoc + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
- -
-
-

Customer Agreement

-
-
-
-

Introduction

-

- Welcome to RAPIDOC Healthcare Website. This Customer Agreement - outlines the terms and conditions under which you may use our online - platform to access healthcare information and services. By using our - website, you agree to comply with and be bound by the terms of this - agreement. -

-
-
-

Services Provided

-
    -
  • - Information Access: RAPIDOC provides information - about the nearest hospitals and healthcare facilities, including - blood availability in emergencies, OPDs, and bed availability. -
  • -
  • - Appointment Booking: Users can prebook - appointments for OPDs at desired hospitals. -
  • -
  • - Emergency Services: Information on emergency - services and blood group availability. -
  • -
  • - Healthcare Facilities: Detailed information on - healthcare services provided by various hospitals. -
  • -
-
-
-

User Responsibilities

-
    -
  • - Accuracy of Information: Users must provide - accurate and up-to-date information when using our services. -
  • -
  • - Compliance: Users must comply with all applicable - laws and regulations when using our platform. -
  • -
  • - Account Security: Users are responsible for - maintaining the confidentiality of their account information and - password. -
  • -
-
-
-

Terms of Use

-
    -
  • - Acceptance of Terms: By accessing and using our - website, you accept and agree to be bound by the terms of this - Customer Agreement. -
  • -
  • - Modification of Terms: RAPIDOC reserves the right - to modify these terms at any time. Any changes will be posted on - this page, and your continued use of the website will constitute - acceptance of the new terms. -
  • -
  • - Termination: RAPIDOC may terminate your access to - the website at any time, without notice, for conduct that it - believes violates this agreement or is harmful to other users of - the website, RAPIDOC, or third parties, or for any other reason. -
  • -
-
-
-

Contact Information

-

- For any questions or concerns about this Customer Agreement, please - contact us at rapidoc@mail.com. -

-
-
-
- -