1- import Balloon , { PurpleBalloon } from "@/shared/components/background/Balloon" ;
1+ import Balloon , {
2+ GreenBalloon ,
3+ PurpleBalloon ,
4+ } from "@/shared/components/background/Balloon" ;
5+ import CloudLeft from "@/shared/components/background/CloudLeft" ;
6+ import CloudRight from "@/shared/components/background/CloudRight" ;
27import Star from "@/shared/components/background/Star" ;
38import StarSwoop from "@/shared/components/background/StarSwoop" ;
49import { Button } from "@/shared/components/ui/button" ;
@@ -7,43 +12,49 @@ import Link from "next/link";
712
813export default function Home ( ) {
914 return (
10- < div className = "relative flex w-full flex-1 items-center justify-center overflow-clip text-center" >
11- < div className = "absolute left-[50px] h-[1080px] w-[1920px]" >
12- < StarSwoop className = "invisible absolute right-[25%] top-[-17%] z-10 rotate-[15deg] scale-[0.3] dark:visible" />
13- < Star className = "invisible absolute left-[3%] top-[20%] z-10 scale-[0.4] dark:visible" />
14- < Balloon className = "absolute bottom-[30%] left-[-2%] z-10 size-[10em]" />
15- < PurpleBalloon className = "absolute bottom-[200px] right-[40px] z-10 size-[15em]" />
16- </ div >
17-
18- < div className = "relative z-20 flex content-center justify-center break-words" >
19- < div className = "relative flex h-[50vh] min-h-fit min-w-[55vw] max-w-[80%] flex-col items-center justify-around rounded-xl bg-foreground/20 p-5" >
20- < div className = "mb-3 flex flex-col gap-2" >
21- < h1 className = "mb-3 text-5xl font-bold tracking-tight lg:text-8xl" >
22- Learn and grow
23- </ h1 >
24- < h2 className = "text-2xl font-medium tracking-tight lg:text-4xl" >
25- with your personalized classroom agent
26- </ h2 >
27- </ div >
28- < div className = "flex w-2/5 min-w-[50vw] flex-col items-center gap-10" >
29- < h3 className = "text-lg italic lg:text-xl" >
30- A collaborative space for students and teachers to interact with
31- the future of LLM-enhanced education.
32- </ h3 >
33- < Button
34- effect = "hoverUnderlineWhiteExpand"
35- icon = { ArrowRightCircle }
36- iconPlacement = "right"
37- className = "h-12 w-full min-w-fit max-w-[20vw] bg-[#200092] text-white shadow-[0px_0px_45px_1px_#6083FF] hover:bg-[#200092]/90"
38- >
39- < Link href = "classrooms" className = "text-lg" >
40- Start your journey today
41- </ Link >
42- </ Button >
15+ < >
16+ < CloudLeft className = "z-9 absolute bottom-[0%] left-[0%] origin-bottom-left scale-[0.15] " />
17+ < CloudRight className = "z-9 absolute bottom-[0%] right-[0%] origin-bottom-right scale-[0.15] " />
18+ { /* <CloudLeft className="z-9 absolute scale-x-[-1] bottom-[0%] left-[0%] origin-bottom-left scale-[0.15] overflow-visible group-data-[state=collapsed]:left-[0px]" /> */ }
19+ < div className = "relative flex w-full flex-1 items-center justify-center overflow-clip text-center" >
20+ < div className = "absolute left-[50px] h-[1080px] w-[1920px] overflow-visible" >
21+ < StarSwoop className = "absolute right-[25%] top-[-17%] z-10 rotate-[15deg] scale-[0.3] dark:visible" />
22+ < Star className = "invisible absolute left-[3%] top-[20%] z-10 scale-[0.4] dark:visible" />
23+ < Balloon className = "absolute bottom-[30%] left-[-2%] z-10 size-[10em]" />
24+ < PurpleBalloon className = "absolute bottom-[25%] right-[25%] z-10 size-[9em]" />
25+ < GreenBalloon className = "absolute bottom-[22%] left-[35%] z-10 size-[3em]" />
26+ { /* <CloudLeft className="absolute static -translate-x-3 bottom-[20%] z-9 left-[-5%] origin-bottom-left scale-[0.15] overflow-visible group-data-[state=collapsed]:left-[0px]" /> */ }
27+ </ div >
28+ < div className = "relative z-20 flex content-center justify-center break-words" >
29+ < div className = "relative flex h-[50vh] min-h-fit min-w-[55vw] max-w-[80%] flex-col items-center justify-around rounded-xl bg-foreground/20 p-5" >
30+ < div className = "mb-3 flex flex-col gap-2" >
31+ < h1 className = "mb-3 text-5xl font-bold tracking-tight lg:text-8xl" >
32+ Learn and grow
33+ </ h1 >
34+ < h2 className = "text-2xl font-medium tracking-tight lg:text-4xl" >
35+ with your personalized classroom agent
36+ </ h2 >
37+ </ div >
38+ < div className = "flex w-2/5 min-w-[50vw] flex-col items-center gap-10" >
39+ < h3 className = "text-lg italic lg:text-xl" >
40+ A collaborative space for students and teachers to interact with
41+ the future of LLM-enhanced education.
42+ </ h3 >
43+ < Button
44+ effect = "hoverUnderlineWhiteExpand"
45+ icon = { ArrowRightCircle }
46+ iconPlacement = "right"
47+ className = "h-12 w-full min-w-fit max-w-[20vw] bg-[#200092] text-white shadow-[0px_0px_45px_1px_#6083FF] hover:bg-[#200092]/90"
48+ >
49+ < Link href = "classrooms" className = "text-lg" >
50+ Start your journey today
51+ </ Link >
52+ </ Button >
53+ </ div >
4354 </ div >
4455 </ div >
4556 </ div >
46- </ div >
57+ </ >
4758 ) ;
4859
4960 {
0 commit comments