@windrun-huaiin/diaomao 2.0.3 → 2.1.2
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/messages/en.json +1 -1
- package/package.json +4 -4
- package/src/app/[locale]/(home)/page.tsx +1 -1
- package/src/app/[locale]/layout.config.tsx +5 -0
- package/src/app/[locale]/layout.tsx +4 -0
- package/src/mdx/blog/index.mdx +2 -10
- package/src/mdx/blog/ioc.mdx +2 -5
- package/src/mdx/blog/meta.json +0 -1
- package/src/mdx/blog/nextjs-architecture.mdx +1 -4
- package/src/mdx/blog/why-docs.mdx +0 -10
package/messages/en.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@windrun-huaiin/diaomao",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.1.2",
|
|
4
4
|
"private": false,
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -25,9 +25,9 @@
|
|
|
25
25
|
"@radix-ui/react-slot": "^1.2.2",
|
|
26
26
|
"@tailwindcss/typography": "latest",
|
|
27
27
|
"@types/mdx": "^2.0.13",
|
|
28
|
-
"@windrun-huaiin/base-ui": "^5.3.
|
|
29
|
-
"@windrun-huaiin/lib": "^5.7.
|
|
30
|
-
"@windrun-huaiin/third-ui": "^5.
|
|
28
|
+
"@windrun-huaiin/base-ui": "^5.3.4",
|
|
29
|
+
"@windrun-huaiin/lib": "^5.7.2",
|
|
30
|
+
"@windrun-huaiin/third-ui": "^5.10.0",
|
|
31
31
|
"autoprefixer": "^10.4.21",
|
|
32
32
|
"class-variance-authority": "^0.7.1",
|
|
33
33
|
"clsx": "^2.1.1",
|
|
@@ -8,11 +8,11 @@ export default function Home() {
|
|
|
8
8
|
return (
|
|
9
9
|
<main className="min-h-screen flex flex-col bg-neutral-100 dark:bg-neutral-900 transition-colors duration-300">
|
|
10
10
|
<Hero />
|
|
11
|
-
<PricePlan pricePlanConfig={pricePlanConfig} currency="¥" />
|
|
12
11
|
<Usage />
|
|
13
12
|
<Features />
|
|
14
13
|
<Tips />
|
|
15
14
|
<FAQ />
|
|
15
|
+
<PricePlan pricePlanConfig={pricePlanConfig} currency="¥" />
|
|
16
16
|
<SeoContent />
|
|
17
17
|
<CTA />
|
|
18
18
|
</main>
|
|
@@ -16,6 +16,11 @@ export async function homeNavLinks(locale: string): Promise<LinkItemType[]> {
|
|
|
16
16
|
text: t1('blog'),
|
|
17
17
|
url: `/${locale}/blog`,
|
|
18
18
|
},
|
|
19
|
+
{
|
|
20
|
+
icon: <icons.BTC />,
|
|
21
|
+
text: t1('pricing'),
|
|
22
|
+
url: `/${locale}#pricing`,
|
|
23
|
+
},
|
|
19
24
|
{
|
|
20
25
|
type: 'custom',
|
|
21
26
|
// false to put the menu on the left, true to put the button on the right
|
|
@@ -7,6 +7,8 @@ import { getMessages, getTranslations, setRequestLocale } from 'next-intl/server
|
|
|
7
7
|
import { Montserrat } from "next/font/google";
|
|
8
8
|
import './globals.css';
|
|
9
9
|
import React from 'react';
|
|
10
|
+
import { GoogleAnalyticsScript } from "@windrun-huaiin/base-ui/components";
|
|
11
|
+
import { MicrosoftClarityScript } from "@windrun-huaiin/base-ui/components";
|
|
10
12
|
|
|
11
13
|
export const montserrat = Montserrat({
|
|
12
14
|
weight: ['400'],
|
|
@@ -70,6 +72,8 @@ export default async function RootLayout({
|
|
|
70
72
|
{children}
|
|
71
73
|
</RootProvider>
|
|
72
74
|
</body>
|
|
75
|
+
<GoogleAnalyticsScript />
|
|
76
|
+
<MicrosoftClarityScript />
|
|
73
77
|
</NextIntlClientProvider>
|
|
74
78
|
</html>
|
|
75
79
|
)
|
package/src/mdx/blog/index.mdx
CHANGED
|
@@ -2,21 +2,13 @@
|
|
|
2
2
|
title: Blog
|
|
3
3
|
description: Articles and thoughts about various topics.
|
|
4
4
|
icon: Rss
|
|
5
|
-
date: 2025-07-
|
|
5
|
+
date: 2025-07-26
|
|
6
6
|
---
|
|
7
7
|
|
|
8
|
-
## Feature List
|
|
9
|
-
|
|
10
|
-
<Cards>
|
|
11
|
-
<ZiaCard href="blog/why-docs" title="Why DDaaS?">
|
|
12
|
-
2025-05-26
|
|
13
|
-
</ZiaCard>
|
|
14
|
-
</Cards>
|
|
15
|
-
|
|
16
8
|
## Past List
|
|
17
9
|
|
|
18
10
|
<Cards>
|
|
19
11
|
<ZiaCard icon={<Gift />} href="blog/nextjs-architecture" title="About Project Structure">
|
|
20
|
-
2025-07-
|
|
12
|
+
2025-07-26
|
|
21
13
|
</ZiaCard>
|
|
22
14
|
</Cards>
|
package/src/mdx/blog/ioc.mdx
CHANGED
|
@@ -1,17 +1,14 @@
|
|
|
1
1
|
---
|
|
2
2
|
title: Monthly Summary
|
|
3
3
|
description: Index and Summary
|
|
4
|
-
date: 2025-07-
|
|
4
|
+
date: 2025-07-26
|
|
5
5
|
---
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
## Overview
|
|
9
9
|
<Files>
|
|
10
10
|
<ZiaFolder name="2025-07(1)" defaultOpen>
|
|
11
|
-
<ZiaFile name="2025-07-
|
|
12
|
-
</ZiaFolder>
|
|
13
|
-
<ZiaFolder name="2025-05(1)">
|
|
14
|
-
<ZiaFile name="2025-05-26(Why DDaaS?)" href="./why-docs" />
|
|
11
|
+
<ZiaFile name="2025-07-26(About Project Structure)" href="./nextjs-architecture" />
|
|
15
12
|
</ZiaFolder>
|
|
16
13
|
</Files>
|
|
17
14
|
|
package/src/mdx/blog/meta.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
title: About Project Structure
|
|
3
3
|
description: Show all source code directories and files
|
|
4
4
|
icon: Gift
|
|
5
|
-
date: 2025-07-
|
|
5
|
+
date: 2025-07-26
|
|
6
6
|
---
|
|
7
7
|
|
|
8
8
|
## Quick Started
|
|
@@ -111,11 +111,8 @@ date: 2025-07-22
|
|
|
111
111
|
</ZiaFolder>
|
|
112
112
|
<ZiaFolder name="mdx" anotion="FumaMDX文档" defaultOpen>
|
|
113
113
|
<ZiaFolder name="blog" anotion="博客" defaultOpen>
|
|
114
|
-
<ZiaFile name="index.mdx" anotion="" href="" />
|
|
115
|
-
<ZiaFile name="ioc.mdx" anotion="月度/统计" href="" />
|
|
116
114
|
<ZiaFile name="meta.json" anotion="FumaMDX元数据" href="" />
|
|
117
115
|
<ZiaFile name="nextjs-architecture.mdx" anotion="Next.js项目结构" href="" />
|
|
118
|
-
<ZiaFile name="why-docs.mdx" anotion="" href="" />
|
|
119
116
|
</ZiaFolder>
|
|
120
117
|
<ZiaFolder name="legal" anotion="法律" defaultOpen>
|
|
121
118
|
<ZiaFile name="index.mdx" anotion="" href="" />
|