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">
<section className="text-center space-y-4 py-8">
<h1 className="text-4xl font-bold tracking-tight"></h1>
<p className="text-lg text-muted-foreground max-w-xl mx-auto">
</p>
<p className="text-lg text-muted-foreground max-w-xl mx-auto"></p>
<div className="flex justify-center gap-2 pt-2">
<Button size="lg" asChild>
<Link href="/search">
<Search className="mr-2 h-4 w-4" />
</Link>
</Button>
<Button size="lg" variant="outline" asChild>
+1 -1
View File
@@ -122,7 +122,7 @@ export default async function PostDetailPage({ params }: { params: Promise<{ id:
</div>
{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">
{comments.map((comment) => (
+1 -6
View File
@@ -105,12 +105,7 @@ export default function NewPostPage() {
<div className="space-y-2">
<Label htmlFor="content"></Label>
<Textarea
id="content"
placeholder="分享你的游戏体验..."
rows={6}
{...register("content")}
/>
<Textarea id="content" placeholder="写点什么..." rows={6} {...register("content")} />
{errors.content && (
<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>
<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 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">
<SheetHeader>
<SheetTitle></SheetTitle>
<SheetDescription></SheetDescription>
<SheetDescription></SheetDescription>
</SheetHeader>
<div className="py-6">
<FilterSection