diff --git a/src/app/(server-components)/SectionHeroArchivePage.tsx b/src/app/(server-components)/SectionHeroArchivePage.tsx new file mode 100644 index 0000000..deff98b --- /dev/null +++ b/src/app/(server-components)/SectionHeroArchivePage.tsx @@ -0,0 +1,67 @@ +import React, { FC, ReactNode } from "react"; +import imagePng from "@/images/hero-right2.png"; +import HeroSearchForm, { + SearchTab, +} from "../(client-components)/(HeroSearchForm)/HeroSearchForm"; +import Image, { StaticImageData } from "next/image"; + +export interface SectionHeroArchivePageProps { + className?: string; + listingType?: ReactNode; + currentPage: "Stays" | "Experiences" | "Cars" | "Flights"; + currentTab: SearchTab; + rightImage?: StaticImageData; +} + +const SectionHeroArchivePage: FC = ({ + className = "", + listingType, + currentPage, + currentTab, + rightImage = imagePng, +}) => { + return ( +
+
+
+

+ Tokyo, Jappan +

+
+ + Jappan + + {listingType ? ( + listingType + ) : ( + <> + + 112 properties + + )} +
+
+
+ hero +
+
+ +
+
+ +
+
+
+ ); +}; + +export default SectionHeroArchivePage;