@@ -3,11 +3,11 @@ import { motion } from 'motion/react'
33import { ArrowUpRight } from 'lucide-react'
44import SongPng from '@assets/images/song.png'
55
6- const Footer = ( ) => {
6+ const FixFooter = ( ) => {
77 return (
8- < footer className = "sticky bottom-0 left-0 z-0 w-full bg-[#0a192f] py-16 text-white" >
9- < div className = "container mx-auto px-4" >
10- < div className = "grid grid-cols-1 gap-12 md:grid-cols-2 lg:grid-cols-4" >
8+ < footer className = "sticky bottom-0 left-0 z-0 w-full bg-[#0a192f] py-12 text-white" >
9+ < div className = "mx-auto w-full max-w-6xl px-4 sm:px-6 lg:px-8 " >
10+ < div className = "grid grid-cols-1 gap-10 md:grid-cols-2 lg:grid-cols-4" >
1111 < div className = "space-y-6" >
1212 < motion . h2
1313 className = "bg-gradient-to-r from-blue-400 via-purple-500 to-pink-500 bg-clip-text text-4xl font-bold text-transparent"
@@ -17,15 +17,15 @@ const Footer = () => {
1717 >
1818 < img src = { SongPng } width = "40" height = "40" alt = "Logo" />
1919 </ motion . h2 >
20- < p className = "" > Shaping the future of web development</ p >
20+ < p className = "text-sm leading-relaxed sm:text-base " > Shaping the future of web development</ p >
2121 < div className = "relative" >
2222 < input
2323 type = "email"
2424 placeholder = "Your email"
25- className = "w-full rounded-full border-2 px-4 py-2 transition-all duration-300 outline-none"
25+ className = "w-full rounded-full border-2 px-4 py-2 pr-12 text-sm transition-all duration-300 outline-none sm:text-base "
2626 />
27- < button className = "absolute top-2 right-1 rounded-full p-1 transition-colors duration-300" >
28- < ArrowUpRight className = "size -4" />
27+ < button className = "absolute top-1/ 2 right-2 -translate-y-1/2 rounded-full p-2 transition-colors duration-300" >
28+ < ArrowUpRight className = "h-4 w -4" />
2929 </ button >
3030 </ div >
3131 </ div >
@@ -37,7 +37,7 @@ const Footer = () => {
3737 < motion . li key = { item } whileHover = { { x : 5 } } transition = { { type : 'spring' , stiffness : 300 } } >
3838 < a
3939 href = { `#${ item . toLowerCase ( ) } ` }
40- className = "text-black transition-colors duration-300 dark:text-white"
40+ className = "text-sm text- black transition-colors duration-300 sm:text-base dark:text-white"
4141 >
4242 { item }
4343 </ a >
@@ -60,7 +60,7 @@ const Footer = () => {
6060 href = { item . url }
6161 target = "_blank"
6262 rel = "noopener noreferrer"
63- className = "flex items-center text-black transition-colors duration-300 dark:text-white"
63+ className = "flex items-center text-sm text- black transition-colors duration-300 sm:text-base dark:text-white"
6464 >
6565 { item . name }
6666 < ArrowUpRight className = "ml-1 h-4 w-4" />
@@ -72,7 +72,7 @@ const Footer = () => {
7272
7373 < div className = "space-y-4" >
7474 < h3 className = "text-xl font-semibold" > Our Vision</ h3 >
75- < p className = "" >
75+ < p className = "text-sm leading-relaxed sm:text-base " >
7676 Pioneering the next generation of web experiences through innovative code and cutting-edge design.
7777 </ p >
7878 < div className = "flex space-x-4" >
@@ -95,16 +95,16 @@ const Footer = () => {
9595 </ div >
9696 </ div >
9797
98- < div className = "mt-12 flex flex-col items-center justify-between border-t border-white/10 pt-8 md:flex-row" >
99- < p className = "text-sm" > © { new Date ( ) . getFullYear ( ) } . All rights reserved.</ p >
100- < div className = "mt-4 flex space-x-4 md:mt-0 " >
101- < a className = "text-sm transition-colors duration-300 hover:text-white" > Privacy Policy</ a >
102- < a className = "text-sm transition-colors duration-300 hover:text-white" > Terms of Service</ a >
98+ < div className = "mt-12 flex flex-col items-center justify-between gap-4 border-t border-white/10 pt-8 md:flex-row" >
99+ < p className = "text-center text-xs sm:text- sm" > © { new Date ( ) . getFullYear ( ) } . All rights reserved.</ p >
100+ < div className = "flex flex-wrap justify-center gap-3 text-xs sm:text-sm " >
101+ < a className = "transition-colors duration-300 hover:text-white" > Privacy Policy</ a >
102+ < a className = "transition-colors duration-300 hover:text-white" > Terms of Service</ a >
103103 </ div >
104104 </ div >
105105 </ div >
106106 </ footer >
107107 )
108108}
109109
110- export default Footer
110+ export default FixFooter
0 commit comments