next-enterprise/app/page.tsx

48 lines
1.4 KiB
TypeScript
Raw Normal View History

2024-04-04 10:57:58 +00:00
"use client"
2024-04-09 07:26:56 +00:00
import { Button } from "components/Button/Button"
2024-04-09 12:29:14 +00:00
2024-04-05 08:35:36 +00:00
import { useState } from "react"
2024-04-09 12:29:14 +00:00
2024-04-04 10:57:58 +00:00
import "../styles/custom.css"
2024-04-09 12:29:14 +00:00
import AboutUs from "components/aboutUs/AboutUs"
import Hero01 from "components/Hero01/Hero01"
import OurServices from "components/OurServices/OurServices"
import Portfolio from "components/Portfolio/Portfolio"
import ContactUs from "components/ContactUs/ContactUs"
2023-03-25 16:53:07 +01:00
export default function Web() {
2024-04-05 08:35:36 +00:00
const [init, setInit] = useState(false)
2024-04-04 10:57:58 +00:00
const [hovered, setHovered] = useState(false)
const imgStyle = {
2024-04-05 08:35:36 +00:00
transform: hovered ? "translateX(3px)" : "none",
2024-04-04 10:57:58 +00:00
transition: "transform .2s", // Optional: Smooth transition
}
2024-04-09 12:15:30 +00:00
const wordVariants = {
hidden: { opacity: 0, y: 20 },
visible: { opacity: 1, y: 0, transition: { duration: 0.9, staggerChildren: 0.1 } },
}
2023-03-25 16:53:07 +01:00
return (
2024-04-02 09:49:23 +00:00
<div>
2024-04-04 04:40:20 +00:00
<section className="bg-[#0f172a] md:pl-0 md:pr-0 lg:pl-[15%] lg:pr-[15%]">
2024-04-09 12:29:14 +00:00
<Hero01 />
2024-04-02 09:49:23 +00:00
</section>
2024-04-04 04:40:20 +00:00
<section className="bg-[#0f172a] md:pl-0 md:pr-0 lg:pl-[15%] lg:pr-[15%]">
2024-04-09 12:29:14 +00:00
<AboutUs />
2024-04-04 10:57:58 +00:00
</section>
2024-04-17 08:08:16 +00:00
2024-04-08 06:22:33 +00:00
<section className="mt-[3%] bg-[#0f172a] max-md:p-4 md:pl-0 md:pr-0 lg:pl-[10%] lg:pr-[10%]">
2024-04-09 12:29:14 +00:00
<OurServices />
</section>
2024-04-02 05:24:19 +00:00
2024-04-09 07:26:56 +00:00
<section className="mb-10 h-[20%] bg-[#0f172a] pl-[10%] pr-[10%] pt-40">
2024-04-09 12:29:14 +00:00
<Portfolio />
</section>
2024-04-09 07:26:56 +00:00
<section className="bg-[#0f172a] max-md:p-4 md:pl-0 md:pr-0 lg:pl-[10%] lg:pr-[10%]">
2024-04-09 12:29:14 +00:00
<ContactUs />
2024-04-04 10:57:58 +00:00
</section>
</div>
2023-04-16 18:17:54 +02:00
)
2023-03-25 16:53:07 +01:00
}