2025-05-20 12:07:50 +08:00
|
|
|
'use client'
|
2023-05-15 08:51:32 +08:00
|
|
|
import React from 'react'
|
|
|
|
import Header from '../signin/_header'
|
2023-08-07 13:19:47 +08:00
|
|
|
import InstallForm from './installForm'
|
2025-03-31 15:44:04 +08:00
|
|
|
import cn from '@/utils/classnames'
|
2025-05-20 12:07:50 +08:00
|
|
|
import { useGlobalPublicStore } from '@/context/global-public-context'
|
2023-05-15 08:51:32 +08:00
|
|
|
|
2023-08-07 13:19:47 +08:00
|
|
|
const Install = () => {
|
2025-05-20 12:07:50 +08:00
|
|
|
const { systemFeatures } = useGlobalPublicStore()
|
2023-05-15 08:51:32 +08:00
|
|
|
return (
|
2025-03-31 15:44:04 +08:00
|
|
|
<div className={cn('flex min-h-screen w-full justify-center bg-background-default-burn p-6')}>
|
|
|
|
<div className={cn('flex w-full shrink-0 flex-col rounded-2xl border border-effects-highlight bg-background-default-subtle')}>
|
2023-08-07 13:19:47 +08:00
|
|
|
<Header />
|
|
|
|
<InstallForm />
|
2025-05-20 12:07:50 +08:00
|
|
|
{!systemFeatures.branding.enabled && <div className='px-8 py-6 text-sm font-normal text-text-tertiary'>
|
2024-09-26 17:53:11 +08:00
|
|
|
© {new Date().getFullYear()} LangGenius, Inc. All rights reserved.
|
2025-05-20 12:07:50 +08:00
|
|
|
</div>}
|
2023-05-15 08:51:32 +08:00
|
|
|
</div>
|
2023-08-07 13:19:47 +08:00
|
|
|
</div>
|
2023-05-15 08:51:32 +08:00
|
|
|
)
|
|
|
|
}
|
|
|
|
|
2023-08-07 13:19:47 +08:00
|
|
|
export default Install
|