diff --git a/apps/user/components/Header/header.tsx b/apps/user/components/Header/header.tsx index 658df64..a950ee9 100644 --- a/apps/user/components/Header/header.tsx +++ b/apps/user/components/Header/header.tsx @@ -6,7 +6,6 @@ import { useTranslations } from 'next-intl'; import Image from 'next/legacy/image'; import Link from 'next/link'; import LanguageSwitch from '../language-switch'; -import ThemeSwitch from '../theme-switch'; import { UserNav } from '../user-nav'; export default function Header() { @@ -30,7 +29,7 @@ export default function Header() {
- + {/**/} {!user && (
- {site.site_name} © All rights reserved. + + AiroPort + {' '} + © All rights reserved.
{t('tos')} diff --git a/apps/user/components/providers.tsx b/apps/user/components/providers.tsx index e505313..957fab0 100644 --- a/apps/user/components/providers.tsx +++ b/apps/user/components/providers.tsx @@ -60,7 +60,7 @@ export default function Providers({ }, []); return ( - + 0} /> diff --git a/apps/user/tailwind.config.ts b/apps/user/tailwind.config.ts index 4e1acc9..0577764 100644 --- a/apps/user/tailwind.config.ts +++ b/apps/user/tailwind.config.ts @@ -1 +1,8 @@ -export * from '@workspace/ui/tailwind.config'; +import baseConfig from '@workspace/ui/tailwind.config'; + +const config = { + ...baseConfig, + darkMode: false, // 或 'media' 或 'class',根据你的需求覆盖 +}; +console.log(config); +export default config;