This commit is contained in:
seb
2026-10-08 13:02:04 +02:00
parent 3658d76c43
commit 14318cd9c6
4 changed files with 635 additions and 183 deletions

View File

@@ -21,12 +21,13 @@ function PanelValue({ label, children }) {
export default class ArticleSeoTab extends Component {
render() {
const { article: articleData } = this.props;
const seo = articleData.seo ?? articleData.seoDescription;
const desc = articleData.desc ?? articleData.description;
return (
<>
<PanelValue label="Slug">{articleData.slug}</PanelValue>
<PanelValue label="SEO-Titel">{articleData.seoTitle}</PanelValue>
<PanelValue label="SEO-Beschreibung">{articleData.seoDescription}</PanelValue>
<PanelValue label="Beschreibung">{articleData.description}</PanelValue>
<PanelValue label="SEO">{seo}</PanelValue>
<PanelValue label="Beschreibung">{desc}</PanelValue>
</>
);
}