forked from mrwyndham/fastpocket
37 lines
896 B
TypeScript
37 lines
896 B
TypeScript
"use client";
|
|
import HeroHome from "@/sections/HeroHome";
|
|
import FeaturesBlocks from "@/sections/FeaturesBlocks";
|
|
import FeaturesZigZag from "@/sections/FeaturesZigzag";
|
|
import Newsletter from "@/sections/Newsletter/Newsletter";
|
|
import HeroVideo from "@/sections/HeroVideo";
|
|
import Aos from "aos";
|
|
import "aos/dist/aos.css";
|
|
import { useEffect } from "react";
|
|
import React from "react";
|
|
import { FrequentlyAsked } from "@/sections/FrequentlyAsked";
|
|
import { Testimonial } from "@/sections/Testimonial";
|
|
|
|
export default function Home() {
|
|
useEffect(() => {
|
|
Aos.init({
|
|
delay: 50,
|
|
easing: "ease-out-cubic",
|
|
once: true,
|
|
offset: 50,
|
|
});
|
|
}, []);
|
|
|
|
return (
|
|
<>
|
|
{/* Page sections */}
|
|
<HeroHome />
|
|
<HeroVideo />
|
|
<FeaturesBlocks />
|
|
<FeaturesZigZag />
|
|
<FrequentlyAsked />
|
|
<Testimonial />
|
|
<Newsletter />
|
|
</>
|
|
);
|
|
}
|