@@ -6,48 +6,45 @@ import { Card, CardContent, CardHeader } from "@/components/ui/card";
6
6
const ClassSection = ( ) => {
7
7
return (
8
8
< div className = "bg-sky-50 dark:bg-slate-900" >
9
- < div className = "max-w-7xl mx-auto px-5 md:py-14 py-10 my-10" >
10
- < div className = "space-y-6" >
11
- < div className = "flex flex-col items-center gap-4" >
12
- < h2 className = "text-tertiary md:text-3xl text-2xl font-bold" > Kelas Hammercode 🔥</ h2 >
13
- < p className = "max-w-3xl md:text-base text-center text-sm text-slate-500 dark:text-slate-400 md:leading-7" >
14
- Hammercode tempat yang cocok untukmu yang ingin belajar tentang coding/pemograman dan software
15
- engineering.
16
- </ p >
17
- </ div >
18
-
19
- < Carousel
20
- opts = { {
21
- align : "start" ,
22
- loop : true ,
23
- duration : 20 ,
24
- active : true ,
25
- } }
26
- >
27
- < CarouselContent >
28
- { courseData . map ( ( data ) => (
29
- < CarouselItem
30
- key = { data . id }
31
- className = "flex justify-center items-center xl:basis-1/4 lg:basis-1/3 sm:basis-1/2"
32
- >
33
- < Card className = "flex items-center gap-2 rounded-full w-full" >
34
- < CardHeader className = "p-2" >
35
- < div className = "p-5 md:w-20 w-20 md:h-20 h-20 bg-sky-50 dark:bg-slate-900 rounded-full shrink-0" >
36
- < Image src = { data . logo } alt = { data . title } width = { 100 } height = { 100 } className = "" />
37
- </ div >
38
- </ CardHeader >
39
- < CardContent className = "p-0" >
40
- < div className = "space-y-1" >
41
- < h3 className = "text-tertiary md:text-xl text-lg font-semibold" > { data . title } </ h3 >
42
- < p className = "md:text-sm text-sm text-slate-500 dark:text-slate-400" > { data . role } </ p >
43
- </ div >
44
- </ CardContent >
45
- </ Card >
46
- </ CarouselItem >
47
- ) ) }
48
- </ CarouselContent >
49
- </ Carousel >
9
+ < div className = "max-w-7xl mx-auto px-5 md:py-14 py-10 my-10 space-y-6" >
10
+ < div className = "flex flex-col items-center gap-2" >
11
+ < h2 className = "text-tertiary md:text-3xl text-2xl font-bold" > Kelas Hammercode 🔥</ h2 >
12
+ < p className = "max-w-3xl md:text-base text-center text-sm text-slate-500 dark:text-slate-400 md:leading-7" >
13
+ Hammercode tempat yang cocok untukmu yang ingin belajar tentang coding/pemrograman dan software engineering.
14
+ </ p >
50
15
</ div >
16
+
17
+ < Carousel
18
+ opts = { {
19
+ align : "start" ,
20
+ loop : true ,
21
+ duration : 20 ,
22
+ active : true ,
23
+ } }
24
+ >
25
+ < CarouselContent >
26
+ { courseData . map ( ( data ) => (
27
+ < CarouselItem
28
+ key = { data . id }
29
+ className = "flex justify-center items-center xl:basis-1/4 lg:basis-1/3 sm:basis-1/2"
30
+ >
31
+ < Card className = "flex items-center gap-2 rounded-full w-full" >
32
+ < CardHeader className = "p-2" >
33
+ < div className = "p-5 md:w-20 w-20 md:h-20 h-20 bg-sky-50 dark:bg-slate-900 rounded-full shrink-0" >
34
+ < Image src = { data . logo } alt = { data . title } width = { 100 } height = { 100 } className = "" />
35
+ </ div >
36
+ </ CardHeader >
37
+ < CardContent className = "p-0" >
38
+ < div className = "space-y-1" >
39
+ < h3 className = "text-tertiary md:text-xl text-lg font-semibold" > { data . title } </ h3 >
40
+ < p className = "md:text-sm text-sm text-slate-500 dark:text-slate-400" > { data . role } </ p >
41
+ </ div >
42
+ </ CardContent >
43
+ </ Card >
44
+ </ CarouselItem >
45
+ ) ) }
46
+ </ CarouselContent >
47
+ </ Carousel >
51
48
</ div >
52
49
</ div >
53
50
) ;
0 commit comments