@@ -88,87 +88,74 @@ export const Footer: React.FC = () => {
8888 ]
8989
9090 return (
91- < div className = "flex flex-col items-start justify-center gap-8 bg-transparent px-6 py-8 md:items-center md:px-4" >
92- { /* Decorative divider: line × line × line (not full-width) */ }
93- < div className = "mx-auto mt-1 flex w-full max-w-5xl select-none items-center gap-7 px-2" >
94- < div className = "h-px flex-1 rounded bg-white/10" aria-hidden = "true" />
95- < span
96- className = "text-[12px] tracking-widest text-white/30"
97- aria-hidden = "true"
98- >
99- ×
100- </ span >
101- < div className = "h-px flex-1 rounded bg-white/10" aria-hidden = "true" />
102- < span
103- className = "text-[12px] tracking-widest text-white/30"
104- aria-hidden = "true"
105- >
106- ×
107- </ span >
108- < div className = "h-px flex-1 rounded bg-white/10" aria-hidden = "true" />
109- </ div >
110- < div className = "flex w-full max-w-4xl flex-col items-start justify-start gap-4 md:flex-row md:items-center md:justify-center md:gap-8" >
111- < div className = "mb-2 flex flex-col items-start gap-1 md:mb-0 md:items-center md:gap-0.5" >
112- < div className = "flex items-center gap-2" >
113- < Image
114- src = "/maia-no-bg.png"
115- alt = "Maia Chess"
116- width = { 26 }
117- height = { 26 }
118- />
119- < p className = "text-xl font-bold text-primary" > Maia Chess</ p >
120- </ div >
121- < p className = "max-w-[200px] text-left text-sm text-secondary md:max-w-[160px] md:text-center md:text-xs" >
122- A project by the{ ' ' }
123- < a
124- target = "_blank"
125- rel = "noreferrer"
126- href = "http://csslab.cs.toronto.edu/"
127- className = "text-primary"
128- >
129- University of Toronto CSSLab
130- </ a >
131- </ p >
91+ < div className = "flex w-full flex-col items-center justify-center py-4" >
92+ < div className = "flex w-[90%] flex-col items-start justify-center gap-6 bg-transparent md:items-center" >
93+ < div className = "mx-auto mt-1 flex w-full select-none items-center gap-7" >
94+ < div className = "h-px flex-1 rounded bg-white/10" aria-hidden = "true" />
13295 </ div >
133- < div className = "hidden h-10 w-[1px] rounded-full bg-white/10 md:block" />
134- < div className = "flex flex-col gap-6 md:flex-row md:gap-10" >
135- { footerSections . map ( ( section , index ) => (
136- < div
137- key = { index }
138- className = "flex flex-col items-start justify-start gap-1.5 md:gap-0.5"
139- >
140- < p className = "text-base font-medium md:text-sm" >
141- { section . title }
142- </ p >
143- { section . links . map ( ( link , linkIndex ) => (
144- < a
145- key = { linkIndex }
146- href = { link . href }
147- target = "_blank"
148- rel = "noreferrer"
149- className = "mt-0.5 md:mt-0.5"
150- >
151- { link . icon ? (
152- < div className = "flex items-center gap-1.5 text-secondary transition duration-200 hover:text-primary/80" >
153- < span className = "material-symbols-outlined !text-sm md:!text-xs" >
154- { link . icon }
155- </ span >
156- < p className = "text-sm md:text-xs" > { link . text } </ p >
157- </ div >
158- ) : (
159- < p className = "text-sm text-secondary transition duration-200 hover:text-primary/80 md:text-xs" >
160- { link . text }
161- </ p >
162- ) }
163- </ a >
164- ) ) }
96+ < div className = "flex w-full max-w-4xl flex-col items-start justify-start gap-4 md:flex-row md:items-center md:justify-center md:gap-8" >
97+ < div className = "mb-2 flex flex-col items-start gap-1 md:mb-0 md:items-center md:gap-0.5" >
98+ < div className = "flex items-center gap-2" >
99+ < Image
100+ src = "/maia-no-bg.png"
101+ alt = "Maia Chess"
102+ width = { 26 }
103+ height = { 26 }
104+ />
105+ < p className = "text-xl font-bold text-primary" > Maia Chess</ p >
165106 </ div >
166- ) ) }
107+ < p className = "max-w-[200px] text-left text-sm text-secondary md:max-w-[160px] md:text-center md:text-xs" >
108+ A project by the{ ' ' }
109+ < a
110+ target = "_blank"
111+ rel = "noreferrer"
112+ href = "http://csslab.cs.toronto.edu/"
113+ className = "text-primary"
114+ >
115+ University of Toronto CSSLab
116+ </ a >
117+ </ p >
118+ </ div >
119+ < div className = "hidden h-10 w-[1px] rounded-full bg-white/10 md:block" />
120+ < div className = "flex flex-col gap-6 md:flex-row md:gap-10" >
121+ { footerSections . map ( ( section , index ) => (
122+ < div
123+ key = { index }
124+ className = "flex flex-col items-start justify-start gap-1.5 md:gap-0.5"
125+ >
126+ < p className = "text-base font-medium md:text-sm" >
127+ { section . title }
128+ </ p >
129+ { section . links . map ( ( link , linkIndex ) => (
130+ < a
131+ key = { linkIndex }
132+ href = { link . href }
133+ target = "_blank"
134+ rel = "noreferrer"
135+ className = "mt-0.5 md:mt-0.5"
136+ >
137+ { link . icon ? (
138+ < div className = "flex items-center gap-1.5 text-secondary transition duration-200 hover:text-primary/80" >
139+ < span className = "material-symbols-outlined !text-sm md:!text-xs" >
140+ { link . icon }
141+ </ span >
142+ < p className = "text-sm md:text-xs" > { link . text } </ p >
143+ </ div >
144+ ) : (
145+ < p className = "text-sm text-secondary transition duration-200 hover:text-primary/80 md:text-xs" >
146+ { link . text }
147+ </ p >
148+ ) }
149+ </ a >
150+ ) ) }
151+ </ div >
152+ ) ) }
153+ </ div >
167154 </ div >
155+ < p className = "text-left text-sm text-secondary md:text-center md:text-xs" >
156+ © 2025 Maia Chess. All rights reserved.
157+ </ p >
168158 </ div >
169- < p className = "text-left text-sm text-secondary md:text-center md:text-xs" >
170- © 2025 Maia Chess. All rights reserved.
171- </ p >
172159 </ div >
173160 )
174161}
0 commit comments