diff options
| author | Dawid Rycerz <dawid@rycerz.xyz> | 2025-07-22 17:11:44 +0300 |
|---|---|---|
| committer | Dawid Rycerz <dawid@rycerz.xyz> | 2025-07-22 17:11:44 +0300 |
| commit | d6608c822370ca7aad42c0ed54caf421ead8bb50 (patch) | |
| tree | 468ec79a662b1bdfa48e78b2657ce490f5e30192 /src/components/blog | |
| parent | 6c71a67a7473ee30c424ac63b4d2b27c38007d5e (diff) | |
Update widget
Diffstat (limited to 'src/components/blog')
| -rw-r--r-- | src/components/blog/GridItem.astro | 5 | ||||
| -rw-r--r-- | src/components/blog/ListItem.astro | 2 |
2 files changed, 5 insertions, 2 deletions
diff --git a/src/components/blog/GridItem.astro b/src/components/blog/GridItem.astro index 73353ca..823063c 100644 --- a/src/components/blog/GridItem.astro +++ b/src/components/blog/GridItem.astro @@ -58,7 +58,10 @@ const link = APP_BLOG?.post?.isEnabled ? getPermalink(post.permalink, 'post') : <h3 class="text-xl sm:text-2xl font-bold leading-tight mb-2 font-heading dark:text-slate-300"> { link ? ( - <a class="inline-block hover:text-primary dark:hover:text-secondary transition ease-in duration-200" href={link}> + <a + class="inline-block hover:text-primary dark:hover:text-secondary transition ease-in duration-200" + href={link} + > {post.title} </a> ) : ( diff --git a/src/components/blog/ListItem.astro b/src/components/blog/ListItem.astro index 36602f2..f078c25 100644 --- a/src/components/blog/ListItem.astro +++ b/src/components/blog/ListItem.astro @@ -94,7 +94,7 @@ const link = APP_BLOG?.post?.isEnabled ? getPermalink(post.permalink, 'post') : { link ? ( <a - class="inline-block hover:text-primary dark:hover:text-secondary transition ease-in duration-200" + class="inline-block hover:text-primary dark:hover:text-secondary transition ease-in duration-200" href={link} > {post.title} |
