Skip to content

Commit

Permalink
Hide views and likes on print action
Browse files Browse the repository at this point in the history
  • Loading branch information
NumanIbnMazid committed Mar 30, 2024
1 parent 6a5bba7 commit 9221c88
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion frontend/layout/BlogLayout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ export default function BlogLayout({
)}

{/* Total Views and Likes */}
<div className="flex flex-wrap items-center gap-4 w-fit">
<div className="flex flex-wrap items-center gap-4 w-fit print:hidden">
<div className="flex flex-wrap items-center gap-2">
<AiFillEye className="w-4 h-4" />
<span className="text-base text-gray-500">{totalViews}</span>
Expand Down
4 changes: 2 additions & 2 deletions frontend/public/feed.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
till now.]]></description>
<link>https://nim23.com</link>
<generator>RSS for Node</generator>
<lastBuildDate>Sat, 30 Mar 2024 21:26:25 GMT</lastBuildDate>
<lastBuildDate>Sat, 30 Mar 2024 21:31:21 GMT</lastBuildDate>
<atom:link href="https://nim23.com/feed.xml" rel="self" type="application/rss+xml"/>
<pubDate>Sat, 30 Mar 2024 21:26:25 GMT</pubDate>
<pubDate>Sat, 30 Mar 2024 21:31:21 GMT</pubDate>
<copyright><![CDATA[All rights reserved 2024, Numan Ibn Mazid]]></copyright>
<language><![CDATA[en]]></language>
</channel>
Expand Down
Loading

0 comments on commit 9221c88

Please sign in to comment.