upd
This commit is contained in:
@@ -78,9 +78,9 @@ const MainPageLayout = () => {
|
|||||||
};
|
};
|
||||||
|
|
||||||
const allTitles = {
|
const allTitles = {
|
||||||
home: t('titles.home'),
|
home: t('titles.filiale'),
|
||||||
aktionen: t('titles.aktionen'),
|
aktionen: t('titles.aktionen'),
|
||||||
filiale: t('titles.filiale')
|
filiale: t('titles.home')
|
||||||
};
|
};
|
||||||
|
|
||||||
// Define all content boxes for layered rendering
|
// Define all content boxes for layered rendering
|
||||||
@@ -372,7 +372,7 @@ const MainPageLayout = () => {
|
|||||||
{contentBoxes.map((box, index) => (
|
{contentBoxes.map((box, index) => (
|
||||||
<Grid key={`${pageType}-${index}`} item xs={12} sm={6} sx={{ p: 2, width: "50%", position: 'relative' }}>
|
<Grid key={`${pageType}-${index}`} item xs={12} sm={6} sx={{ p: 2, width: "50%", position: 'relative' }}>
|
||||||
{/* Multi-pointed star for seeds box - moved to Grid level */}
|
{/* Multi-pointed star for seeds box - moved to Grid level */}
|
||||||
{index === 0 && pageType === "home" && (
|
{index === 0 && pageType === "filiale" && (
|
||||||
<Box
|
<Box
|
||||||
sx={{
|
sx={{
|
||||||
position: 'absolute',
|
position: 'absolute',
|
||||||
@@ -490,7 +490,7 @@ const MainPageLayout = () => {
|
|||||||
)}
|
)}
|
||||||
|
|
||||||
{/* Multi-pointed star for stecklinge box - bottom right */}
|
{/* Multi-pointed star for stecklinge box - bottom right */}
|
||||||
{index === 1 && pageType === "home" && (
|
{index === 1 && pageType === "filiale" && (
|
||||||
<Box
|
<Box
|
||||||
sx={{
|
sx={{
|
||||||
position: 'absolute',
|
position: 'absolute',
|
||||||
|
|||||||
Reference in New Issue
Block a user