update
This commit is contained in:
@@ -1,9 +1,6 @@
|
||||
"use client";
|
||||
import { useEffect } from "react";
|
||||
import Link from "next/link";
|
||||
import Image from "next/legacy/image";
|
||||
import gsap from "gsap";
|
||||
import ScrollTrigger from "gsap/dist/ScrollTrigger";
|
||||
import location from "@/public/images/footer/location.png";
|
||||
import phone from "@/public/images/footer/phone.png";
|
||||
import gmail from "@/public/images/footer/gmail.png";
|
||||
@@ -33,24 +30,6 @@ const Footer = () => {
|
||||
})
|
||||
};
|
||||
|
||||
useEffect(() => {
|
||||
gsap.registerPlugin(ScrollTrigger);
|
||||
gsap.set(".foot-fade", {
|
||||
x: -100,
|
||||
opacity: 0,
|
||||
});
|
||||
|
||||
ScrollTrigger.batch(".foot-fade", {
|
||||
start: "-100px bottom",
|
||||
onEnter: (elements) =>
|
||||
gsap.to(elements, {
|
||||
x: 0,
|
||||
opacity: 1,
|
||||
stagger: 0.3,
|
||||
}),
|
||||
});
|
||||
}, []);
|
||||
|
||||
// Get logo URL from static data
|
||||
const logoSrc = headerData.logoUrl;
|
||||
|
||||
@@ -80,8 +59,8 @@ const Footer = () => {
|
||||
width={160}
|
||||
height={120}
|
||||
style={{
|
||||
height: 'auto',
|
||||
maxHeight: '120px'
|
||||
width: 'auto',
|
||||
height: 'auto'
|
||||
}}
|
||||
/>
|
||||
</Link>
|
||||
@@ -132,7 +111,7 @@ const Footer = () => {
|
||||
<div className="footer-section">
|
||||
<h6 className="text-white fm fw-6 mb-24">Resources</h6>
|
||||
<ul className="footer-links">
|
||||
<li><Link href="blog">Software Blog</Link></li>
|
||||
<li><Link href="/insights">Software Insights</Link></li>
|
||||
<li><Link href="case-study">Development Resources</Link></li>
|
||||
<li><Link href="services">API Documentation</Link></li>
|
||||
<li><Link href="contact-us">Technical Support</Link></li>
|
||||
|
||||
@@ -155,7 +155,9 @@ const Header = () => {
|
||||
alt="Logo"
|
||||
width={160}
|
||||
height={120}
|
||||
priority
|
||||
style={{
|
||||
width: 'auto',
|
||||
height: 'auto'
|
||||
}}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user