@windrun-huaiin/diaomao 31.1.1 → 31.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.env.local.txt +5 -0
- package/next-env.d.ts +1 -1
- package/package.json +4 -4
- package/src/app/[locale]/(clerk)/layout.tsx +0 -4
- package/src/app/[locale]/(content)/blog/layout.tsx +0 -4
- package/src/app/[locale]/(content)/legal/layout.tsx +0 -4
- package/src/app/[locale]/(home)/layout.tsx +0 -4
- package/src/app/[locale]/(home)/pricing/page.tsx +1 -1
- package/src/app/[locale]/layout.tsx +4 -1
- package/src/lib/appConfig.ts +1 -1
package/.env.local.txt
CHANGED
|
@@ -15,6 +15,11 @@ NEXT_PUBLIC_BASE_URL=http://localhost:3000
|
|
|
15
15
|
NEXT_PUBLIC_GITHUB=https://github.com/YOURS_/YOURS_/
|
|
16
16
|
NEXT_PUBLIC_GITHUB_BASE_URL=https://github.com/YOURS_/YOURS_/main
|
|
17
17
|
|
|
18
|
+
|
|
19
|
+
## Website Theme Switch Mode
|
|
20
|
+
## light-only, dark-only, light-dark-system
|
|
21
|
+
NEXT_PUBLIC_STYLE_THEME_MODE=light-dark-only
|
|
22
|
+
|
|
18
23
|
## Website Theme Color config
|
|
19
24
|
## purple:#AC62FD , orange:#F97316, indigo:#6366F1, emerald:#48C892, rose:#F43F5E
|
|
20
25
|
NEXT_PUBLIC_STYLE_ICON_COLOR=orange
|
package/next-env.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="next" />
|
|
2
2
|
/// <reference types="next/image-types/global" />
|
|
3
|
-
import "./.next/types/routes.d.ts";
|
|
3
|
+
import "./.next/dev/types/routes.d.ts";
|
|
4
4
|
|
|
5
5
|
// NOTE: This file should not be edited
|
|
6
6
|
// see https://nextjs.org/docs/app/api-reference/config/typescript for more information.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@windrun-huaiin/diaomao",
|
|
3
|
-
"version": "31.1.
|
|
3
|
+
"version": "31.1.3",
|
|
4
4
|
"private": false,
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -21,8 +21,8 @@
|
|
|
21
21
|
"@windrun-huaiin/base-ui": "31.0.0",
|
|
22
22
|
"@windrun-huaiin/contracts": "31.0.0",
|
|
23
23
|
"@windrun-huaiin/fumadocs-local-md": "31.0.0",
|
|
24
|
-
"@windrun-huaiin/lib": "31.0.
|
|
25
|
-
"@windrun-huaiin/third-ui": "31.0
|
|
24
|
+
"@windrun-huaiin/lib": "31.0.1",
|
|
25
|
+
"@windrun-huaiin/third-ui": "31.2.0",
|
|
26
26
|
"clsx": "^2.1.1",
|
|
27
27
|
"lucide-react": "^0.577.0",
|
|
28
28
|
"next": "16.1.6",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"@types/react": "^19.2.14",
|
|
45
45
|
"@types/react-dom": "^19.2.3",
|
|
46
46
|
"@typescript-eslint/parser": "^8.56.1",
|
|
47
|
-
"@windrun-huaiin/dev-scripts": "
|
|
47
|
+
"@windrun-huaiin/dev-scripts": "31.0.1",
|
|
48
48
|
"baseline-browser-mapping": "^2.10.0",
|
|
49
49
|
"dotenv": "^17.4.2",
|
|
50
50
|
"eslint": "^9.39.1",
|
|
@@ -30,7 +30,7 @@ export default async function Pricing({
|
|
|
30
30
|
return (
|
|
31
31
|
<>
|
|
32
32
|
{ (forceShow || isDev) && <FingerprintStatus />}
|
|
33
|
-
<section id="money-pricing" className={cn("px-4 py-4 md:px-16 md:py-8 mx-auto max-w-7xl scroll-mt-10", 'mt-12')}>
|
|
33
|
+
<section id="money-pricing" className={cn("min-h-screen px-4 py-4 md:px-16 md:py-8 mx-auto max-w-7xl scroll-mt-10", 'mt-12')}>
|
|
34
34
|
<h2 className="text-3xl md:text-4xl font-bold text-center mb-3">
|
|
35
35
|
{data.title}
|
|
36
36
|
</h2>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { appConfig, generatedLocales, localePrefixAsNeeded, defaultLocale } from '@/lib/appConfig';
|
|
1
|
+
import { appConfig, generatedLocales, localePrefixAsNeeded, defaultLocale, themeMode } from '@/lib/appConfig';
|
|
2
2
|
import { getFumaTranslations } from '@windrun-huaiin/third-ui/fuma/fuma-translate-util';
|
|
3
3
|
import { createLocalizedSiteMetadata } from '@windrun-huaiin/third-ui/lib/seo-metadata';
|
|
4
4
|
import { NProgressBar } from '@windrun-huaiin/third-ui/main';
|
|
@@ -47,6 +47,9 @@ export default async function RootLayout({
|
|
|
47
47
|
<NProgressBar />
|
|
48
48
|
<ClerkProviderClient locale={locale} localePrefixAsNeeded={localePrefixAsNeeded} defaultLocale={defaultLocale}>
|
|
49
49
|
<DocsRootProvider
|
|
50
|
+
theme={{
|
|
51
|
+
mode: themeMode,
|
|
52
|
+
}}
|
|
50
53
|
i18n={{
|
|
51
54
|
locale: locale,
|
|
52
55
|
locales: generatedLocales,
|
package/src/lib/appConfig.ts
CHANGED
|
@@ -12,4 +12,4 @@ export const { localePrefixAsNeeded, defaultLocale } = appConfig.i18n;
|
|
|
12
12
|
export const github = appConfig.github;
|
|
13
13
|
|
|
14
14
|
// export shortcuts
|
|
15
|
-
export const { iconColor, watermark, showBanner, clerkPageBanner, clerkAuthInModal, placeHolderImage } = appConfig.shortcuts;
|
|
15
|
+
export const { iconColor, themeMode, watermark, showBanner, clerkPageBanner, clerkAuthInModal, placeHolderImage } = appConfig.shortcuts;
|