Skip to content

📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!

change button style

Blue Mouse3f9b0092efa8
diff --git a/web/app/pages/Blog/Post.tsx b/web/app/pages/Blog/Post.tsx
index e7467c56c..ce14fb9bc 100644
--- a/web/app/pages/Blog/Post.tsx
+++ b/web/app/pages/Blog/Post.tsx
@@ -1,3 +1,4 @@
+import { ChevronLeftIcon } from 'lucide-react'
import { useEffect } from 'react'
import { useTranslation } from 'react-i18next'
import { Link, useLoaderData, useLocation } from 'react-router'
@@ -54,21 +55,9 @@ export default function PostSlug() {
) : (
<Link
to='/blog'
- className='group mt-10 mb-6 flex text-sm leading-6 font-semibold text-slate-700 uppercase hover:text-slate-900 dark:text-slate-200 dark:hover:text-white'
+ className='underline-animate group mt-10 mb-6 flex max-w-max items-center text-sm leading-6 font-semibold text-slate-700 uppercase hover:text-slate-900 dark:text-slate-200 dark:hover:text-white'
>
- <svg
- viewBox='0 -9 3 24'
- className='mr-3 h-6 w-auto overflow-visible text-slate-400 group-hover:text-slate-600 dark:group-hover:text-slate-300'
- >
- <path
- d='M3 0L0 3L3 6'
- fill='none'
- stroke='currentColor'
- strokeWidth='2'
- strokeLinecap='round'
- strokeLinejoin='round'
- />
- </svg>
+ <ChevronLeftIcon className='mr-2 size-4 text-slate-500 dark:text-slate-400' />
{t('common.allPosts')}
</Link>
)}
diff --git a/web/app/routes/blog._index.tsx b/web/app/routes/blog._index.tsx
index aceacb8b6..1b74702f6 100644
--- a/web/app/routes/blog._index.tsx
+++ b/web/app/routes/blog._index.tsx
@@ -90,7 +90,7 @@ export default function Posts() {
</dl>
</div>
<Link
- className='flex items-center text-sm font-medium text-indigo-500 hover:text-indigo-600 dark:text-gray-50 dark:hover:text-gray-200'
+ className='underline-animate flex max-w-max items-center text-sm font-medium text-indigo-600 dark:text-gray-50'
to={post.slug}
>
<span className='relative'>Read more</span>