refactor: rename Partners to DemoVideo and HowItWorks to Features
This commit is contained in:
parent
a4273378e7
commit
6f1c4affed
3 changed files with 8 additions and 9 deletions
|
@ -2,20 +2,19 @@ import About from "@/components/shared/About";
|
||||||
import DataTable from "@/components/shared/DataTable";
|
import DataTable from "@/components/shared/DataTable";
|
||||||
import Faq from "@/components/shared/FAQ";
|
import Faq from "@/components/shared/FAQ";
|
||||||
import Hero from "@/components/shared/Hero";
|
import Hero from "@/components/shared/Hero";
|
||||||
import HowItWorks from "@/components/shared/HowItWorks";
|
import Features from "@/components/shared/Features";
|
||||||
import Newsletter from "@/components/shared/Newsletter";
|
import Newsletter from "@/components/shared/Newsletter";
|
||||||
import Partners from "@/components/shared/Partners";
|
import DemoVideo from "@/components/shared/DemoVideo";
|
||||||
import Testimonials from "@/components/shared/Testimonials";
|
import Testimonials from "@/components/shared/Testimonials";
|
||||||
|
|
||||||
const RootPage = () => {
|
const RootPage = () => {
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<Hero />
|
<Hero />
|
||||||
<HowItWorks />
|
<Features />
|
||||||
<Testimonials />
|
<Testimonials />
|
||||||
<Partners />
|
<DemoVideo />
|
||||||
<About />
|
<About />
|
||||||
{/* <DataTable /> */}
|
|
||||||
<Faq />
|
<Faq />
|
||||||
<Newsletter />
|
<Newsletter />
|
||||||
</>
|
</>
|
||||||
|
|
|
@ -6,7 +6,7 @@ import Link from "next/link";
|
||||||
import { useRouter } from "next/navigation";
|
import { useRouter } from "next/navigation";
|
||||||
import HeroVideoDialog from "../ui/heroVideoAction";
|
import HeroVideoDialog from "../ui/heroVideoAction";
|
||||||
|
|
||||||
const Partners = () => {
|
const DemoVideo = () => {
|
||||||
const router = useRouter();
|
const router = useRouter();
|
||||||
const handleClick = () => {
|
const handleClick = () => {
|
||||||
router.push("/docs");
|
router.push("/docs");
|
||||||
|
@ -53,4 +53,4 @@ const Partners = () => {
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
export default Partners;
|
export default DemoVideo;
|
|
@ -2,7 +2,7 @@ import { Features } from "@/constants";
|
||||||
import React from "react";
|
import React from "react";
|
||||||
import { Card, CardContent, CardHeader, CardTitle } from "../ui/card";
|
import { Card, CardContent, CardHeader, CardTitle } from "../ui/card";
|
||||||
|
|
||||||
const HowItWorks = () => {
|
const FeaturesSection = () => {
|
||||||
return (
|
return (
|
||||||
<section className="container text-center py-12 sm:py-24">
|
<section className="container text-center py-12 sm:py-24">
|
||||||
<h2 className="text-3xl md:text-5xl font-bold">
|
<h2 className="text-3xl md:text-5xl font-bold">
|
||||||
|
@ -32,4 +32,4 @@ const HowItWorks = () => {
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
export default HowItWorks;
|
export default FeaturesSection;
|
Loading…
Reference in a new issue