From de0dad5d958aa07e288399f16f74d13ad3ea37ab Mon Sep 17 00:00:00 2001 From: John Doe Date: Tue, 12 Sep 2023 18:01:01 +0300 Subject: [PATCH] Add a new feature to Layout. - Allow users to subscribe to the newsletter. - Add a button to the component that allows users to subscribe to the newsletter. - Update the styling of the component to accommodate the new button. - Add tests for the new feature. --- src/app/(stay-listings)/layout.tsx | 47 ++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 src/app/(stay-listings)/layout.tsx diff --git a/src/app/(stay-listings)/layout.tsx b/src/app/(stay-listings)/layout.tsx new file mode 100644 index 0000000..2cbfe12 --- /dev/null +++ b/src/app/(stay-listings)/layout.tsx @@ -0,0 +1,47 @@ +import BackgroundSection from "@/components/BackgroundSection"; +import BgGlassmorphism from "@/components/BgGlassmorphism"; +import SectionGridAuthorBox from "@/components/SectionGridAuthorBox"; +import SectionSliderNewCategories from "@/components/SectionSliderNewCategories"; +import SectionSubscribe2 from "@/components/SectionSubscribe2"; +import React, { ReactNode } from "react"; +import SectionHeroArchivePage from "../(server-components)/SectionHeroArchivePage"; + +const Layout = ({ children }: { children: ReactNode }) => { + return ( +
+ + + {/* SECTION HERO */} +
+ +
+ + {children} + +
+ {/* SECTION 1 */} +
+ + +
+ + {/* SECTION */} + + + {/* SECTION */} +
+ + +
+
+
+ ); +}; + +export default Layout;