Supports display license status (#10408)

Co-authored-by: Garfield Dai <dai.hai@foxmail.com>
This commit is contained in:
NFish 2024-11-15 17:59:48 +08:00 • committed by GitHub
commit 1f87676d52
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 187 additions and 53 deletions

View file

@ -12,6 +12,7 @@ import EnvNav from './env-nav'
import ExploreNav from './explore-nav'
import ToolsNav from './tools-nav'
import GithubStar from './github-star'
import LicenseNav from './license-env'
import { WorkspaceProvider } from '@/context/workspace-context'
import { useAppContext } from '@/context/app-context'
import LogoSite from '@/app/components/base/logo/logo-site'
@ -79,6 +80,7 @@ const Header = () => {
</div>
)}
<div className='flex items-center flex-shrink-0'>
<LicenseNav />
<EnvNav />
{enableBilling && (
<div className='mr-3 select-none'>