Skip to content

Commit

Permalink
Fix: use environment variable for contact email in footer
Browse files Browse the repository at this point in the history
  • Loading branch information
aelassas committed Jan 14, 2025
1 parent 41e5cfe commit 314b097
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/components/Footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ const Footer = () => {
</ul>
<div className="footer-contact">
<MailOutline className="icon" />
<a href="mailto:info@bookcars.ma">info@bookcars.ma</a>
<a href={`mailto:${env.CONTACT_EMAIL}`}>{env.CONTACT_EMAIL}</a>
</div>
<div className="footer-contact">
<IconButton href="https://www.facebook.com/" target="_blank" aria-label="Facebook" className="social-icon"><FacebookIcon /></IconButton>
Expand Down

0 comments on commit 314b097

Please sign in to comment.