@windrun-huaiin/diaomao 2.1.2 → 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.2",
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