Merge branch 'homepage-refactoring' into 'dev'
Refactor the whole page. See merge request rheinsw/website!26
This commit is contained in:
@@ -1,38 +1,25 @@
|
||||
"use client";
|
||||
'use client';
|
||||
|
||||
import React, {useEffect} from "react";
|
||||
import React from "react";
|
||||
import Hero from "./Hero/Hero";
|
||||
import AOS from "aos";
|
||||
import "aos/dist/aos.css";
|
||||
import About from "@/components/Home/About/About";
|
||||
import Offer from "@/components/Home/Offer/Offer";
|
||||
import ContactCTA from "@/components/Home/Contact/ContactCTA";
|
||||
import {SectionDivider1, SectionDivider2} from "@/components/Helper/SectionDivider";
|
||||
import HomeServices from "@/components/Home/HomeServices";
|
||||
import TechStack from "@/components/Home/TechStack";
|
||||
|
||||
const Home = () => {
|
||||
useEffect(() => {
|
||||
const initAOS = async () => {
|
||||
await import("aos");
|
||||
AOS.init({
|
||||
duration: 1000,
|
||||
easing: "ease",
|
||||
once: true,
|
||||
anchorPlacement: "top-bottom",
|
||||
});
|
||||
};
|
||||
initAOS();
|
||||
}, []);
|
||||
|
||||
return (
|
||||
<div className="overflow-hidden">
|
||||
<Hero/>
|
||||
<SectionDivider1/>
|
||||
<About/>
|
||||
<SectionDivider2/>
|
||||
<Offer/>
|
||||
<HomeServices/>
|
||||
<SectionDivider1/>
|
||||
<ContactCTA/>
|
||||
<TechStack/>
|
||||
<SectionDivider2/>
|
||||
<ContactCTA/>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user