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 Image from 'next/legacy/image';
|
||||||
import Link from 'next/link';
|
import Link from 'next/link';
|
||||||
import LanguageSwitch from '../language-switch';
|
import LanguageSwitch from '../language-switch';
|
||||||
import ThemeSwitch from '../theme-switch';
|
|
||||||
import { UserNav } from '../user-nav';
|
import { UserNav } from '../user-nav';
|
||||||
|
|
||||||
export default function Header() {
|
export default function Header() {
|
||||||
@ -30,7 +29,7 @@ export default function Header() {
|
|||||||
</nav>
|
</nav>
|
||||||
<div className='flex flex-1 items-center justify-end gap-2'>
|
<div className='flex flex-1 items-center justify-end gap-2'>
|
||||||
<LanguageSwitch />
|
<LanguageSwitch />
|
||||||
<ThemeSwitch />
|
{/*<ThemeSwitch />*/}
|
||||||
<UserNav />
|
<UserNav />
|
||||||
{!user && (
|
{!user && (
|
||||||
<Link
|
<Link
|
||||||
|
|||||||
@ -22,7 +22,10 @@ export default function FooterCopyright() {
|
|||||||
unoptimized
|
unoptimized
|
||||||
></Image>
|
></Image>
|
||||||
<div className={'ml-2.5'}>
|
<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>
|
<div>
|
||||||
<Link href='/tos' className='underline'>
|
<Link href='/tos' className='underline'>
|
||||||
{t('tos')}
|
{t('tos')}
|
||||||
|
|||||||
@ -60,7 +60,7 @@ export default function Providers({
|
|||||||
}, []);
|
}, []);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<NextThemesProvider attribute='class' defaultTheme='system' enableSystem>
|
<NextThemesProvider attribute='class' defaultTheme='light' enableSystem>
|
||||||
<QueryClientProvider client={queryClient}>
|
<QueryClientProvider client={queryClient}>
|
||||||
<ReactQueryStreamedHydration>
|
<ReactQueryStreamedHydration>
|
||||||
<Loading loading={loading || queryClient.isMutating() > 0} />
|
<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