diff --git a/site/blog/src/pages/index.tsx b/site/blog/src/pages/index.tsx index fc98866..dd23d63 100644 --- a/site/blog/src/pages/index.tsx +++ b/site/blog/src/pages/index.tsx @@ -95,7 +95,7 @@ const ProjWrapper: React.FC<{ {...props} className={clsx( props.className, - "border border-slate-50 hover:border-brand group" + "block border border-slate-50 hover:border-brand group" )} /> ); @@ -157,12 +157,28 @@ const Index = () => {

{proj.desc}

- {proj.href ? ( - - Preview - - - ) : null} +
+ {proj.sub_href ? ( + + + + ) : null} + + {proj.href ? ( + + Preview + + + ) : null} +
))} diff --git a/site/blog/src/resource/projects.ts b/site/blog/src/resource/projects.ts index 2c82335..953c0ab 100644 --- a/site/blog/src/resource/projects.ts +++ b/site/blog/src/resource/projects.ts @@ -30,6 +30,7 @@ export default [ desc: "四川省应对重大突发公共卫生事件公众认知及行为调查问卷。", href: "https://health.qhan.wang", date: "202102", + sub_href: "https://health.qhan.wang/adm", }, { key: "1",