Icons Updated

This commit is contained in:
akash 2025-09-16 20:06:40 +05:30
parent b51fba2b97
commit dbccd8e468
9 changed files with 44 additions and 33 deletions

View File

@ -21,7 +21,7 @@ export default function ContactFloat() {
}, },
{ {
action: () => setShowChat(true), action: () => setShowChat(true),
src: "/assets/images/icons/chat.png", src: "/assets/images/chat.png",
label: "Chat", label: "Chat",
}, },
]; ];
@ -35,16 +35,17 @@ export default function ContactFloat() {
className="extra-icons-wrapper" className="extra-icons-wrapper"
style={{ style={{
position: "absolute", position: "absolute",
bottom: "71px", bottom: "11px",
right: "-80", background: "rgb(255, 255, 255)",
background: "#fff", borderRadius: "30px 30px 35px 35px",
borderRadius: "30px 30px 0 0", boxShadow: "0px 4px 12px rgba(0, 0, 0, 0.2)",
boxShadow: "0 4px 12px rgba(0,0,0,0.2)",
padding: "10px", padding: "10px",
display: "flex", display: "flex",
flexDirection: "column", flexDirection: "column",
gap: "15px", gap: "15px",
alignItems: "center", alignItems: "center",
paddingBottom: "67px",
left: "-5px",
}} }}
> >
{extraIcons.map((icon, i) => {extraIcons.map((icon, i) =>
@ -119,7 +120,7 @@ export default function ContactFloat() {
<img <img
src={ src={
open open
? "/assets/images/icons/cross-out.png" ? "/assets/images/cancel.png"
: "/assets/images/icons/call.png" : "/assets/images/icons/call.png"
} }
alt="Contact" alt="Contact"
@ -213,7 +214,7 @@ function ChatForm({ onClose }) {
}; };
return ( return (
<div <div
className="chat-form-wrapper" className="chat-form-wrapper"
style={{ style={{
position: "fixed", position: "fixed",

View File

@ -8,13 +8,13 @@ export default function SocialFloat() {
const socialIcons = [ const socialIcons = [
{ {
href: "https://www.facebook.com/ELRaphaRehabCenter/", href: "https://www.facebook.com/ELRaphaRehabCenter/",
iconClass: "icon-4", // Facebook iconClass: "icon-4",
label: "Facebook", label: "Facebook",
offset: -40, offset: -40,
}, },
{ {
href: "https://www.instagram.com/elrapharehab/", href: "https://www.instagram.com/elrapharehab/",
iconClass: "icon-7", // Instagram iconClass: "icon-7",
label: "Instagram", label: "Instagram",
offset: 40, offset: 40,
}, },
@ -81,14 +81,14 @@ export default function SocialFloat() {
alignItems: "center", alignItems: "center",
justifyContent: "center", justifyContent: "center",
cursor: "pointer", cursor: "pointer",
color: "#fff", // Main button icon color white color: "#fff",
}} }}
> >
<img <img
src={ src={
open open
? "/assets/images/logo-2.png" ? "/assets/images/cancel.png"
: "/assets/images/logo-2.png" : "/assets/images/share.png"
} }
alt="Social" alt="Social"
style={{ width: "28px", height: "28px" }} style={{ width: "28px", height: "28px" }}

View File

@ -13,7 +13,6 @@ export default function Footer2() {
]; ];
return ( return (
<> <>
<footer className="main-footer"> <footer className="main-footer">
@ -51,12 +50,6 @@ export default function Footer2() {
<Link href="https://www.instagram.com/elrapharehab/" target="_blank" <Link href="https://www.instagram.com/elrapharehab/" target="_blank"
rel="noopener noreferrer"><i className="icon-4"></i></Link> rel="noopener noreferrer"><i className="icon-4"></i></Link>
</li> </li>
{/* <li>
<Link href="/"><i className="icon-5"></i></Link>
</li>
<li>
<Link href="/"><i className="icon-6"></i></Link>
</li> */}
<li> <li>
<Link href="https://www.facebook.com/ELRaphaRehabCenter/" target="_blank" <Link href="https://www.facebook.com/ELRaphaRehabCenter/" target="_blank"
rel="noopener noreferrer"><i className="icon-7"></i></Link> rel="noopener noreferrer"><i className="icon-7"></i></Link>
@ -114,16 +107,18 @@ export default function Footer2() {
</div> </div>
</div> </div>
<div className="col-lg-3 col-md-6 col-sm-12 footer-column"> <div className="col-lg-3 col-md-6 col-sm-12 footer-column">
<div className="footer-widget links-widget"> <div className="footer-widget links-widget">
<div className="widget-title"> <div className="widget-title">
<h3>REHABILITATION</h3> <h3>ACCIDENT</h3>
</div> </div>
<div className="widget-content"> <div className="widget-content">
<ul className="links-list clearfix"> <ul className="links-list clearfix">
{Rehabilitation.map((item) => ( {Accident.map((item) => (
<li key={item.id}> <li key={item.id}>
<Link href={`/rehabilitation/${item.slug}`}> <Link href={`/accident/${item.slug}`}>
{item.title} {item.title}
</Link> </Link>
</li> </li>
@ -136,13 +131,13 @@ export default function Footer2() {
<div className="col-lg-3 col-md-6 col-sm-12 footer-column"> <div className="col-lg-3 col-md-6 col-sm-12 footer-column">
<div className="footer-widget links-widget"> <div className="footer-widget links-widget">
<div className="widget-title"> <div className="widget-title">
<h3>ACCIDENT</h3> <h3>REHABILITATION</h3>
</div> </div>
<div className="widget-content"> <div className="widget-content">
<ul className="links-list clearfix"> <ul className="links-list clearfix">
{Accident.map((item) => ( {Rehabilitation.map((item) => (
<li key={item.id}> <li key={item.id}>
<Link href={`/accident/${item.slug}`}> <Link href={`/rehabilitation/${item.slug}`}>
{item.title} {item.title}
</Link> </Link>
</li> </li>
@ -171,7 +166,7 @@ export default function Footer2() {
</li> </li>
<li> <li>
<i className="icon-26"></i> <i className="icon-26"></i>
<Link href="mailto:bloor@rapharehab.ca"> <Link href="mailto:example@info.com">
bloor@rapharehab.ca bloor@rapharehab.ca
</Link> </Link>
</li> </li>

View File

@ -50,12 +50,6 @@ export default function Footer2() {
<Link href="https://www.instagram.com/elrapharehab/" target="_blank" <Link href="https://www.instagram.com/elrapharehab/" target="_blank"
rel="noopener noreferrer"><i className="icon-4"></i></Link> rel="noopener noreferrer"><i className="icon-4"></i></Link>
</li> </li>
{/* <li>
<Link href="/"><i className="icon-5"></i></Link>
</li>
<li>
<Link href="/"><i className="icon-6"></i></Link>
</li> */}
<li> <li>
<Link href="https://www.facebook.com/ELRaphaRehabCenter/" target="_blank" <Link href="https://www.facebook.com/ELRaphaRehabCenter/" target="_blank"
rel="noopener noreferrer"><i className="icon-7"></i></Link> rel="noopener noreferrer"><i className="icon-7"></i></Link>

View File

@ -2272,6 +2272,27 @@
margin-bottom: 30px; margin-bottom: 30px;
} }
/* Footer social icons only */
.main-footer .social-links li a {
display: inline-flex;
align-items: center;
justify-content: center;
width: 40px;
height: 40px;
border-radius: 50%;
background: #fff !important; /* white background */
text-decoration: none;
}
.main-footer .social-links li a i,
.main-footer .social-links li a i::before {
color: #e60000 !important; /* red icon */
font-size: 18px;
line-height: 1;
display: inline-block;
}
.main-footer .logo-widget p { .main-footer .logo-widget p {
margin-bottom: 30px; margin-bottom: 30px;
} }

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 9.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 550 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 690 B