fix: fix animation about page
This commit is contained in:
parent
206f3da23e
commit
c701d1cd5a
@ -132,7 +132,7 @@ export default function AboutPage({ content }: AboutPageProps) {
|
||||
end={Number(t(`about.stats.items.${index}.value`))}
|
||||
suffix={
|
||||
t(`about.stats.items.${index}.suffix`) ===
|
||||
`about.stats.items.${index}.suffix`
|
||||
`about.stats.items.${index}.suffix`
|
||||
? ''
|
||||
: t(`about.stats.items.${index}.suffix`) || ''
|
||||
}
|
||||
@ -210,12 +210,12 @@ export default function AboutPage({ content }: AboutPageProps) {
|
||||
</div>
|
||||
|
||||
<div
|
||||
data-aos='flip-up'
|
||||
data-aos-duration='600'
|
||||
className='grid gap-8 md:grid-cols-3'
|
||||
>
|
||||
{[0, 1, 2].map((index) => (
|
||||
<Card
|
||||
data-aos='flip-left'
|
||||
data-aos-duration='600'
|
||||
key={index}
|
||||
className='overflow-hidden transition-all hover:shadow-lg'
|
||||
>
|
||||
@ -250,7 +250,7 @@ export default function AboutPage({ content }: AboutPageProps) {
|
||||
</p>
|
||||
</div>
|
||||
<div
|
||||
data-aos='flip-down'
|
||||
data-aos='flip-left'
|
||||
data-aos-duration='600'
|
||||
className='grid grid-cols-1 gap-8 sm:grid-cols-2 lg:grid-cols-4'
|
||||
>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user