dify/web/app/install/page.tsx

24 lines
848 B
TypeScript
Raw Permalink Normal View History

'use client'
2023-05-15 08:51:32 +08:00
import React from 'react'
import Header from '../signin/_header'
import InstallForm from './installForm'
import cn from '@/utils/classnames'
import { useGlobalPublicStore } from '@/context/global-public-context'
2023-05-15 08:51:32 +08:00
const Install = () => {
const { systemFeatures } = useGlobalPublicStore()
2023-05-15 08:51:32 +08:00
return (
<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')}>
<Header />
<InstallForm />
{!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.
</div>}
2023-05-15 08:51:32 +08:00
</div>
</div>
2023-05-15 08:51:32 +08:00
)
}
export default Install