mirror of
https://github.com/StanGirard/quivr.git
synced 2024-12-18 16:11:45 +03:00
f90c43cc42
# Description Epic: #1232 Issue: #1443 ## Screenshots (if appropriate): ### 🖥️ Desktop <img width="1512" alt="image" src="https://github.com/StanGirard/quivr/assets/67386567/dce63bf7-0046-4f2b-9633-bdc34a1b0893"> ### 📱 Mobile <img width="338" alt="image" src="https://github.com/StanGirard/quivr/assets/67386567/8828b5bc-3819-4774-9d77-d60fbff72e6c">
36 lines
846 B
TypeScript
36 lines
846 B
TypeScript
"use client";
|
|
import { useFeatureIsOn } from "@growthbook/growthbook-react";
|
|
import { redirect } from "next/navigation";
|
|
|
|
import {
|
|
FooterSection,
|
|
HomeHeader,
|
|
HomeSection,
|
|
TestimonialsSection,
|
|
} from "../(home)/components";
|
|
|
|
const ContactSalesPage = (): JSX.Element => {
|
|
const isNewHomePage = useFeatureIsOn("new-homepage-activated");
|
|
if (!isNewHomePage) {
|
|
redirect("/");
|
|
}
|
|
|
|
return (
|
|
<div className="bg-[#FCFAF6]">
|
|
<HomeHeader color="black" />
|
|
|
|
<main className="relative flex flex-col items-center">
|
|
TODO: The Form!
|
|
<HomeSection bg="bg-[#FCFAF6]">
|
|
<TestimonialsSection />
|
|
</HomeSection>
|
|
<HomeSection bg="bg-gradient-to-b from-[#D07DF9] to-[#7A27FD]">
|
|
<FooterSection />
|
|
</HomeSection>
|
|
</main>
|
|
</div>
|
|
);
|
|
};
|
|
|
|
export default ContactSalesPage;
|