@@ -11,7 +11,7 @@ import { createPortal } from "react-dom";
1111interface FooterStats {
1212 activeUsers : string ;
1313 tutorials : string ;
14- successRate : string ;
14+ peopleSponsored : string ;
1515 supportHours : string ;
1616}
1717
@@ -29,8 +29,8 @@ export default function FooterLayout({
2929 const [ currentYear , setCurrentYear ] = useState ( new Date ( ) . getFullYear ( ) ) ;
3030 const [ stats , setStats ] = useState < FooterStats > ( {
3131 activeUsers : "50K+" ,
32- tutorials : "200 +" ,
33- successRate : "95% " ,
32+ tutorials : "70 +" ,
33+ peopleSponsored : "45 " ,
3434 supportHours : "24/7" ,
3535 } ) ;
3636 const [ email , setEmail ] = useState ( "" ) ;
@@ -44,13 +44,13 @@ export default function FooterLayout({
4444 try {
4545 // Simulate API call with realistic growth
4646 const baseUsers = 52000 ;
47- const baseTutorials = 215 ;
47+ const baseTutorials = 75 ;
4848 const randomGrowth = Math . floor ( Math . random ( ) * 100 ) ;
4949
5050 setStats ( {
5151 activeUsers : `${ Math . floor ( ( baseUsers + randomGrowth ) / 1000 ) } K+` ,
5252 tutorials : `${ baseTutorials + Math . floor ( randomGrowth / 10 ) } +` ,
53- successRate : `${ 95 + Math . floor ( Math . random ( ) * 3 ) } % ` ,
53+ peopleSponsored : `${ 45 + Math . floor ( Math . random ( ) * 5 ) } ` ,
5454 supportHours : "24/7" ,
5555 } ) ;
5656 } catch ( error ) {
@@ -206,9 +206,9 @@ export default function FooterLayout({
206206 </ div >
207207 < div className = "stat-content" >
208208 < div className = "stat-number" >
209- < Counter value = { parseInt ( stats . successRate ) } suffix = "% " />
209+ < Counter value = { parseInt ( stats . peopleSponsored ) } suffix = "+ " />
210210 </ div >
211- < div className = "stat-label" > Success Rate </ div >
211+ < div className = "stat-label" > People Sponsored </ div >
212212 </ div >
213213 </ div >
214214
@@ -370,9 +370,8 @@ export default function FooterLayout({
370370 />
371371 < button
372372 type = "submit"
373- className = { `newsletter-button ${
374- isSubscribed ? "subscribed" : ""
375- } `}
373+ className = { `newsletter-button ${ isSubscribed ? "subscribed" : ""
374+ } `}
376375 disabled = { isSubscribed }
377376 >
378377 { isSubscribed ? "✓ Subscribed!" : "Subscribe Now →" }
@@ -477,7 +476,7 @@ export default function FooterLayout({
477476 < span >
478477 © { currentYear } recodehive. Made with ❤️ by the { " " }
479478 < a href = "https://github.com/recodehive/recode-website/graphs/contributors" target = "_blank" rel = "noopener noreferrer" >
480- the Community
479+ the Community
481480 </ a >
482481 .
483482 </ span >
0 commit comments