From 4f59af7905d29d9942a2b8359d921e4cb8b37776 Mon Sep 17 00:00:00 2001 From: John Doe Date: Wed, 13 Sep 2023 17:07:43 +0300 Subject: [PATCH] Update PageHome2 component Add a SectionSliderNewCategories component Add a SectionHowItWork component --- src/app/(home)/home-2/page.tsx | 195 +++++++++++++++++++++++++++++++++ 1 file changed, 195 insertions(+) create mode 100644 src/app/(home)/home-2/page.tsx diff --git a/src/app/(home)/home-2/page.tsx b/src/app/(home)/home-2/page.tsx new file mode 100644 index 0000000..0e77df9 --- /dev/null +++ b/src/app/(home)/home-2/page.tsx @@ -0,0 +1,195 @@ +import SectionSliderNewCategories from "@/components/SectionSliderNewCategories"; +import React from "react"; +import SectionSubscribe2 from "@/components/SectionSubscribe2"; +import SectionOurFeatures from "@/components/SectionOurFeatures"; +import SectionHowItWork from "@/components/SectionHowItWork"; +import BackgroundSection from "@/components/BackgroundSection"; +import { TaxonomyType } from "@/data/types"; +import SectionGridAuthorBox from "@/components/SectionGridAuthorBox"; +// +import logo1 from "@/images/logos/nomal/1.png"; +import logo1Dark from "@/images/logos/dark/1.png"; +// +import logo2 from "@/images/logos/nomal/2.png"; +import logo2Dark from "@/images/logos/dark/2.png"; +// +import logo3 from "@/images/logos/nomal/3.png"; +import logo3Dark from "@/images/logos/dark/3.png"; +// +import logo4 from "@/images/logos/nomal/4.png"; +import logo4Dark from "@/images/logos/dark/4.png"; +// +import logo5 from "@/images/logos/nomal/5.png"; +import logo5Dark from "@/images/logos/dark/5.png"; +// +import HIW1img from "@/images/HIW2-1.png"; +import HIW2img from "@/images/HIW2-2.png"; +import HIW3img from "@/images/HIW2-3.png"; +import HIW1imgDark from "@/images/HIW2-1-dark.png"; +import HIW2imgDark from "@/images/HIW2-2-dark.png"; +import HIW3imgDark from "@/images/HIW2-3-dark.png"; +import rightImgPng from "@/images/our-features-2.png"; + +import SectionGridFeatureProperty from "../SectionGridFeatureProperty"; +import SectionDowloadApp from "../SectionDowloadApp"; +import SectionHero2 from "@/app/(server-components)/SectionHero2"; +import Image from "next/image"; + +const DEMO_CATS_2: TaxonomyType[] = [ + { + id: "1", + href: "/listing-real-estate", + name: "Enjoy the great cold", + taxonomy: "category", + count: 188288, + thumbnail: + "https://images.pexels.com/photos/5764100/pexels-photo-5764100.jpeg?auto=compress&cs=tinysrgb&dpr=3&h=750&w=1260", + }, + { + id: "2", + href: "/listing-real-estate", + name: "Sleep in a floating way", + taxonomy: "category", + count: 188288, + thumbnail: + "https://images.pexels.com/photos/2869499/pexels-photo-2869499.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=750&w=1260", + }, + { + id: "3", + href: "/listing-real-estate", + name: "In the billionaire's house", + taxonomy: "category", + count: 188288, + thumbnail: + "https://images.pexels.com/photos/7031413/pexels-photo-7031413.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=750&w=1260", + }, + { + id: "4", + href: "/listing-real-estate", + name: "Cool in the deep forest", + taxonomy: "category", + count: 188288, + thumbnail: + "https://images.pexels.com/photos/247532/pexels-photo-247532.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=750&w=1260", + }, + { + id: "5", + href: "/listing-real-estate", + name: "In the billionaire's house", + taxonomy: "category", + count: 188288, + thumbnail: + "https://images.pexels.com/photos/7031413/pexels-photo-7031413.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=750&w=1260", + }, + { + id: "6", + href: "/listing-real-estate", + name: "Sleep in a floating way", + taxonomy: "category", + count: 188288, + thumbnail: + "https://images.pexels.com/photos/2869499/pexels-photo-2869499.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=750&w=1260", + }, + { + id: "7", + href: "/listing-real-estate", + name: "In the billionaire's house", + taxonomy: "category", + count: 188288, + thumbnail: + "https://images.pexels.com/photos/7031413/pexels-photo-7031413.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=750&w=1260", + }, +]; + +function PageHome2() { + return ( +
+
+ + +
+
+ logo1 + logo1 +
+
+ logo4 + logo4 +
+
+ logo2 + logo2 +
+
+ logo3 + logo3 +
+ +
+ logo5 + logo5 +
+
+ + + +
+ + +
+ + + + + + + +
+ + +
+ + + + +
+
+ ); +} + +export default PageHome2;