Merge branch 'homepage-refactoring' into 'dev'

Homepage Refactoring - Pt .3

See merge request rheinsw/website!28
This commit is contained in:
2025-04-16 17:37:41 +00:00
parent 66cdadea16
commit 5c60594a4f
36 changed files with 896 additions and 473 deletions

View File

@@ -1,26 +1,45 @@
'use client';
import React from "react";
import Hero from "./Hero/Hero";
import About from "@/components/Home/About/About";
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";
import About from "@/components/Home/Sections/About";
import ContactCTA from "@/components/Home/Sections/ContactCTA";
import HomeServices from "@/components/Home/Sections/HomeServices";
import TechStack from "@/components/Home/Sections/TechStack";
import Section from "@/components/Section";
import {motion} from "framer-motion";
import {useThemeColors} from "@/utils/useThemeColors";
import Hero from "@/components/Home/Sections/Hero";
const Home = () => {
const colors = useThemeColors();
return (
<div className="overflow-hidden">
<Hero/>
<SectionDivider1/>
<About/>
<SectionDivider2/>
<HomeServices/>
<SectionDivider1/>
<TechStack/>
<SectionDivider2/>
<ContactCTA/>
</div>
<motion.div
initial={{opacity: 0, y: 20}}
animate={{opacity: 1, y: 0}}
transition={{duration: 0.7, ease: "easeOut"}}
className="overflow-hidden"
>
<Section style={{backgroundColor: colors.primaryBg}}>
<Hero/>
</Section>
<Section style={{backgroundColor: colors.secondaryBg}} shadow>
<About/>
</Section>
<Section style={{backgroundColor: colors.primaryBg}} shadow>
<HomeServices/>
</Section>
<Section style={{backgroundColor: colors.secondaryBg}} shadow>
<TechStack/>
</Section>
<Section style={{backgroundColor: colors.primaryBg}} shadow>
<ContactCTA/>
</Section>
</motion.div>
);
};