11"use client" ;
22import { motion } from 'framer-motion'
3+ import { Link } from 'react-router-dom'
34import { useI18n } from '../i18n/context'
45
56export default function Footer ( ) {
@@ -61,36 +62,37 @@ export default function Footer() {
6162 < h4 style = { { fontSize : '0.8rem' , textTransform : 'uppercase' , letterSpacing : '0.1em' , marginBottom : '1rem' , color : 'var(--muted)' } } >
6263 { t . footer ?. vizTitle || 'Quantum Lab' }
6364 </ h4 >
64- < motion . a
65- href = "/quantum"
66- whileHover = { { scale : 1.02 } }
67- style = { {
68- display : 'flex' ,
69- alignItems : 'center' ,
70- gap : '0.75rem' ,
71- padding : '1rem' ,
72- background : 'rgba(0, 229, 153, 0.1)' ,
73- border : '1px solid rgba(0, 229, 153, 0.2)' ,
74- borderRadius : '12px' ,
75- textDecoration : 'none' ,
76- marginBottom : '1rem'
77- } }
78- >
79- < span style = { { fontSize : '2rem' } } > 🔮</ span >
80- < div >
81- < div style = { { color : 'var(--accent)' , fontWeight : 600 , fontSize : '1rem' } } >
82- Launch Quantum Lab
83- </ div >
84- < div style = { { color : 'var(--muted)' , fontSize : '0.75rem' } } >
85- 29 interactive visualizations
65+ < motion . div whileHover = { { scale : 1.02 } } >
66+ < Link
67+ to = "/quantum"
68+ style = { {
69+ display : 'flex' ,
70+ alignItems : 'center' ,
71+ gap : '0.75rem' ,
72+ padding : '1rem' ,
73+ background : 'rgba(0, 229, 153, 0.1)' ,
74+ border : '1px solid rgba(0, 229, 153, 0.2)' ,
75+ borderRadius : '12px' ,
76+ textDecoration : 'none' ,
77+ marginBottom : '1rem'
78+ } }
79+ >
80+ < span style = { { fontSize : '2rem' } } > 🔮</ span >
81+ < div >
82+ < div style = { { color : 'var(--accent)' , fontWeight : 600 , fontSize : '1rem' } } >
83+ Launch Quantum Lab
84+ </ div >
85+ < div style = { { color : 'var(--muted)' , fontSize : '0.75rem' } } >
86+ 29 interactive visualizations
87+ </ div >
8688 </ div >
87- </ div >
88- </ motion . a >
89+ </ Link >
90+ </ motion . div >
8991 < div style = { { display : 'flex' , flexWrap : 'wrap' , gap : '0.5rem' } } >
9092 { [ '⚛️' , '🧠' , '🌊' , '🔗' , '🌀' , '👁️' , '🔺' , '🔥' ] . map ( ( icon , i ) => (
91- < a
93+ < Link
9294 key = { i }
93- href = "/quantum"
95+ to = "/quantum"
9496 style = { {
9597 padding : '0.5rem' ,
9698 background : 'rgba(255,255,255,0.05)' ,
@@ -100,7 +102,7 @@ export default function Footer() {
100102 } }
101103 >
102104 { icon }
103- </ a >
105+ </ Link >
104106 ) ) }
105107 </ div >
106108 </ div >
0 commit comments