Skip to content

Commit

Permalink
Animation update
Browse files Browse the repository at this point in the history
  • Loading branch information
lost0427 committed Jan 25, 2025
1 parent 4af6ef5 commit 25b033f
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/content/blog/markdown-style-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ Itatur? Quiatae cullecum rem ent aut odis in re eossequodi nonsequ idebis ne sap

### Output

![blog placeholder](/blog-placeholder-about.jpg)
![blog placeholder](/Reblog/blog-placeholder-about.jpg)

## Blockquotes

Expand Down
2 changes: 1 addition & 1 deletion src/pages/blog/Abstract.astro
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const AbstractPosts = posts.filter(post => /^Abstract\/.*\.md$/.test(post.id));
{
AbstractPosts.map((post) => (
<li class="flex flex-col items-center">
<a href={`/Reblog/blog/${post.slug}/`} class="flex flex-col items-center w-10/12 my-5 rounded-lg bg-gray-900">
<a href={`/Reblog/blog/${post.slug}/`} class="flex flex-col items-center w-10/12 my-5 rounded-lg bg-gray-900 hover:-translate-y-1 hover:shadow-lg transition-transform duration-200 ease-in-out">
<img src={post.data.heroImage} alt="" class="rounded-lg w-full" />
<h4 class="title">{post.data.title}</h4>
<p class="date">
Expand Down
2 changes: 1 addition & 1 deletion src/pages/blog/Life.astro
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const LifePosts = posts.filter(post => /^Life\/.*\.md$/.test(post.id));
{
LifePosts.map((post) => (
<li class="flex flex-col items-center">
<a href={`/Reblog/blog/${post.slug}/`} class="flex flex-col items-center w-10/12 my-5 rounded-lg bg-gray-900">
<a href={`/Reblog/blog/${post.slug}/`} class="flex flex-col items-center w-10/12 my-5 rounded-lg bg-gray-900 hover:-translate-y-1 hover:shadow-lg transition-transform duration-200 ease-in-out">
<img src={post.data.heroImage} alt="" class="rounded-lg w-full" />
<h4 class="title">{post.data.title}</h4>
<p class="date">
Expand Down
2 changes: 1 addition & 1 deletion src/pages/blog/Tech.astro
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const TechPosts = posts.filter(post => /^Tech\/.*\.md$/.test(post.id));
{
TechPosts.map((post) => (
<li class="flex flex-col items-center">
<a href={`/Reblog/blog/${post.slug}/`} class="flex flex-col items-center w-10/12 my-5 rounded-lg bg-gray-900">
<a href={`/Reblog/blog/${post.slug}/`} class="flex flex-col items-center w-10/12 my-5 rounded-lg bg-gray-900 hover:-translate-y-1 hover:shadow-lg transition-transform duration-200 ease-in-out">
<img src={post.data.heroImage} alt="" class="rounded-lg w-full" />
<h4 class="title">{post.data.title}</h4>
<p class="date">
Expand Down
2 changes: 1 addition & 1 deletion src/pages/blog/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const posts = (await getCollection('blog')).sort(
{
posts.map((post) => (
<li class="flex flex-col items-center">
<a href={`/Reblog/blog/${post.slug}/`} class="flex flex-col items-center w-10/12 my-5 rounded-lg bg-gray-300 dark:bg-gray-900">
<a href={`/Reblog/blog/${post.slug}/`} class="flex flex-col items-center w-10/12 my-5 rounded-lg bg-gray-300 dark:bg-gray-900 hover:-translate-y-1 hover:shadow-lg transition-transform duration-200 ease-in-out">
<img src={post.data.heroImage} alt="" class="rounded-lg w-full" />
<h4 class="title">{post.data.title}</h4>
<p class="date">
Expand Down

0 comments on commit 25b033f

Please sign in to comment.