@@ -9,9 +9,8 @@ const socialLinks = [
99 { name : 'Bluesky' , url : 'https://bsky.app/profile/chovyfu.bsky.social' } ,
1010] ;
1111
12- const currentYear = new Date ( ) . getFullYear ( ) ;
1312
14- export default function Footer ( ) {
13+ export default function Footer ( { bottom } ) {
1514 const { t } = useI18n ( ) ;
1615 const onionUrl = process . env . NEXT_PUBLIC_ONION_URL ;
1716 const isOnionSite = typeof window !== 'undefined' && window . location . hostname . endsWith ( '.onion' ) ;
@@ -73,15 +72,8 @@ export default function Footer() {
7372 </ div >
7473 </ div >
7574
76- < div className = "footer-bottom" >
77- < p > © { currentYear } QryptChat. All rights reserved.</ p >
78- < nav className = "webring" aria-label = "Profullstack webring" >
79- < a href = "https://rssamplifier.com/ring/profullstack/previous?from=https%3A%2F%2Fqrypt.chat%2F" rel = "prev" > { "<<" } </ a >
80- < a href = "https://rssamplifier.com/ring/profullstack" > Profullstack</ a >
81- < a href = "https://rssamplifier.com/ring/profullstack/next?from=https%3A%2F%2Fqrypt.chat%2F" rel = "next" > { ">>" } </ a >
82- < a href = "https://rssamplifier.com/ring/profullstack/random?from=https%3A%2F%2Fqrypt.chat%2F" title = "Random site" aria-label = "Random site" > { "⚄" } </ a >
83- </ nav >
84- </ div >
75+ { /* Copyright + Profullstack webring: @profullstack/footer, server-rendered in app/layout.jsx */ }
76+ { bottom && < div className = "footer-bottom" > { bottom } </ div > }
8577
8678 < style > { `
8779 .footer { background: var(--color-bg-secondary); border-top: 1px solid var(--color-border-primary); padding: var(--space-12) 0 var(--space-6); }
@@ -100,11 +92,7 @@ export default function Footer() {
10092 .social-links { display: flex; flex-direction: column; gap: var(--space-2); }
10193 .social-link { color: var(--color-text-secondary); text-decoration: none; font-size: 0.875rem; transition: color .2s; }
10294 .social-link:hover { color: var(--color-brand-primary); }
103- .footer-bottom { max-width: 1200px; margin: var(--space-8) auto 0; padding: var(--space-6) var(--space-6) 0; border-top: 1px solid var(--color-border-primary); }
104- .footer-bottom p { color: var(--color-text-secondary); font-size: 0.875rem; }
105- .footer-bottom .webring { display: flex; gap: var(--space-3); margin-top: var(--space-2); font-size: 0.75rem; }
106- .footer-bottom .webring a { color: var(--color-text-secondary); text-decoration: none; transition: color .2s; }
107- .footer-bottom .webring a:hover { color: var(--color-brand-primary); }
95+ .footer-bottom { max-width: 1200px; margin: var(--space-8) auto 0; }
10896 @media (max-width: 768px) {
10997 .footer-content { grid-template-columns: 1fr; }
11098 .footer-links { flex-direction: column; }
0 commit comments