@windrun-huaiin/diaomao 14.1.0 → 14.1.1

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 CHANGED
@@ -16,8 +16,8 @@ NEXT_PUBLIC_STYLE_CDN_PROXY_URL=YOURS-
16
16
  DATABASE_URL="postgresql://postgres:PASSWORD@localhost:5432/postgres?schema=diaomao"
17
17
 
18
18
 
19
- # Website uniform style
20
- NEXT_PUBLIC_STYLE_ICON_COLOR=text-purple-500
19
+ # purple, orange, indigo, emerald, rose
20
+ NEXT_PUBLIC_STYLE_ICON_COLOR=orange
21
21
  NEXT_PUBLIC_STYLE_SVG_ICON_SIZE=18
22
22
 
23
23
  NEXT_PUBLIC_STYLE_SHOW_BANNER=true
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@windrun-huaiin/diaomao",
3
- "version": "14.1.0",
3
+ "version": "14.1.1",
4
4
  "private": false,
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -27,10 +27,10 @@
27
27
  "@radix-ui/react-slot": "^1.2.4",
28
28
  "@tailwindcss/typography": "^0.5.19",
29
29
  "@types/mdx": "^2.0.13",
30
- "@windrun-huaiin/backend-core": "14.1.0",
30
+ "@windrun-huaiin/backend-core": "14.1.1",
31
31
  "@windrun-huaiin/base-ui": "14.0.2",
32
32
  "@windrun-huaiin/lib": "^14.0.0",
33
- "@windrun-huaiin/third-ui": "14.0.1",
33
+ "@windrun-huaiin/third-ui": "14.0.2",
34
34
  "autoprefixer": "^10.4.27",
35
35
  "class-variance-authority": "^0.7.1",
36
36
  "clsx": "^2.1.1",
@@ -1,9 +1,9 @@
1
- import Image from "next/image"
2
1
  import { getTranslations } from 'next-intl/server'
3
2
  import { globalLucideIcons as icons} from '@windrun-huaiin/base-ui/components/server'
4
3
  import { themeHeroEyesOnClass } from '@windrun-huaiin/base-ui/lib'
5
4
  import { cn } from "@windrun-huaiin/lib"
6
5
  import { GradientButton } from "@windrun-huaiin/third-ui/fuma/mdx"
6
+ import { DelayedImg } from "@windrun-huaiin/third-ui/main"
7
7
 
8
8
  export async function Hero({ locale }: { locale: string }) {
9
9
  const t = await getTranslations({ locale, namespace: 'hero' });
@@ -31,15 +31,16 @@ export async function Hero({ locale }: { locale: string }) {
31
31
  </div>
32
32
  <div className="flex-1 relative flex justify-center md:justify-end">
33
33
  <div className="rounded-lg overflow-hidden shadow-purple-500/20 group">
34
- <Image
35
- src={t('heroImageUrl')}
36
- alt={t('heroImageAlt')}
37
- width={500}
38
- height={500}
39
- priority
40
- className="h-auto w-full rounded-lg transition duration-300 group-hover:scale-105"
41
- sizes="(max-width: 768px) 90vw, (max-width: 1200px) 45vw, 35vw"
42
- />
34
+ <DelayedImg
35
+ src={t('heroImageUrl')}
36
+ alt={t('heroImageAlt')}
37
+ fill
38
+ preload
39
+ sizes="(max-width: 768px) 90vw, (max-width: 1200px) 45vw, 35vw"
40
+ className="rounded-lg object-cover group-hover:scale-105"
41
+ wrapperClassName="h-full w-full"
42
+ placeholderClassName="rounded-lg"
43
+ />
43
44
  </div>
44
45
  </div>
45
46
  </section>
@@ -2,7 +2,7 @@
2
2
  title: Blog
3
3
  description: Articles and thoughts about various topics.
4
4
  icon: Rss
5
- date: 2026-03-20
5
+ date: 2026-03-22
6
6
  ---
7
7
 
8
8
  ## Past List
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  title: Monthly Summary
3
3
  description: Index and Summary
4
- date: 2026-03-20
4
+ date: 2026-03-22
5
5
  ---
6
6
 
7
7