Build complete AI creator partnership prototype

This commit is contained in:
Codex Sites
2026-07-18 22:55:00 -05:00
commit 8cdc0bf20f
54 changed files with 12460 additions and 0 deletions
+3
View File
@@ -0,0 +1,3 @@
"use client";import { FormEvent,useState } from "react";
const interests=["AI 分身","内容增长","评论与私聊运营","粉丝变现","MCN / Agency 合作"];
export function ContactForm(){const [sent,setSent]=useState(false);function submit(e:FormEvent){e.preventDefault();setSent(true)}if(sent)return <div className="success" role="status"><i></i><p className="eyebrow">INQUIRY SAVED</p><h2></h2><p>线CRM </p><button className="link" type="button" onClick={()=>setSent(false)}> <b></b></button></div>;return <form className="form" onSubmit={submit}><div className="form-row"><label><input required placeholder="怎么称呼你"/></label><label><select required defaultValue=""><option value="" disabled></option><option></option><option> / </option><option>MCN / Agency</option><option></option></select></label></div><label><input required type="url" placeholder="https://"/></label><div className="form-row"><label><select required defaultValue=""><option value="" disabled></option><option>Facebook</option><option>Instagram</option><option>TikTok</option><option>YouTube</option><option></option></select></label><label><select required defaultValue=""><option value="" disabled></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 type="checkbox"/><span>{x}</span></label>)}</div></fieldset><label><textarea rows={5} placeholder="例如:有粉丝基础,但私聊和变现还没有系统运营……"/></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>}
+2
View File
@@ -0,0 +1,2 @@
import type { ReactNode } from "react";
export function PageHero({eyebrow,title,description,extra}:{eyebrow:string,title:ReactNode,description:string,extra?:ReactNode}){return <section className="page-hero paper"><div className="shell page-hero-grid"><div><p className="eyebrow">{eyebrow}</p><h1>{title}</h1></div><div><p>{description}</p>{extra}</div></div></section>}
+6
View File
@@ -0,0 +1,6 @@
"use client";
import Link from "next/link";
import { usePathname } from "next/navigation";
import { useState } from "react";
const links=[["/","首页"],["/advantages","合作优势"],["/process","合作流程"],["/cases","案例展示"],["/faq","常见问题"],["/contact","联系"]];
export function SiteNav(){const path=usePathname();const [open,setOpen]=useState(false);return <header><div className="shell nav"><Link className="brand" href="/" onClick={()=>setOpen(false)}>COZ<span>CREATOR</span></Link><button className="menu" type="button" aria-label={open?"关闭导航":"打开导航"} aria-expanded={open} onClick={()=>setOpen(!open)}><i/><i/></button><nav className={open?"open":""}>{links.map(([href,label])=><Link className={path===href?"active":""} href={href} key={href} onClick={()=>setOpen(false)}>{label}</Link>)}<Link className="nav-cta" href="/contact"></Link></nav></div></header>}
+5
View File
@@ -0,0 +1,5 @@
import Link from "next/link";
import type { ReactNode } from "react";
import { SiteNav } from "./SiteNav";
export function SiteShell({children}:{children:ReactNode}) { return <div className="site"><SiteNav/>{children}<footer><div className="shell footer-main"><div><Link className="brand inverted" href="/">COZ<span>CREATOR</span></Link><p> AI </p></div><nav><div><strong></strong><Link href="/advantages"></Link><Link href="/process"></Link><Link href="/cases"></Link></div><div><strong></strong><Link href="/faq"></Link><Link href="/contact"></Link><Link href="/contact"></Link></div></nav></div><div className="shell footer-bottom"><span>© 2026 COZCREATOR</span><span>AI · · · </span></div></footer></div> }