fix: rewrite ai-flavored marketing copy with natural language

This commit is contained in:
zetaloop
2026-02-20 20:13:54 +08:00
parent 4079d97f0f
commit e12500fafd
7 changed files with 9 additions and 18 deletions
+2 -4
View File
@@ -12,14 +12,12 @@ export default function HomePage() {
<div className="container mx-auto py-8 px-4 space-y-12"> <div className="container mx-auto py-8 px-4 space-y-12">
<section className="text-center space-y-4 py-8"> <section className="text-center space-y-4 py-8">
<h1 className="text-4xl font-bold tracking-tight"></h1> <h1 className="text-4xl font-bold tracking-tight"></h1>
<p className="text-lg text-muted-foreground max-w-xl mx-auto"> <p className="text-lg text-muted-foreground max-w-xl mx-auto"></p>
</p>
<div className="flex justify-center gap-2 pt-2"> <div className="flex justify-center gap-2 pt-2">
<Button size="lg" asChild> <Button size="lg" asChild>
<Link href="/search"> <Link href="/search">
<Search className="mr-2 h-4 w-4" /> <Search className="mr-2 h-4 w-4" />
</Link> </Link>
</Button> </Button>
<Button size="lg" variant="outline" asChild> <Button size="lg" variant="outline" asChild>
+1 -1
View File
@@ -122,7 +122,7 @@ export default async function PostDetailPage({ params }: { params: Promise<{ id:
</div> </div>
{comments.length === 0 ? ( {comments.length === 0 ? (
<p className="text-sm text-muted-foreground text-center py-8"></p> <p className="text-sm text-muted-foreground text-center py-8"></p>
) : ( ) : (
<div className="space-y-4"> <div className="space-y-4">
{comments.map((comment) => ( {comments.map((comment) => (
+1 -6
View File
@@ -105,12 +105,7 @@ export default function NewPostPage() {
<div className="space-y-2"> <div className="space-y-2">
<Label htmlFor="content"></Label> <Label htmlFor="content"></Label>
<Textarea <Textarea id="content" placeholder="写点什么..." rows={6} {...register("content")} />
id="content"
placeholder="分享你的游戏体验..."
rows={6}
{...register("content")}
/>
{errors.content && ( {errors.content && (
<p className="text-xs text-destructive">{errors.content.message}</p> <p className="text-xs text-destructive">{errors.content.message}</p>
)} )}
+2 -2
View File
@@ -381,7 +381,7 @@ function SearchPageContent() {
<div className="flex flex-col md:flex-row md:items-center justify-between gap-4 mb-8"> <div className="flex flex-col md:flex-row md:items-center justify-between gap-4 mb-8">
<div> <div>
<h1 className="text-3xl font-bold tracking-tight"></h1> <h1 className="text-3xl font-bold tracking-tight"></h1>
<p className="text-muted-foreground mt-1"></p> <p className="text-muted-foreground mt-1"></p>
</div> </div>
<div className="flex items-center gap-2 w-full md:w-auto"> <div className="flex items-center gap-2 w-full md:w-auto">
@@ -405,7 +405,7 @@ function SearchPageContent() {
<SheetContent side="left" className="w-[300px] sm:w-[400px] overflow-y-auto"> <SheetContent side="left" className="w-[300px] sm:w-[400px] overflow-y-auto">
<SheetHeader> <SheetHeader>
<SheetTitle></SheetTitle> <SheetTitle></SheetTitle>
<SheetDescription></SheetDescription> <SheetDescription></SheetDescription>
</SheetHeader> </SheetHeader>
<div className="py-6"> <div className="py-6">
<FilterSection <FilterSection
+1 -3
View File
@@ -95,9 +95,7 @@ export default function ReviewPage({ params }: { params: Promise<{ id: string }>
<div className="rounded-md bg-muted/50 p-3 text-xs text-muted-foreground flex items-start gap-2"> <div className="rounded-md bg-muted/50 p-3 text-xs text-muted-foreground flex items-start gap-2">
<Lock className="h-4 w-4 shrink-0 mt-0.5" /> <Lock className="h-4 w-4 shrink-0 mt-0.5" />
<span> <span></span>
</span>
</div> </div>
<Button className="w-full" disabled={rating === 0} onClick={() => setSubmitted(true)}> <Button className="w-full" disabled={rating === 0} onClick={() => setSubmitted(true)}>
+1 -1
View File
@@ -15,7 +15,7 @@ const geistMono = Geist_Mono({
export const metadata: Metadata = { export const metadata: Metadata = {
title: "聚玩", title: "聚玩",
description: "游戏陪玩服务平台", description: "游戏陪玩平台",
} }
export default function RootLayout({ export default function RootLayout({
+1 -1
View File
@@ -11,7 +11,7 @@ export function Footer() {
<Gamepad2 className="h-5 w-5" /> <Gamepad2 className="h-5 w-5" />
</Link> </Link>
<p className="mt-2 text-sm text-muted-foreground"></p> <p className="mt-2 text-sm text-muted-foreground"></p>
</div> </div>
<div> <div>
<h3 className="font-semibold text-sm mb-3"></h3> <h3 className="font-semibold text-sm mb-3"></h3>