edit page
This commit is contained in:
@@ -150,9 +150,9 @@ const About = () => {
|
|||||||
image: toMediaUrl(heritageSectionStatic.image) || '/images/about.jpg'
|
image: toMediaUrl(heritageSectionStatic.image) || '/images/about.jpg'
|
||||||
} : {
|
} : {
|
||||||
...heritageSectionStatic,
|
...heritageSectionStatic,
|
||||||
title: stripHtml(heritageSectionStatic.title || ''),
|
title: stripHtml(heritageSectionStatic.title || t('about.heritageTitle')),
|
||||||
subtitle: stripHtml(heritageSectionStatic.subtitle || ''),
|
subtitle: stripHtml(heritageSectionStatic.subtitle || ''),
|
||||||
content: stripHtml(heritageSectionStatic.content || ''),
|
content: stripHtml(heritageSectionStatic.content || t('about.heritageContent')),
|
||||||
image: toMediaUrl(heritageSectionStatic.image) || '/images/about.jpg'
|
image: toMediaUrl(heritageSectionStatic.image) || '/images/about.jpg'
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -234,7 +234,7 @@ const About = () => {
|
|||||||
</Box>
|
</Box>
|
||||||
|
|
||||||
{/* About Content - Heritage Section */}
|
{/* About Content - Heritage Section */}
|
||||||
{heritageSection.title && (
|
{(heritageSection.title || heritageSection.content || heritageSection.image) && (
|
||||||
<Container maxWidth="lg" sx={{ py: 8 }}>
|
<Container maxWidth="lg" sx={{ py: 8 }}>
|
||||||
<motion.div
|
<motion.div
|
||||||
initial={{ opacity: 0, y: 30 }}
|
initial={{ opacity: 0, y: 30 }}
|
||||||
@@ -471,4 +471,4 @@ const About = () => {
|
|||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
export default About;
|
export default About;
|
||||||
Reference in New Issue
Block a user