page blogs title and head and list article & change footer hover mode

This commit is contained in:
Ehsan
2024-07-12 16:52:16 +03:30
parent c052e2d55e
commit 7b825e52c0
26 changed files with 263 additions and 5 deletions
+20
View File
@@ -0,0 +1,20 @@
import articles from '@/data/articles.json';
import Article from "./Article";
function LatestArticles() {
return (
<div>
<p className="text-[#3B3B3B] text-[20px] font-bold my-[24px]">جدیدترین مقاله ها</p>
<ul className="grid grid-cols-3 gap-6">
{articles.map(item => (
<Article
data={item}
key={item.id}
/>
))}
</ul>
</div>
)
}
export default LatestArticles