fix: sidebar mobile responsive and footer link clickability
This commit is contained in:
@@ -8,14 +8,9 @@ import { Button } from "@/components/ui/button"
|
||||
import { Card, CardContent, CardHeader } from "@/components/ui/card"
|
||||
import { Separator } from "@/components/ui/separator"
|
||||
import { Textarea } from "@/components/ui/textarea"
|
||||
import { roleLabels } from "@/lib/constants"
|
||||
import { mockComments, mockOrders, mockPosts } from "@/lib/mock-data"
|
||||
|
||||
const roleLabels: Record<string, string> = {
|
||||
consumer: "消费者",
|
||||
player: "打手",
|
||||
owner: "店主",
|
||||
}
|
||||
|
||||
export default async function PostDetailPage({ params }: { params: Promise<{ id: string }> }) {
|
||||
const { id } = await params
|
||||
const post = mockPosts.find((p) => p.id === id)
|
||||
|
||||
Reference in New Issue
Block a user