22import Image from 'next/image' ;
33import clsx from 'clsx' ;
44import { useWindowSize } from '@/app/lib/useWindowSize' ;
5- import GenericSection from './GenericSection' ;
6- import SectionTitle from './SectionTitle' ;
75import { longCang , brush } from '@/app/ui/fonts' ;
86
97const animalQuality = 100 ;
@@ -15,15 +13,13 @@ function AboutInfo({
1513 alt,
1614 reverse,
1715 titleColor = '#C3557D' ,
18- downsize = false
1916} : {
2017 children : React . ReactNode ;
2118 title : string ;
2219 imageSrc : string ;
2320 alt : string ;
2421 reverse ?: boolean ;
2522 titleColor : string ;
26- downsize ?: boolean ;
2723} ) {
2824 const size = useWindowSize ( ) ;
2925 /* Defined in tailwind.config.ts file. Probably better to have some common area for constants. */
@@ -66,10 +62,7 @@ function AboutInfo({
6662 src = { imageSrc }
6763 width = "400"
6864 height = "400"
69- className = { clsx ( "w-[600px]" , {
70- "lg:w-[400px]" : downsize ,
71- "lg:w-[800px]" : ! downsize
72- } ) }
65+ className = "w-[600px] lg:w-[700px]"
7366 alt = { alt }
7467 quality = { animalQuality }
7568 />
@@ -132,7 +125,7 @@ export default function About() {
132125
133126
134127 </ div >
135- < AboutInfo title = "WHAT" imageSrc = "/landing/S2025/minichef 2 .png" downsize = { true } alt = "Python" reverse titleColor = 's2025black' >
128+ < AboutInfo title = "WHAT" imageSrc = "/landing/S2025/lumpia .png" alt = "Python" reverse titleColor = 's2025black' >
136129 < div className = "pt-6 border-t-8 border-cyan-100" >
137130 < p className = "inline" > HackRU is a</ p >
138131 < p className = "inline " > 24-hour hackathon </ p >
@@ -210,11 +203,11 @@ export default function About() {
210203
211204 < AboutInfo
212205 title = "JOIN US"
213- imageSrc = "/landing/S2025/minichef 5 .png"
206+ imageSrc = "/landing/S2025/ratatoullie .png"
214207 alt = "Python"
215208 reverse
216209 titleColor = "s2025black"
217- downsize = { true }
210+
218211 >
219212 < div className = "pb-6 pt-6 border-t-8 border-cyan-100" >
220213 < p className = "inline " > Apply</ p >
0 commit comments