From b27a7627b581586fc3193c936607b7b9bfe6a259 Mon Sep 17 00:00:00 2001 From: javayhu Date: Mon, 28 Apr 2025 22:57:48 +0800 Subject: [PATCH] sync: update tailark to 20250427 https://github.com/tailark/blocks/commit/18c66f051b54b0a97764282f98e040033807772b --- next.config.ts | 4 ++++ package.json | 2 +- src/analytics/analytics.tsx | 8 ++------ src/app/[locale]/preview/hero-section/five/page.tsx | 1 - src/app/[locale]/preview/hero-section/four/page.tsx | 2 +- src/app/[locale]/preview/hero-section/one/page.tsx | 13 +++++-------- .../[locale]/preview/hero-section/three/page.tsx | 2 +- 7 files changed, 14 insertions(+), 18 deletions(-) diff --git a/next.config.ts b/next.config.ts index 56799cc..c05eb6c 100644 --- a/next.config.ts +++ b/next.config.ts @@ -33,6 +33,10 @@ const nextConfig: NextConfig = { protocol: 'https', hostname: 'res.cloudinary.com', }, + { + protocol: 'https', + hostname: 'ik.imagekit.io', + }, ], }, }; diff --git a/package.json b/package.json index 3d6918d..5af4e9c 100644 --- a/package.json +++ b/package.json @@ -143,4 +143,4 @@ "tsx": "^4.19.3", "typescript": "^5" } -} \ No newline at end of file +} diff --git a/src/analytics/analytics.tsx b/src/analytics/analytics.tsx index 3781721..df7ea88 100644 --- a/src/analytics/analytics.tsx +++ b/src/analytics/analytics.tsx @@ -44,15 +44,11 @@ export function Analytics() { {/* vercel analytics */} {/* https://vercel.com/docs/analytics/quickstart */} - {websiteConfig.analytics.enableVercelAnalytics && ( - - )} + {websiteConfig.analytics.enableVercelAnalytics && } {/* speed insights */} {/* https://vercel.com/docs/speed-insights/quickstart */} - {websiteConfig.analytics.enableSpeedInsights && ( - - )} + {websiteConfig.analytics.enableSpeedInsights && } ); } diff --git a/src/app/[locale]/preview/hero-section/five/page.tsx b/src/app/[locale]/preview/hero-section/five/page.tsx index 837a3e3..28bc5a9 100644 --- a/src/app/[locale]/preview/hero-section/five/page.tsx +++ b/src/app/[locale]/preview/hero-section/five/page.tsx @@ -49,7 +49,6 @@ export default function HeroSection() {
- {/* FIXME: video url is broken for the storage is disabled */}