@@ -19,29 +19,31 @@ export function HeaderSection({
19
19
return (
20
20
< section className = "space-y-2 sm:space-y-3 md:space-y-4" >
21
21
< h1 className = "text-lg sm:text-xl lg:text-2xl font-bold" > { title } </ h1 >
22
- < p className = "text-sm sm:text-base text-muted-foreground" > { description } </ p >
22
+ < p className = "text-sm sm:text-base text-muted-foreground" >
23
+ { description }
24
+ </ p >
23
25
</ section >
24
26
) ;
25
27
}
26
-
28
+
27
29
return (
28
30
< motion . section
29
31
className = "space-y-2 sm:space-y-3 md:space-y-4"
30
- initial = { { opacity : 0 , y : 20 } }
32
+ initial = { { opacity : 0.3 , y : 20 } }
31
33
animate = { { opacity : 1 , y : 0 } }
32
34
transition = { { duration : 0.2 , ease : "easeOut" } }
33
35
>
34
36
< motion . h1
35
37
className = "text-lg sm:text-xl lg:text-2xl font-bold"
36
- initial = { { opacity : 0 } }
38
+ initial = { { opacity : 0.3 } }
37
39
animate = { { opacity : 1 } }
38
40
transition = { { delay : 0.1 , duration : 0.2 } }
39
41
>
40
42
{ title }
41
43
</ motion . h1 >
42
44
< motion . p
43
45
className = "text-sm sm:text-base text-muted-foreground"
44
- initial = { { opacity : 0 } }
46
+ initial = { { opacity : 0.3 } }
45
47
animate = { { opacity : 1 } }
46
48
transition = { { delay : 0.15 , duration : 0.2 } }
47
49
>
@@ -65,10 +67,10 @@ export function PostGrid({ children }: { children: ReactNode }) {
65
67
</ section >
66
68
) ;
67
69
}
68
-
70
+
69
71
return (
70
72
< motion . section
71
- initial = { { opacity : 0 } }
73
+ initial = { { opacity : 0.3 } }
72
74
animate = { { opacity : 1 } }
73
75
transition = { { delay : 0.2 , duration : 0.2 } }
74
76
>
@@ -88,7 +90,7 @@ export function PostItem({
88
90
} ) {
89
91
return (
90
92
< motion . div
91
- initial = { { opacity : 0 , y : 20 } }
93
+ initial = { { opacity : 0.3 , y : 20 } }
92
94
animate = { { opacity : 1 , y : 0 } }
93
95
transition = { {
94
96
delay : 0.05 * ( index % 3 ) + 0.25 ,
0 commit comments