fix: update product meta tag generation and clean up footer comments

This commit is contained in:
sebseb7
2025-07-19 22:35:52 +02:00
parent 2774c6924f
commit f2ee641bfd
2 changed files with 3 additions and 2 deletions

View File

@@ -1,5 +1,6 @@
const generateProductMetaTags = (product, baseUrl, config) => { const generateProductMetaTags = (product, baseUrl, config) => {
const productUrl = `${baseUrl}/Artikel/${product.seoName}`; const productUrl = `${baseUrl}/Artikel/${product.seoName}`;
const imageUrl = const imageUrl =
product.pictureList && product.pictureList.trim() product.pictureList && product.pictureList.trim()
? `${baseUrl}/assets/images/prod${product.pictureList ? `${baseUrl}/assets/images/prod${product.pictureList

View File

@@ -247,7 +247,7 @@ class Footer extends Component {
<StyledRouterLink to="/widerrufsrecht">{this.props.t ? this.props.t('footer.legal.widerrufsrecht') : 'Widerrufsrecht'}</StyledRouterLink> <StyledRouterLink to="/widerrufsrecht">{this.props.t ? this.props.t('footer.legal.widerrufsrecht') : 'Widerrufsrecht'}</StyledRouterLink>
</Stack> </Stack>
{/* Payment Methods Section */} {/* Payment Methods Section
<Stack <Stack
direction="column" direction="column"
spacing={1} spacing={1}
@@ -264,7 +264,7 @@ class Footer extends Component {
<Box component="img" src="/assets/images/cards.png" alt="Cash" sx={{ height: { xs: 80, md: 95 } }} /> <Box component="img" src="/assets/images/cards.png" alt="Cash" sx={{ height: { xs: 80, md: 95 } }} />
</Stack> </Stack>
</Stack> </Stack>
*/}
{/* Google Services Badge Section */} {/* Google Services Badge Section */}
<Stack <Stack
direction="column" direction="column"