Anishkagupta04 / RAPIDOC-HEALTHCARE-WEBSITE-

It is an online platform based on providing healthcare facilites to the user and information regarding hospital like availability of beds, total number of patients,,helping user to prebook appointments for OPD ,check availability of blood groups in hospitals and many more .
https://rapidoc.netlify.app
MIT License
150 stars 257 forks source link

🪲[Bug]: Enable Click-to-Redirect Functionality for Contact Information Links #181

Closed MrPC7 closed 3 months ago

MrPC7 commented 3 months ago

Issue: Enable Click-to-Redirect Functionality for Contact Information Links

Describe the bug

Contact information links (location, email, and phone number) do not redirect to the default app on the user's device when clicked. Instead, they are displayed as plain text without any interactivity.

To Reproduce

Steps to reproduce the behavior:

  1. Go to the contact section of the page.
  2. Click on the email address: rapidoc@mail.com.
  3. Click on the phone number: +91 1234567890.
  4. Click on the address: IGDTUW, Delhi.
  5. Observe that no default application (email client, phone dialer, or maps application) is opened.

Expected Behavior

When the email address is clicked, it should open the default email client with a new message addressed to rapidoc@mail.com. When the phone number is clicked, it should open the phone dialer with +91 1234567890 pre-filled. Clicking on the address should open the default maps application showing the location.

Additional Context

Ensuring these links redirect to the appropriate default applications will enhance user experience by providing seamless interaction with contact information.

Solution

Update the contact information links to use mailto for email, tel for phone number, and a Google Maps link for the address to ensure they open the appropriate default applications (email client, phone dialer, and maps application) on the user's device when clicked.

Assign me this issue under GSSOC24

github-actions[bot] commented 3 months ago

Hi there! Thanks for opening this issue. We appreciate your contribution to this open-source project. We aim to respond or assign your issue as soon as possible.

Anishkagupta004 commented 3 months ago

Assigning