@windrun-huaiin/diaomao 2.1.0 → 2.2.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@windrun-huaiin/diaomao",
3
- "version": "2.1.0",
3
+ "version": "2.2.0",
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.4",
29
- "@windrun-huaiin/lib": "^5.7.2",
30
- "@windrun-huaiin/third-ui": "^5.10.0",
28
+ "@windrun-huaiin/base-ui": "^6.0.1",
29
+ "@windrun-huaiin/lib": "^6.1.0",
30
+ "@windrun-huaiin/third-ui": "^5.11.1",
31
31
  "autoprefixer": "^10.4.21",
32
32
  "class-variance-authority": "^0.7.1",
33
33
  "clsx": "^2.1.1",
@@ -42,9 +42,9 @@ export default async function RootLayout({
42
42
  enabled: true,
43
43
  mode: 'light-dark-system',
44
44
  }}
45
- className={`dark:bg-neutral-950 dark:[--color-fd-background:var(--color-neutral-950)] pt-25 ${clerkPageBanner ? 'has-banner' : 'no-banner'}`}
45
+ className={`min-h-screen flex flex-col bg-neutral-100 dark:bg-neutral-900 transition-colors duration-300 ${clerkPageBanner ? 'pt-30 has-banner' : 'pt-20 no-banner'}`}
46
46
  >
47
- <FumaBannerSuit showText={clerkPageBanner}/>
47
+ <FumaBannerSuit showBanner={clerkPageBanner}/>
48
48
  {children}
49
49
  </HomeLayout>
50
50
  </ClerkProviderClient>
@@ -37,9 +37,9 @@ export default async function Layout({
37
37
  enabled: true,
38
38
  mode: 'light-dark-system',
39
39
  }}
40
- className={`dark:bg-neutral-950 dark:[--color-fd-background:var(--color-neutral-950)] pt-25 ${showBanner ? 'has-banner' : 'no-banner'}`}
40
+ className={`min-h-screen flex flex-col bg-neutral-100 dark:bg-neutral-900 transition-colors duration-300 ${showBanner ? 'pt-30 has-banner' : 'pt-15 no-banner'}`}
41
41
  >
42
- <FumaBannerSuit showText={showBanner}/>
42
+ <FumaBannerSuit showBanner={showBanner}/>
43
43
  {children}
44
44
  <Footer />
45
45
  <GoToTop />
@@ -6,7 +6,7 @@ import { CTA, FAQ, Features, PricePlan, SeoContent, Tips, Usage } from "@windrun
6
6
 
7
7
  export default function Home() {
8
8
  return (
9
- <main className="min-h-screen flex flex-col bg-neutral-100 dark:bg-neutral-900 transition-colors duration-300">
9
+ <>
10
10
  <Hero />
11
11
  <Usage />
12
12
  <Features />
@@ -15,7 +15,7 @@ export default function Home() {
15
15
  <PricePlan pricePlanConfig={pricePlanConfig} currency="¥" />
16
16
  <SeoContent />
17
17
  <CTA />
18
- </main>
18
+ </>
19
19
  )
20
20
  }
21
21
 
@@ -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
  )
@@ -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-24
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-22
12
+ 2025-07-26
21
13
  </ZiaCard>
22
14
  </Cards>
@@ -1,17 +1,14 @@
1
1
  ---
2
2
  title: Monthly Summary
3
3
  description: Index and Summary
4
- date: 2025-07-24
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-22(About Project Structure)" href="./nextjs-architecture" />
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
 
@@ -1,7 +1,6 @@
1
1
  {
2
2
  "pages": [
3
3
  "index",
4
- "why-docs",
5
4
  "...",
6
5
  "!ioc"
7
6
  ]
@@ -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-22
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="" />
@@ -1,10 +0,0 @@
1
- ---
2
- title: Why DDaaS?
3
- description: Docs Driven as a Service
4
- author: D8ger
5
- date: 2025-05-26
6
- ---
7
-
8
- <Callout title="FumaMDX·All in One" type="success">
9
- 所有需要的语法和工具, 都在这儿
10
- </Callout>