You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

page.tsx 853B

1234567891011121314151617181920212223
  1. 'use client'
  2. import React from 'react'
  3. import Header from '../signin/_header'
  4. import ActivateForm from './activateForm'
  5. import cn from '@/utils/classnames'
  6. import { useGlobalPublicStore } from '@/context/global-public-context'
  7. const Activate = () => {
  8. const { systemFeatures } = useGlobalPublicStore()
  9. return (
  10. <div className={cn('flex min-h-screen w-full justify-center bg-background-default-burn p-6')}>
  11. <div className={cn('flex w-full shrink-0 flex-col rounded-2xl border border-effects-highlight bg-background-default-subtle')}>
  12. <Header />
  13. <ActivateForm />
  14. {!systemFeatures.branding.enabled && <div className='px-8 py-6 text-sm font-normal text-text-tertiary'>
  15. © {new Date().getFullYear()} LangGenius, Inc. All rights reserved.
  16. </div>}
  17. </div>
  18. </div>
  19. )
  20. }
  21. export default Activate