Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make Phone Number Clickable in Footer #1031

Merged
merged 2 commits into from
Feb 6, 2025

Conversation

hamedp77
Copy link
Contributor

@hamedp77 hamedp77 commented Feb 3, 2025

Issue

No related issue.

Description

This pull request updates the footer.html partial file to improve user experience by wrapping the existing phone number <span> element in a clickable <a> tag with the tel: protocol. This change allows users to easily initiate a call or access contact software on their devices by clicking or tapping on the phone number.

Changes Made:

  • Wrapped the phone number <span> in an <a> tag with the tel: attribute in layouts/partials/footer.html.
  • Ensured that the phone number is now clickable on both mobile and desktop devices.

Benefits:

  • Enhances accessibility and usability for users wishing to contact us directly.
  • Simplifies the process of making phone calls from the website.

Test Evidence

Trust me bro.

Screenshot (1)-cropped

Copy link

netlify bot commented Feb 3, 2025

Deploy Preview for toha-ci ready!

Name Link
🔨 Latest commit e4c350e
🔍 Latest deploy log https://app.netlify.com/sites/toha-ci/deploys/67a50e3880a0580008a84688
😎 Deploy Preview https://deploy-preview-1031--toha-ci.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link
Member

@hossainemruz hossainemruz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @hamedp77

@hossainemruz hossainemruz added enhancement New feature or request feature and removed enhancement New feature or request labels Feb 6, 2025
@hossainemruz hossainemruz merged commit 181c123 into hugo-toha:main Feb 6, 2025
13 of 14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants