diff --git a/app/(website)/page.tsx b/app/(website)/page.tsx index 4094d7e8..d2de8ea6 100644 --- a/app/(website)/page.tsx +++ b/app/(website)/page.tsx @@ -162,27 +162,6 @@ export default function Page() { {/* theme */}
- {new Date().getTime() < 1705766399000 && ( - -
-
投稿資訊
- SITCON - 期望成為學生展現自己的舞台,如果你有想要與大家分享的經驗、技術或專案,歡迎於 - 2024/01/20 前投搞,我們歡迎任何與資訊或電腦軟硬體相關的講題。 -
- -
- )}
{/* this need dynamic height base on how height the content is */} {/*
*/} diff --git a/components/Nav.tsx b/components/Nav.tsx index 2d1b52fc..a4613765 100644 --- a/components/Nav.tsx +++ b/components/Nav.tsx @@ -97,16 +97,32 @@ export default function Nav() { SITCON 2024
+ {new Date().getTime() < 1705766399000 && ( + + 立即投稿 + + )}
-
+
{NavLinks.map((link) => ( {link.name} ))} + {new Date().getTime() < 1705766399000 && ( + + 立即投稿 + + )}