chore: conditionally show about and notice based on env var (#358)

This commit is contained in:
Dayuan Jiang
2025-12-23 00:32:22 +09:00
committed by GitHub
parent 6446454cd7
commit 3521495ead

View File

@@ -1269,7 +1269,9 @@ Continue from EXACTLY where you stopped.`,
Next AI Drawio Next AI Drawio
</h1> </h1>
</div> </div>
{!isMobile && ( {!isMobile &&
process.env.NEXT_PUBLIC_SHOW_ABOUT_AND_NOTICE ===
"true" && (
<Link <Link
href="/about" href="/about"
target="_blank" target="_blank"
@@ -1279,7 +1281,9 @@ Continue from EXACTLY where you stopped.`,
About About
</Link> </Link>
)} )}
{!isMobile && ( {!isMobile &&
process.env.NEXT_PUBLIC_SHOW_ABOUT_AND_NOTICE ===
"true" && (
<Link <Link
href="/about" href="/about"
target="_blank" target="_blank"