@@ -19,9 +19,21 @@ export default function Footer() {
1919 The instant Backend-as-a-Service for frontend developers. Ship faster.
2020 </ p >
2121
22+ < h3 style = { { fontSize : '18px' , fontWeight : 'bold' } } >
23+ Subscribe To Our Newsletter :
24+ </ h3 >
25+ < p style = { { color : '#C0C0C0' , marginBottom : '0.5rem' , maxWidth : '350px' , fontSize : '15px' } } >
26+ Be the first to know what’s shipping next.
27+ </ p >
2228 < div className = "footer-input-wrapper" >
23- < input type = "email" placeholder = "Stay up to date" />
24- < button > < ArrowRight size = { 16 } /> </ button >
29+ < input
30+ type = "email"
31+ placeholder = "Enter your E-mail"
32+ aria-label = "Email address for newsletter subscription"
33+ />
34+ < button type = "button" aria-label = "Subscribe to newsletter" >
35+ < ArrowRight size = { 16 } />
36+ </ button >
2537 </ div >
2638 </ div >
2739
@@ -50,7 +62,7 @@ export default function Footer() {
5062 < a href = "https://github.com/yash-pouranik/urBackend" target = "_blank" className = "social-icon" > < Github size = { 20 } /> </ a >
5163 </ div >
5264 < div className = "legal-links" >
53- < span > © 2025 urBackend Inc.</ span >
65+ < span > © 2026 urBackend Inc.</ span >
5466 </ div >
5567 </ div >
5668
@@ -65,20 +77,22 @@ export default function Footer() {
6577 .modern-footer {
6678 background-color: #050505;
6779 border-top: 1px solid #222;
68- padding-top: 6rem ;
80+ padding-top: 4rem ;
6981 color: #fff;
7082 overflow: hidden;
7183 position: relative;
7284 }
7385
7486 /* --- KEY FIXES HERE --- */
7587 .footer-top {
76- display: flex;
88+ width: 80%;
89+ display: grid;
90+ grid-template-columns: minmax(280px, 360px) 1fr;
7791 flex-wrap: wrap;
78- justify-content : center; /* Center alignment */
92+ justify-self : center;
7993 gap: 4rem; /* Reduced from 8rem to prevent wrapping */
8094 margin-bottom: 5rem;
81- text-align: left; /* Keep text left aligned inside blocks */
95+ text-align: left; /* Keep text left aligned inside blocks */
8296 }
8397
8498 .footer-brand-col {
@@ -87,9 +101,14 @@ export default function Footer() {
87101 }
88102
89103 .footer-nav-grid {
104+ padding-top: 1rem;
105+ padding-left: clamp(0rem, 4vw, 3rem);
106+ width: 100%;
90107 display: flex;
91- gap: 3rem; /* Reduced from 5rem */
108+ flex-direction: row;
109+ gap: clamp(1.5rem, 3vw, 3rem);
92110 flex-wrap: wrap;
111+ justify-content: space-evenly;
93112 }
94113 /* --------------------- */
95114
@@ -101,7 +120,7 @@ export default function Footer() {
101120 border-radius: 50px;
102121 padding: 6px;
103122 width: 100%; /* Fill column width */
104- max-width: 320px ;
123+ max-width: 360px ;
105124 transition: border-color 0.2s;
106125 }
107126 .footer-input-wrapper:focus-within {
@@ -164,8 +183,11 @@ export default function Footer() {
164183 justify-content: center; /* Centered */
165184 gap: 4rem; /* Gap between Socials and Legal */
166185 align-items: center;
167- padding-bottom: 3rem;
186+ padding-bottom: 1rem;
187+ padding-top: 1rem;
168188 border-bottom: 1px solid #222;
189+ border-top: 1px solid #222;
190+
169191 flex-wrap: wrap;
170192 }
171193 .social-links { display: flex; gap: 1.5rem; }
@@ -201,27 +223,37 @@ export default function Footer() {
201223 /* Mobile Tweaks */
202224 @media (max-width: 900px) {
203225 .footer-top {
226+ width: 100%;
227+ display: flex;
204228 flex-direction: column;
205- align-items: center;
206- text-align: center ;
229+ align-items: center;
230+ text-align: left ;
207231 gap: 3rem;
232+ padding: 0 1.5rem;
208233 }
209234 .footer-brand-col {
210235 display: flex;
211- flex-direction: column;
212- align-items: center;
236+ flex-direction: column;
237+ align-items: center;
238+ width: 100%;
213239 }
214240 .footer-nav-grid {
215- gap: 3rem;
216- justify-content: center;
217- text-align: center; /* Center links on mobile for better symmetry */
241+ width: 100%;
242+ gap: 0;
243+ padding-left: 0;
244+ justify-content: flex-start;
245+ text-align: left;
246+ display: grid;
247+ grid-template-columns: 1fr 1fr;
248+ }
249+ .footer-col {
250+ align-items: center;
218251 }
219- /* If using left align on mobile, ensure consistent width */
220- /* .footer-nav-grid { text-align: left; } */
221252
222253 .footer-middle {
223- flex-direction: column ;
254+ flex-direction: row ;
224255 gap: 2rem;
256+ align-items: center;
225257 }
226258 }
227259 ` } </ style >
0 commit comments