mirror of
https://github.com/DayuanJiang/next-ai-draw-io.git
synced 2026-01-03 06:42:27 +08:00
chore: conditionally show about and notice based on env var (#358)
This commit is contained in:
@@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user