diff --git a/web/app/activate/page.tsx b/web/app/activate/page.tsx
index 0f18544335..524a06f9f4 100644
--- a/web/app/activate/page.tsx
+++ b/web/app/activate/page.tsx
@@ -1,10 +1,13 @@
+'use client'
import React from 'react'
import Header from '../signin/_header'
import style from '../signin/page.module.css'
import ActivateForm from './activateForm'
import cn from '@/utils/classnames'
+import { useGlobalPublicStore } from '@/context/global-public-context'
const Activate = () => {
+ const { systemFeatures } = useGlobalPublicStore()
return (
{
}>
-
+ {!systemFeatures.branding.enabled &&
© {new Date().getFullYear()} LangGenius, Inc. All rights reserved.
-
+
}
)
diff --git a/web/app/forgot-password/page.tsx b/web/app/forgot-password/page.tsx
index c2911add6e..ad1eeeddf5 100644
--- a/web/app/forgot-password/page.tsx
+++ b/web/app/forgot-password/page.tsx
@@ -7,11 +7,13 @@ import style from '../signin/page.module.css'
import ForgotPasswordForm from './ForgotPasswordForm'
import ChangePasswordForm from '@/app/forgot-password/ChangePasswordForm'
import useDocumentTitle from '@/hooks/use-document-title'
+import { useGlobalPublicStore } from '@/context/global-public-context'
const ForgotPassword = () => {
useDocumentTitle('')
const searchParams = useSearchParams()
const token = searchParams.get('token')
+ const { systemFeatures } = useGlobalPublicStore()
return (
{
}>
{token ?
:
}
-
+ {!systemFeatures.branding.enabled &&
© {new Date().getFullYear()} LangGenius, Inc. All rights reserved.
-
+
}
)
diff --git a/web/app/install/page.tsx b/web/app/install/page.tsx
index 395fae34ec..9bbeabb897 100644
--- a/web/app/install/page.tsx
+++ b/web/app/install/page.tsx
@@ -1,10 +1,13 @@
+'use client'
import React from 'react'
import Header from '../signin/_header'
import style from '../signin/page.module.css'
import InstallForm from './installForm'
import classNames from '@/utils/classnames'
+import { useGlobalPublicStore } from '@/context/global-public-context'
const Install = () => {
+ const { systemFeatures } = useGlobalPublicStore()
return (
{
}>
-
+ {!systemFeatures.branding.enabled &&
© {new Date().getFullYear()} LangGenius, Inc. All rights reserved.
-
+
}
)
diff --git a/web/app/reset-password/layout.tsx b/web/app/reset-password/layout.tsx
index 16d8642ed2..b6111b4cf8 100644
--- a/web/app/reset-password/layout.tsx
+++ b/web/app/reset-password/layout.tsx
@@ -1,9 +1,12 @@
+'use client'
import Header from '../signin/_header'
import style from '../signin/page.module.css'
import cn from '@/utils/classnames'
+import { useGlobalPublicStore } from '@/context/global-public-context'
-export default async function SignInLayout({ children }: any) {
+export default function SignInLayout({ children }: any) {
+ const { systemFeatures } = useGlobalPublicStore()
return <>
-
+ {!systemFeatures.branding.enabled &&
© {new Date().getFullYear()} LangGenius, Inc. All rights reserved.
-
+
}
>