File tree Expand file tree Collapse file tree 2 files changed +13
-5
lines changed
Expand file tree Collapse file tree 2 files changed +13
-5
lines changed Original file line number Diff line number Diff line change @@ -17,11 +17,19 @@ export default function Home() {
1717 slides = { [
1818 {
1919 imageSrc : "/home/Pond Lilies by the Law Faculty.webp" ,
20- text : " Next generation voices for peace." ,
20+ text : < i > Next generation voices for peace.</ i > ,
2121 } ,
2222 {
2323 imageSrc : "/home/Main Building 4.webp" ,
24- text : "ALPHA University Chapter at the University of Hong Kong." ,
24+ text : (
25+ < >
26+ The first and only global student initiative
27+ < br />
28+ based in Hong Kong
29+ < br />
30+ for constructive peace and humanity.
31+ </ >
32+ ) ,
2533 } ,
2634 ] }
2735 heightClassName = "h-[30rem]"
@@ -61,7 +69,7 @@ export default function Home() {
6169 }
6270 >
6371 < Button asChild >
64- < Link href = "/about-us" > Explore Our Story</ Link >
72+ < Link href = "/about-us/our-story " > Explore Our Story</ Link >
6573 </ Button >
6674 </ PageHeader >
6775 </ section >
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ import Autoplay from "embla-carousel-autoplay";
1111
1212type HeroSlide = {
1313 imageSrc : string ;
14- text : string ;
14+ text : string | React . ReactNode ;
1515} ;
1616
1717type HeroProps = {
@@ -51,7 +51,7 @@ export function Hero({ slides, heightClassName }: HeroProps) {
5151 style = { { backgroundImage : `url('${ slide . imageSrc } ')` } }
5252 >
5353 < div className = "absolute inset-0 bg-black/40" />
54- < span className = "relative z-10 text-4xl font-semibold text-center text-white" >
54+ < span className = "relative z-10 text-2xl md:text- 4xl font-semibold text-center text-white" >
5555 { slide . text }
5656 </ span >
5757 </ div >
You can’t perform that action at this time.
0 commit comments