@@ -48,17 +48,17 @@ export default function HomePage() {
4848 Game Showcase
4949 </ h1 >
5050 </ div >
51- < main className = "mx-auto min-h-screen max-w-7xl px-6 py-16" >
51+ < main className = "mx-auto min-h-screen max-w-7xl px-6 py-6 lg:py- 16" >
5252 { ! showcases || showcases . length === 0 ? (
5353 < p > No games available.</ p >
5454 ) : (
55- < div className = "flex flex-col gap-32" >
55+ < div className = "flex flex-col gap-12 lg:gap- 32" >
5656 { showcases . map ( ( showcase , idx ) => (
5757 < React . Fragment key = { showcase . game_name + idx } >
58- < div className = "flex flex-col gap-8" >
58+ < div className = "flex flex-col lg: gap-8" >
5959 { /* Game CoverImage + Gameshowcase Detail */ }
6060 < div
61- className = { `flex flex-col gap-8 rounded-xl p-8 ${ idx % 2 === 0 ? "lg:flex-row" : "lg:flex-row-reverse" } ` }
61+ className = { `flex flex-col gap-8 rounded-xl p-4 lg:p- 8 ${ idx % 2 === 0 ? "lg:flex-row" : "lg:flex-row-reverse" } ` }
6262 >
6363 { /* Left: Cover Image */ }
6464 < div className = "bg-logo-blue-1 flex min-h-48 w-full items-center justify-center overflow-hidden rounded-xl lg:w-auto lg:grow-[4] lg:basis-0" >
@@ -83,7 +83,7 @@ export default function HomePage() {
8383 ) }
8484 </ div >
8585 { /* Right: Details */ }
86- < div className = "flex flex-col rounded-lg border-2 border-solid border-neutral_3 p-8 shadow-lg lg:grow-[3] lg:basis-0" >
86+ < div className = "flex flex-col rounded-lg border-2 border-solid border-neutral_3 p-4 shadow-lg lg:grow-[3] lg:basis-0 lg:p-8 " >
8787 < div >
8888 { /* Title of the game */ }
8989 < h2 className = "mb-4 font-jersey10 text-3xl font-bold tracking-wide text-primary" >
@@ -100,7 +100,7 @@ export default function HomePage() {
100100 </ Link >
101101 </ h2 >
102102 { /* Comments from committes */ }
103- < p className = "relative mb-6 pl-10 pr-10 text-lg text-foreground" >
103+ < p className = "relative mb-6 pl-10 pr-10 text-base text-foreground md:text-lg " >
104104 { /* double quotes from comments */ }
105105 < span
106106 className = "absolute left-0 top-0 select-none text-4xl text-primary"
@@ -126,17 +126,19 @@ export default function HomePage() {
126126 { showcase . contributors . map ( ( contributor , cidx ) => (
127127 < li
128128 key = { contributor . name + cidx }
129- className = "mb-2 flex items-center gap-4"
129+ className = "mb-6 flex flex-col items-center gap-2 md:mb-2 md:flex-row md: gap-4"
130130 >
131- < span className = "font-semibold text-foreground" >
132- { contributor . name }
133- </ span >
134- < span className = "text-muted-foreground" >
135- { contributor . role }
136- </ span >
131+ < div className = "flex flex-row gap-2" >
132+ < span className = "font-semibold text-foreground" >
133+ { contributor . name }
134+ </ span >
135+ < span className = "text-muted-foreground" >
136+ { contributor . role }
137+ </ span >
138+ </ div >
137139 { /* Social icons placeholder */ }
138140 { /* TODO: Add actual links */ }
139- < span className = "ml-auto flex gap-2 text-primary" >
141+ < span className = "flex gap-2 text-primary md:ml-auto " >
140142 { /* Social icons using react-social-icons */ }
141143 < SocialIcon
142144 url = "https://facebook.com/"
0 commit comments