diff --git a/src/app/page.tsx b/src/app/page.tsx index ea8eea32..65f77917 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -97,9 +97,11 @@ export default function Home() { - - - + {routes.showWorkPreviewOnHome && ( + + + + )} {routes["/blog"] && ( @@ -112,7 +114,7 @@ export default function Home() { )} - + {routes.showWorkPreviewOnHome && } {newsletter.display && } ); diff --git a/src/app/resources/config.js b/src/app/resources/config.js index 01c06641..6a0226f2 100644 --- a/src/app/resources/config.js +++ b/src/app/resources/config.js @@ -6,6 +6,7 @@ const routes = { "/work": true, "/blog": true, "/gallery": true, + showWorkPreviewOnHome: true, // Controls work preview section visibility on homepage }; // Enable password protection on selected routes