chore: brand icon and title by default
This commit is contained in:
1 parent
8e61dc111c
commit
b4fcbd38ba
17 files changed
+1254
-213
No files matched your search
@@ -1,6 +1,6 @@
|
||||
import { useEffect, useRef, useState } from 'react'
|
||||
import { useNavigate, useParams } from 'react-router-dom'
|
||||
import { ArrowLeft, ArrowDown, ArrowUp, Trash2, Plus } from 'lucide-react'
|
||||
import { ArrowLeft, ArrowDown, ArrowUp, Trash2, Plus, Pencil } from 'lucide-react'
|
||||
import { toast } from 'sonner'
|
||||
import { Button } from '@/components/ui/button'
|
||||
import { Input } from '@/components/ui/input'
|
||||
@@ -123,10 +123,16 @@ export default function ReplayEditor() {
|
||||
|
||||
return (
|
||||
<div className="mx-auto max-w-4xl">
|
||||
<Button variant="ghost" className="mb-5" onClick={() => navigate('/admin/streams')}>
|
||||
<ArrowLeft className="h-4 w-4" />
|
||||
返回节目列表
|
||||
</Button>
|
||||
<div className="mb-5 flex flex-wrap gap-2">
|
||||
<Button variant="ghost" onClick={() => navigate('/admin/streams')}>
|
||||
<ArrowLeft className="h-4 w-4" />
|
||||
返回节目列表
|
||||
</Button>
|
||||
<Button variant="ghost" onClick={() => navigate(`/admin/streams/${stream.id}/edit`)}>
|
||||
<Pencil className="h-4 w-4" />
|
||||
编辑节目属性
|
||||
</Button>
|
||||
</div>
|
||||
<PageHeader title="回放与章节" kicker="Replay" description={stream.title} />
|
||||
|
||||
{!isEditable ? (
|
||||
|
||||
Reference in new issue
Block a user