📈 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!
TypeScript chartsclickhousedockergdprgoogle-analyticsmetricsmonitoringmysqlnestjsprivacyredisself-hostedselfhostedstatisticstailwindcssweb-analyticswebanalyticswebsite
Github -> Twitter
Blue Mouse8d1001718d67
diff --git a/web/app/pages/Blog/Post.tsx b/web/app/pages/Blog/Post.tsxindex c9fa88781..dc85b8a2a 100644--- a/web/app/pages/Blog/Post.tsx+++ b/web/app/pages/Blog/Post.tsx@@ -13,7 +13,7 @@ interface Post {intro?: stringdate?: stringauthor?: string- nickname?: string+ twitter_handle?: string}export default function PostSlug() {@@ -81,10 +81,10 @@ export default function PostSlug() {<div className='mt-6'><ul className='-mx-5 -mt-6 flex flex-wrap text-sm leading-6'><li className='mt-6 flex items-center gap-4 px-5 font-medium whitespace-nowrap'>- {post?.nickname ? (+ {post?.twitter_handle ? (<imgclassName='size-12 rounded-full'- src={`/assets/blog-authors/${post.nickname}.png`}+ src={`/assets/blog-authors/${post.twitter_handle}.png`}alt=''/>) : null}@@ -92,13 +92,13 @@ export default function PostSlug() {{post?.author ? (<div className='font-semibold text-slate-900 dark:text-slate-200'>{post.author}</div>) : null}- {post?.nickname ? (+ {post?.twitter_handle ? (<div className='mt-1'><a- href={`https://github.com/${post.nickname}`}+ href={`https://x.com/${post.twitter_handle}`}className='text-indigo-600 hover:underline dark:text-indigo-400'>- @{post.nickname}+ @{post.twitter_handle}</a></div>) : null}diff --git a/web/app/utils/getPosts.ts b/web/app/utils/getPosts.tsindex e0d35290a..c844c0c9b 100644--- a/web/app/utils/getPosts.ts+++ b/web/app/utils/getPosts.ts@@ -27,7 +27,7 @@ interface GetPost {intro?: stringdate?: stringauthor?: string- nickname?: string+ twitter_handle?: string}export async function getPost(slug: string, category?: string): Promise<GetPost | null> {@@ -55,6 +55,6 @@ export async function getPost(slug: string, category?: string): Promise<GetPostintro: post.attributes?.intro,date: post.attributes?.date,author: post.attributes?.author,- nickname: post.attributes?.nickname,+ twitter_handle: post.attributes?.twitter_handle,}}diff --git a/web/public/assets/blog-authors/blaumaus.png b/web/public/assets/blog-authors/andrii_rom.pngsimilarity index 100%rename from web/public/assets/blog-authors/blaumaus.pngrename to web/public/assets/blog-authors/andrii_rom.png