fix: 修改配置项和同步代码bug
This commit is contained in:
parent
346183c997
commit
f49c2a5f2a
@ -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() {
|
||||
</nav>
|
||||
<div className='flex flex-1 items-center justify-end gap-2'>
|
||||
<LanguageSwitch />
|
||||
<ThemeSwitch />
|
||||
{/*<ThemeSwitch />*/}
|
||||
<UserNav />
|
||||
{!user && (
|
||||
<Link
|
||||
|
||||
@ -22,7 +22,10 @@ export default function FooterCopyright() {
|
||||
unoptimized
|
||||
></Image>
|
||||
<div className={'ml-2.5'}>
|
||||
<strong className='text-foreground'>{site.site_name}</strong> © All rights reserved.
|
||||
<strong className='text-foreground'>
|
||||
Airo<sup className='text-[8px]'>™</sup>Port
|
||||
</strong>{' '}
|
||||
© All rights reserved.
|
||||
<div>
|
||||
<Link href='/tos' className='underline'>
|
||||
{t('tos')}
|
||||
|
||||
@ -60,7 +60,7 @@ export default function Providers({
|
||||
}, []);
|
||||
|
||||
return (
|
||||
<NextThemesProvider attribute='class' defaultTheme='system' enableSystem>
|
||||
<NextThemesProvider attribute='class' defaultTheme='light' enableSystem>
|
||||
<QueryClientProvider client={queryClient}>
|
||||
<ReactQueryStreamedHydration>
|
||||
<Loading loading={loading || queryClient.isMutating() > 0} />
|
||||
|
||||
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user