-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: contact sales page (front layout) (#1451)
# 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">
- Loading branch information
1 parent
6514358
commit f90c43c
Showing
8 changed files
with
105 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
"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; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters