mirror of
https://github.com/ClovertaTheTrilobita/SanYeCao-blog.git
synced 2026-07-03 23:51:26 +00:00
update timeline animation
This commit is contained in:
parent
a06f3d524f
commit
2b2222c740
1 changed files with 4 additions and 2 deletions
|
|
@ -51,9 +51,11 @@ const groupedPosts = filteredPosts.reduce((acc: any[], post: any) => {
|
||||||
<a
|
<a
|
||||||
href={`/${lang}/posts/${slug}/`}
|
href={`/${lang}/posts/${slug}/`}
|
||||||
class="timeline-card"
|
class="timeline-card"
|
||||||
data-astro-reload
|
|
||||||
>
|
>
|
||||||
<h2 class="post-title">
|
<h2
|
||||||
|
class="post-title"
|
||||||
|
transition:name={`post-title-${slug}`}
|
||||||
|
>
|
||||||
{post.data.title}
|
{post.data.title}
|
||||||
</h2>
|
</h2>
|
||||||
<p class="post-description">
|
<p class="post-description">
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue