This commit is contained in:
quantulr
2023-11-07 17:14:42 +08:00
parent a8b1ad286d
commit 83e7cd3c4d
5 changed files with 35 additions and 21 deletions

View File

@ -13,7 +13,23 @@ const Page = async ({
const data = await articleDetail({ id: articleId });
return (
<>
<ArticleWithBreadcrumb breadcrumb={[]}>
<ArticleWithBreadcrumb
breadcrumb={[
{ title: "首页", href: "/" },
{
title: "学术交流",
href: "/academic-exchange/academic-events/pages/1",
},
{
title: "学术活动",
href: "/academic-exchange/academic-events/pages/1",
},
{
title: data.title,
href: `/academic-exchange/academic-events/${data.id}`,
},
]}
>
<ArticleRender article={data} />
</ArticleWithBreadcrumb>
</>

View File

@ -14,8 +14,8 @@ export default async function ResearchProgress({
<ArticleWithBreadcrumb
breadcrumb={[
{ title: "首页", href: "/" },
{ title: "科研进展", href: "/general-news/pages/1" },
{ title: data.title, href: `/general-news/${data.id}` },
{ title: "科研进展", href: "/research-progress/pages/1" },
{ title: data.title, href: `/research-progress/${data.id}` },
]}
>
<ArticleRender article={data} />