Skip to content

Feature/improve call to actions#11

Open
rabehasy wants to merge 3 commits into
yoanbernabeu:mainfrom
rabehasy:feature/improve-call-to-actions
Open

Feature/improve call to actions#11
rabehasy wants to merge 3 commits into
yoanbernabeu:mainfrom
rabehasy:feature/improve-call-to-actions

Conversation

@rabehasy
Copy link
Copy Markdown


What

Improve call-to-action buttons by fixing URI schemes and replacing inline SVGs with Font Awesome icons.

Why

The tel:// and mailto:// URI schemes were incorrect and would break phone/email links on most browsers.
Additionally, the Icon component was bloated with hundreds of lines of hardcoded inline SVG paths, making it hard to maintain and extend.

Changes

  • Bug fix: Corrected URI protocol schemes in Contact.astro — tel:// → tel: and mailto:// → mailto:
  • Refactor: Replaced all hardcoded inline SVG paths in Icon.astro with Font Awesome icon references, drastically reducing component size (~424 lines → ~139 lines)
  • Enhancement: Added Font Awesome icons alongside existing emoji in contact/social buttons

@netlify
Copy link
Copy Markdown

netlify Bot commented Mar 30, 2026

Deploy Preview for linktreefreeclone ready!

Name Link
🔨 Latest commit 8ade821
🔍 Latest deploy log https://app.netlify.com/projects/linktreefreeclone/deploys/69ca6d4986e6990008641a4a
😎 Deploy Preview https://deploy-preview-11--linktreefreeclone.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 project configuration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant