update
This commit is contained in:
@ -22,15 +22,15 @@ const ArticleList = async ({
|
||||
});
|
||||
return (
|
||||
<>
|
||||
<h2 className={"text-[#0f6fca] text-sm"}>{title}</h2>
|
||||
<h2 className={"text-sm text-[#0f6fca]"}>{title}</h2>
|
||||
<ul className={`${styles.articles} mt-5`}>
|
||||
{data.lists.map((article, index) => (
|
||||
<li className={`${styles.article}`} key={article.id}>
|
||||
<Link
|
||||
className={"flex h-8 text-sm text-[#666666] items-center"}
|
||||
className={"flex h-8 items-center text-sm text-[#666666]"}
|
||||
href={`../${article.id}`}
|
||||
>
|
||||
<span className={"flex-1 w-0 truncate"}>{article.title}</span>
|
||||
<span className={"w-0 flex-1 truncate"}>{article.title}</span>
|
||||
<span>{dayjs(article.createTime).format("YYYY-MM-DD")}</span>
|
||||
</Link>
|
||||
</li>
|
||||
|
Reference in New Issue
Block a user