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