+style={{
+backgroundImage:'url(${headerImage})',//使用HeaderImage作為背景圖
+backgroundSize:'cover', //背景圖覆蓋整個容器
+backgroundPosition:'center' //背景圖居中顯示
+}}>
{/* 文章文字描述 */}
Date: Mon, 2 Dec 2024 10:56:31 +0800
Subject: [PATCH 3/5] Update PostHeader.js
---
themes/heo/components/PostHeader.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/themes/heo/components/PostHeader.js b/themes/heo/components/PostHeader.js
index f8b9dcbcda9..3a188e529b3 100644
--- a/themes/heo/components/PostHeader.js
+++ b/themes/heo/components/PostHeader.js
@@ -48,7 +48,7 @@ backgroundImage:'url(${headerImage})',//使用HeaderImage作為背景圖
backgroundSize:'cover', //背景圖覆蓋整個容器
backgroundPosition:'center' //背景圖居中顯示
}}>
-
+
Date: Mon, 2 Dec 2024 13:37:01 +0800
Subject: [PATCH 4/5] Update PostHeader.js
---
themes/heo/components/PostHeader.js | 22 +++++++++++++---------
1 file changed, 13 insertions(+), 9 deletions(-)
diff --git a/themes/heo/components/PostHeader.js b/themes/heo/components/PostHeader.js
index 3a188e529b3..e4452e9263b 100644
--- a/themes/heo/components/PostHeader.js
+++ b/themes/heo/components/PostHeader.js
@@ -40,15 +40,19 @@ export default function PostHeader({ post, siteInfo, isDarkMode }) {
{/* 文章背景图 */}
-//替換為HeaderImage
-
-style={{
-backgroundImage:'url(${headerImage})',//使用HeaderImage作為背景圖
-backgroundSize:'cover', //背景圖覆蓋整個容器
-backgroundPosition:'center' //背景圖居中顯示
-}}>
-
+
+
+
+
{/* 文章文字描述 */}
Date: Wed, 6 May 2026 18:16:30 +0000
Subject: [PATCH 5/5] Fix React Server Components CVE vulnerabilities
Updated dependencies to fix Next.js and React CVE vulnerabilities.
The fix-react2shell-next tool automatically updated the following packages to their secure versions:
- next
- react-server-dom-webpack
- react-server-dom-parcel
- react-server-dom-turbopack
All package.json files have been scanned and vulnerable versions have been patched to the correct fixed versions based on the official React advisory.
Co-authored-by: Vercel
---
package.json | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/package.json b/package.json
index 780c3eec739..3c619f4f56d 100644
--- a/package.json
+++ b/package.json
@@ -63,7 +63,7 @@
"js-md5": "^0.8.3",
"lodash.throttle": "^4.1.1",
"memory-cache": "^0.2.0",
- "next": "^14.2.30",
+ "next": "14.2.35",
"notion-client": "7.10.0",
"notion-utils": "7.10.0",
"p-limit": "^7.3.0",