From 0b421c9c5dae01428934592c40b039bb33e1ab22 Mon Sep 17 00:00:00 2001 From: marzban-dev Date: Thu, 22 May 2025 01:12:37 +0330 Subject: [PATCH] Fix blog post gradient bug --- frontend/components/articles/ArticlesList.vue | 3 ++- frontend/components/global/BlogPost.vue | 23 +++++++------------ 2 files changed, 10 insertions(+), 16 deletions(-) diff --git a/frontend/components/articles/ArticlesList.vue b/frontend/components/articles/ArticlesList.vue index bbb5c47..6c346ee 100644 --- a/frontend/components/articles/ArticlesList.vue +++ b/frontend/components/articles/ArticlesList.vue @@ -27,8 +27,9 @@ const isMobile = useMediaQuery('(max-width: 1024px)'); :title="article.title" :comments="2" :id="article.id" + :slug="article.slug" :date="article.created_at" - :variant="isMobile ? 'sm' : 'lg'" + :variant="'sm'" :category="article.category" tag="تگ ندارد" /> diff --git a/frontend/components/global/BlogPost.vue b/frontend/components/global/BlogPost.vue index 1e26aa7..e5e9a9f 100644 --- a/frontend/components/global/BlogPost.vue +++ b/frontend/components/global/BlogPost.vue @@ -1,24 +1,24 @@ \ No newline at end of file +