Translate entire site to English

This commit is contained in:
Codex
2026-07-21 13:06:43 +02:00
parent 4cdf50c27b
commit 76198b98b5
10 changed files with 45 additions and 86 deletions
+2 -26
View File
@@ -1,29 +1,5 @@
"use client";
import { useEffect, useState } from "react";
const interests = ["真人当前形象 AI 分身","年轻时期 AI 分身","原创数字人 IP","内容增长","评论与私信运营","粉丝变现","全链路转化分析"];
const interests = ["Current-Image AI Avatar","Younger-Era AI Avatar","Original Digital Human IP","Content Growth","Comment & DM Operations","Fan Monetization","Full-Funnel Conversion Analytics"];
const returnUrl = "https://ai-creator-partnership.liuxiaorong2025.chatgpt.site/contact?sent=1";
export function ContactForm(){
const [sent,setSent]=useState(false);
useEffect(()=>{if(new URLSearchParams(window.location.search).get("sent")==="1")setSent(true)},[]);
if(sent)return <div className="success" role="status"><i></i><p className="eyebrow">INQUIRY SENT</p><h2></h2><p></p><button className="link" type="button" onClick={()=>{window.history.replaceState({},"","/contact");setSent(false)}}> <b></b></button></div>;
return <form className="form" action="https://formsubmit.co/liuxiaorong2018@gmail.com" method="POST">
<input type="hidden" name="_subject" value="COZCREATOR:收到新的创作者合作意向"/>
<input type="hidden" name="_template" value="table"/>
<input type="hidden" name="_next" value={returnUrl}/>
<input type="text" name="_honey" className="form-honey" tabIndex={-1} autoComplete="off"/>
<div className="form-row"><label><input name="称呼" required placeholder="怎么称呼你"/></label><label><select name="合作身份" required defaultValue=""><option value="" disabled></option><option></option><option> / </option><option> IP / </option><option>MCN / Agency</option><option></option></select></label></div>
<label> WhatsApp<input name="联系方式" required placeholder="方便我们与你联系"/></label>
<label><input name="账号或作品链接" required type="url" placeholder="https://"/></label>
<div className="form-row"><label><select name="主要平台" required defaultValue=""><option value="" disabled></option><option>Facebook</option><option>Instagram</option><option>TikTok</option><option>YouTube</option><option></option></select></label><label><select name="粉丝规模" required defaultValue=""><option value="" disabled></option><option></option><option>1 </option><option>110 </option><option>10100 </option><option>100 </option></select></label></div>
<fieldset><legend></legend><div className="checks">{interests.map(x=><label key={x}><input name="合作方向" value={x} type="checkbox"/><span>{x}</span></label>)}</div></fieldset>
<label><textarea name="合作需求" rows={5} placeholder="例如:想从零打造一个面向拉美市场的原创数字人 IP……"/></label>
<label className="consent"><input required type="checkbox"/><span>使</span></label>
<button className="btn primary submit" type="submit"> <b></b></button>
<p className="note"></p>
</form>
}
export function ContactForm(){const [sent,setSent]=useState(false);useEffect(()=>{if(new URLSearchParams(window.location.search).get("sent")==="1")setSent(true)},[]);if(sent)return <div className="success" role="status"><i></i><p className="eyebrow">INQUIRY SENT</p><h2>Your partnership inquiry has been sent.</h2><p>Your information has been delivered to our partnership team. Well review your account foundation and goals, then contact you if there is a strong fit.</p><button className="link" type="button" onClick={()=>{window.history.replaceState({},"","/contact");setSent(false)}}>Submit Another Inquiry <b></b></button></div>;return <form className="form" action="https://formsubmit.co/liuxiaorong2018@gmail.com" method="POST"><input type="hidden" name="_subject" value="COZCREATOR: New Creator Partnership Inquiry"/><input type="hidden" name="_template" value="table"/><input type="hidden" name="_next" value={returnUrl}/><input type="text" name="_honey" className="form-honey" tabIndex={-1} autoComplete="off"/><div className="form-row"><label>Your Name<input name="Name" required placeholder="How should we address you?"/></label><label>Partner Type<select name="Partner Type" required defaultValue=""><option value="" disabled>Select one</option><option>Individual Creator</option><option>Talent / Management Team</option><option>Original Digital Human IP / Project</option><option>MCN / Agency</option><option>Brand or Platform</option></select></label></div><label>Email or WhatsApp<input name="Contact Details" required placeholder="How can we reach you?"/></label><label>Main Account or Portfolio URL<input name="Account or Portfolio URL" required type="url" placeholder="https://"/></label><div className="form-row"><label>Primary Platform<select name="Primary Platform" required defaultValue=""><option value="" disabled>Select one</option><option>Facebook</option><option>Instagram</option><option>TikTok</option><option>YouTube</option><option>Other</option></select></label><label>Audience Size<select name="Audience Size" required defaultValue=""><option value="" disabled>Select one</option><option>Not launched yet</option><option>Under 10K</option><option>10K100K</option><option>100K1M</option><option>Over 1M</option></select></label></div><fieldset><legend>Partnership Interests</legend><div className="checks">{interests.map(x=><label key={x}><input name="Partnership Interests" value={x} type="checkbox"/><span>{x}</span></label>)}</div></fieldset><label>What is the main problem you want to solve?<textarea name="Partnership Goals" rows={5} placeholder="For example: I want to build an original digital human IP for the Latin American market…"/></label><label className="consent"><input required type="checkbox"/><span>I agree that the team may use this information solely to evaluate this partnership inquiry.</span></label><button className="btn primary submit" type="submit">Submit Partnership Inquiry <b></b></button><p className="note">Your inquiry will be sent directly to our partnership team.</p></form>}