From da58f7c5083ae79d8db1d7a0c633c4b038639771 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B5=B7=E9=BE=99?= Date: Thu, 28 Aug 2025 23:11:42 +0800 Subject: [PATCH] =?UTF-8?q?=E5=86=8D=E6=AC=A1=E4=BF=AE=E5=A4=8D=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/signup/page.tsx | 4 ++-- components/pages/home-page2.tsx | 40 ++++++++++++++++----------------- components/pages/login.tsx | 6 ++--- 3 files changed, 24 insertions(+), 26 deletions(-) diff --git a/app/signup/page.tsx b/app/signup/page.tsx index c170c7d..5583317 100644 --- a/app/signup/page.tsx +++ b/app/signup/page.tsx @@ -154,7 +154,7 @@ export default function SignupPage() { -
+ {/*
or
@@ -166,7 +166,7 @@ export default function SignupPage() { > Google Continue with Google - + */}

diff --git a/components/pages/home-page2.tsx b/components/pages/home-page2.tsx index 010f891..b4d4c79 100644 --- a/components/pages/home-page2.tsx +++ b/components/pages/home-page2.tsx @@ -34,9 +34,9 @@ function useVideoPreloader() { /** 预加载单个视频 */ const preloadVideo = (src: string): Promise => { return new Promise((resolve) => { - const video = document.createElement('video'); + const video = document.createElement("video"); video.muted = true; - video.preload = 'auto'; + video.preload = "auto"; // 设置超时,避免某个视频卡住整个预加载过程 const timeout = setTimeout(() => { @@ -111,7 +111,10 @@ function useVideoPreloader() { const processBatch = () => { if (index >= otherVideos.length) return; - const batch = otherVideos.slice(index, Math.min(index + 3, otherVideos.length)); + const batch = otherVideos.slice( + index, + Math.min(index + 3, otherVideos.length) + ); batch.forEach(preloadVideo); index += batch.length; @@ -124,7 +127,7 @@ function useVideoPreloader() { }; // 如果浏览器不支持 requestIdleCallback,使用 setTimeout - if (typeof requestIdleCallback !== 'undefined') { + if (typeof requestIdleCallback !== "undefined") { preloadRemaining(); } else { setTimeout(() => { @@ -135,16 +138,15 @@ function useVideoPreloader() { }, 100); } } - } catch (error) { - console.error('视频预加载过程中出现错误:', error); + console.error("视频预加载过程中出现错误:", error); } }; useEffect(() => { // 使用 requestIdleCallback 在浏览器空闲时开始预加载 // 如果浏览器不支持,则使用 setTimeout 延迟执行 - if (typeof requestIdleCallback !== 'undefined') { + if (typeof requestIdleCallback !== "undefined") { requestIdleCallback(() => preloadAllVideos(), { timeout: 2000 }); } else { setTimeout(() => preloadAllVideos(), 100); @@ -268,13 +270,10 @@ function HomeModule2() { className="center z-10 flex flex-col items-center mb-[8rem]" >

- Just Give Us Your Ideas + Just Drop A Thought

- Input your idea in one sentence and MovieFlow will bring -

-

- your creativity to life + Say your idea in a single line,and MovieFlow will bring it to life.

- Create Anything + Ideas Made Real

- MovieFlow can make any kind of film in high quality for you + High-quality films, any style, made with MovieFlow.

{/* 3x3网格布局 */} @@ -435,28 +434,27 @@ function HomeModule3() { /**电影制作工序介绍 */ function HomeModule4() { const [activeTab, setActiveTab] = useState(0); - const processSteps = [ { - title: "The Narrative Engine", + title:" The Story Agent", description: " From a single thought, it builds entire worlds and compelling plots.", video: "https://cdn.qikongjian.com/videos/module4 (3).mp4", }, { - title: "AI Character Engine", + title:" AI Character Agent", description: "Cast your virtual actors. Lock them in once, for the entire story.", video: "https://cdn.qikongjian.com/videos/module4 (1).mp4", }, { - title: "AI vision engine", + title:" The Shot Agent", description: "It translates your aesthetic into art, light, and cinematography for every single shot.", video: "https://cdn.qikongjian.com/videos/module4 (4).mp4", }, { - title: "Intelligent Editing Engine", + title:" Intelligent Clip Agent", description: "An editing AI drives the final cut, for a story told seamlessly.", video: "https://cdn.qikongjian.com/videos/module4 (2).mp4", @@ -477,7 +475,7 @@ function HomeModule4() { className="center z-10 flex flex-col items-center mb-[14rem]" >

- Edit like you think + Create Your Way

@@ -621,7 +619,7 @@ function HomeModule5() { className="center z-10 flex flex-col items-center mb-[8rem]" >

- Start Creating + Pick a plan and make it yours

{/* 计费切换 */} diff --git a/components/pages/login.tsx b/components/pages/login.tsx index 2a3905a..1390faa 100644 --- a/components/pages/login.tsx +++ b/components/pages/login.tsx @@ -103,7 +103,7 @@ export default function Login() {
-

Login

+

Login

Enter your credentials to access your account

@@ -163,7 +163,7 @@ export default function Login() { > {isSubmitting ? 'Logging in...' : 'Login'} - +{/*
or @@ -177,7 +177,7 @@ export default function Login() { > Google Continue with Google - + */}