Update GrowTentKonfigurator to include socket-based category data fetching and caching. Modify MainPageLayout titles for improved clarity and update route to pass socket props for configurator component.

This commit is contained in:
seb
2025-07-07 05:28:01 +02:00
parent b33ece2875
commit 8f2253f155
4 changed files with 80 additions and 6 deletions

View File

@@ -41,18 +41,17 @@ const MainPageLayout = () => {
return { leftNav: null, rightNav: null };
};
// Define all titles for layered rendering
const allTitles = {
home: "ine annabis eeds & uttings",
aktionen: "Aktionen",
filiale: "Filiale"
aktionen: "tuelle ktionen & gebote",
filiale: "nsere iliale in resden"
};
// Define all content boxes for layered rendering
const allContentBoxes = {
home: [
{
title: "Samen",
title: "Seeds",
image: "/assets/images/seeds.jpg",
bgcolor: "#e1f0d3",
link: "/Kategorie/Seeds"