Skip to content

Commit

Permalink
Add social links
Browse files Browse the repository at this point in the history
  • Loading branch information
aelassas committed Dec 7, 2024
1 parent 075db75 commit 599f72d
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
6 changes: 6 additions & 0 deletions frontend/src/assets/css/footer.css
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ div.footer div.contact {
display: flex;
flex-direction: row;
align-items: center;
margin: 10px 0;
}

div.footer div.contact .icon {
Expand All @@ -72,6 +73,11 @@ div.footer div.contact a:hover {
opacity: 0.85;
}

div.footer div.contact .social-icon {
color: #525252;
margin-right: 12px;
}

div.footer section.payment {
width: 100%;
display: flex;
Expand Down
15 changes: 14 additions & 1 deletion frontend/src/components/Footer.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
import React from 'react'
import { useNavigate } from 'react-router-dom'
import { MailOutline } from '@mui/icons-material'
import { Link } from '@mui/material'
import {
MailOutline,
FacebookTwoTone as FacebookIcon,
X,
LinkedIn,
Instagram,
} from '@mui/icons-material'
import { strings } from '@/lang/footer'

import SecurePayment from '@/assets/img/secure-payment.png'
Expand Down Expand Up @@ -38,6 +45,12 @@ const Footer = () => {
<MailOutline className="icon" />
<a href="mailto:info@bookcars.ma">info@bookcars.ma</a>
</div>
<div className="contact">
<Link href="https://www.facebook.com/" target="_blank"><FacebookIcon className="social-icon" /></Link>
<Link href="https://x.com/" target="_blank"><X className="social-icon" /></Link>
<Link href="https://www.linkedin.com/" target="_blank"><LinkedIn className="social-icon" /></Link>
<Link href="https://www.instagram.com/" target="_blank"><Instagram className="social-icon" /></Link>
</div>
</div>
</section>
<section className="payment">
Expand Down

0 comments on commit 599f72d

Please sign in to comment.