fix: update titles and content boxes in MainPageLayout for improved section mapping and navigation
This commit is contained in:
@@ -78,25 +78,25 @@ const MainPageLayout = () => {
|
|||||||
};
|
};
|
||||||
|
|
||||||
const allTitles = {
|
const allTitles = {
|
||||||
home: t('titles.filiale'),
|
home: t('titles.home'),
|
||||||
aktionen: t('titles.home'),
|
aktionen: t('titles.aktionen'),
|
||||||
filiale: t('titles.aktionen')
|
filiale: t('titles.filiale')
|
||||||
};
|
};
|
||||||
|
|
||||||
// Define all content boxes for layered rendering
|
// Define all content boxes for layered rendering
|
||||||
const allContentBoxes = {
|
const allContentBoxes = {
|
||||||
home: [
|
home: [
|
||||||
{
|
{
|
||||||
title: t('sections.seeds'),
|
title: t('sections.address1'),
|
||||||
image: "/assets/images/seeds.jpg",
|
image: "/assets/images/filiale1.jpg",
|
||||||
bgcolor: "#e1f0d3",
|
bgcolor: "#e1f0d3",
|
||||||
link: "/Kategorie/Seeds"
|
link: "/filiale"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: t('sections.stecklinge'),
|
title: t('sections.address2'),
|
||||||
image: "/assets/images/cutlings.jpg",
|
image: "/assets/images/filiale2.jpg",
|
||||||
bgcolor: "#e8f5d6",
|
bgcolor: "#e8f5d6",
|
||||||
link: "/Kategorie/Stecklinge"
|
link: "/filiale"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
aktionen: [
|
aktionen: [
|
||||||
@@ -115,16 +115,16 @@ const MainPageLayout = () => {
|
|||||||
],
|
],
|
||||||
filiale: [
|
filiale: [
|
||||||
{
|
{
|
||||||
title: t('sections.address1'),
|
title: t('sections.seeds'),
|
||||||
image: "/assets/images/filiale1.jpg",
|
image: "/assets/images/seeds.jpg",
|
||||||
bgcolor: "#e1f0d3",
|
bgcolor: "#e1f0d3",
|
||||||
link: "/filiale"
|
link: "/Kategorie/Seeds"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: t('sections.address2'),
|
title: t('sections.stecklinge'),
|
||||||
image: "/assets/images/filiale2.jpg",
|
image: "/assets/images/cutlings.jpg",
|
||||||
bgcolor: "#e8f5d6",
|
bgcolor: "#e8f5d6",
|
||||||
link: "/filiale"
|
link: "/Kategorie/Stecklinge"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user