COmpoeentes standardization 2
This commit is contained in:
@@ -763,8 +763,8 @@ export default function ContentViewTemplate({ content, loading, onBack }: Conten
|
||||
<Button
|
||||
variant="primary"
|
||||
onClick={onBack}
|
||||
startIcon={<ArrowLeftIcon className="w-4 h-4" />}
|
||||
>
|
||||
<ArrowLeftIcon className="w-4 h-4" />
|
||||
Back to Content List
|
||||
</Button>
|
||||
)}
|
||||
@@ -829,8 +829,8 @@ export default function ContentViewTemplate({ content, loading, onBack }: Conten
|
||||
variant="ghost"
|
||||
onClick={onBack}
|
||||
className="mb-6"
|
||||
startIcon={<ArrowLeftIcon className="w-4 h-4" />}
|
||||
>
|
||||
<ArrowLeftIcon className="w-4 h-4" />
|
||||
Back to Content List
|
||||
</Button>
|
||||
)}
|
||||
@@ -1030,16 +1030,16 @@ export default function ContentViewTemplate({ content, loading, onBack }: Conten
|
||||
<Button
|
||||
variant="primary"
|
||||
onClick={() => navigate(`/sites/${content.site_id}/posts/${content.id}/edit`)}
|
||||
startIcon={<PencilIcon className="w-4 h-4" />}
|
||||
>
|
||||
<PencilIcon className="w-4 h-4" />
|
||||
Edit Content
|
||||
</Button>
|
||||
<Button
|
||||
variant="primary"
|
||||
tone="brand"
|
||||
onClick={() => navigate(`/writer/images?contentId=${content.id}`)}
|
||||
startIcon={<ImageIcon className="w-4 h-4" />}
|
||||
>
|
||||
<ImageIcon className="w-4 h-4" />
|
||||
Generate Images
|
||||
</Button>
|
||||
</>
|
||||
@@ -1051,16 +1051,16 @@ export default function ContentViewTemplate({ content, loading, onBack }: Conten
|
||||
<Button
|
||||
variant="primary"
|
||||
onClick={() => navigate(`/sites/${content.site_id}/posts/${content.id}/edit`)}
|
||||
startIcon={<PencilIcon className="w-4 h-4" />}
|
||||
>
|
||||
<PencilIcon className="w-4 h-4" />
|
||||
Edit Content
|
||||
</Button>
|
||||
<Button
|
||||
variant="primary"
|
||||
tone="brand"
|
||||
onClick={() => navigate(`/writer/published?contentId=${content.id}&action=publish`)}
|
||||
startIcon={<BoltIcon className="w-4 h-4" />}
|
||||
>
|
||||
<BoltIcon className="w-4 h-4" />
|
||||
Publish
|
||||
</Button>
|
||||
</>
|
||||
|
||||
Reference in New Issue
Block a user