-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from petercsiba/revamp-landing-page-gpt-like-bo…
…omer [frontend] Revamp landing page to Audio To Email with GPT Like Boomer attitude
- Loading branch information
Showing
8 changed files
with
170 additions
and
101 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,9 +22,9 @@ | |
|
||
# EMAIL Stuff | ||
NO_REPLY_EMAIL = "No Reply <[email protected]>" | ||
SENDER_EMAIL = "Dumpsheet Workers Union<[email protected]>" # From: | ||
SENDER_EMAIL = "GPT Workers Union<[email protected]>" # From: | ||
SENDER_EMAIL_ALERTS = "Poor Mans Opsgenie <[email protected]>" # From: | ||
SUPPORT_EMAIL = "Dumpsheet Support <[email protected]>" | ||
SUPPORT_EMAIL = "Audio To Email Support <[email protected]>" | ||
DEBUG_RECIPIENTS = [] # used to be a google group | ||
RESPONSE_EMAILS_WAIT_BETWEEN_EMAILS_SECONDS = int( | ||
os.environ.get("RESPONSE_EMAILS_WAIT_BETWEEN_EMAILS_SECONDS", 30) | ||
|
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 |
---|---|---|
@@ -1,9 +1,7 @@ | ||
import { createServerComponentClient } from "@supabase/auth-helpers-nextjs"; | ||
import { cookies } from "next/headers"; | ||
import Link from "next/link"; | ||
import { redirect } from "next/navigation"; | ||
|
||
import hero from "/public/dumpsheet-agent.webp"; | ||
// import hero from "/public/dumpsheet-agent.webp"; | ||
import hero from "/public/images/evolution-trend-reverted-home-erectus-is-back.jpg" | ||
|
||
import { Button } from "@/components/ui/button"; | ||
import ExplainerSection from "@/components/ExplainerSection"; | ||
|
@@ -14,54 +12,102 @@ export const dynamic = "force-dynamic"; | |
export default async function Index() { | ||
return ( | ||
<div className="flex flex-col items-center pt-16"> | ||
<div className="flex flex-col lg:flex-row items-center gap-8 p-8 max-w-6xl w-full"> | ||
<div className="flex flex-col space-y-4 lg:w-1/2 w-full"> | ||
<h1 className="text-5xl font-bold"> | ||
Email, Effortlessly with Your Voice. | ||
</h1> | ||
<p className="text-gray-600 text-lg"> | ||
Transform your spoken words into written emails instantly with <b>Audio To Email</b>. | ||
Perfect for professionals on the go, accessibility needs, or anyone looking to streamline their workflow. | ||
</p> | ||
<div className="flex flex-row items-center"> | ||
<div> | ||
<Link href="/record" className="flex-grow-0"> | ||
<Button className="px-4 py-2 whitespace-nowrap">Start Dictating Now</Button> | ||
</Link> | ||
<div className="flex flex-col lg:flex-row items-center gap-8 p-8 max-w-6xl w-full"> | ||
<div className="flex flex-col space-y-4 lg:w-1/2 w-full"> | ||
<h1 className="text-5xl font-bold"> | ||
GPT like it's the 90s. | ||
</h1> | ||
<p className="text-gray-600 text-lg"> | ||
No apps, just email. <br/> | ||
No scam subscriptions, just invoices. <br/> | ||
This is <b>Audio To Email</b>. <br/> | ||
</p> | ||
<div className="flex flex-row items-center"> | ||
<div> | ||
<Link href="/upload" className="flex-grow-0"> | ||
<Button className="px-4 py-2 whitespace-nowrap">Upload Voice Memo's You Always Wanted to | ||
Revisit But Were Too Busy</Button> | ||
</Link> | ||
</div> | ||
</div> | ||
<div className="flex flex-row items-center"> | ||
<div className="text-sm text-gray-500 italic flex-grow ml-2"> | ||
Join hundreds who are redefining email productivity. | ||
|
||
Just like in the good old days of calling your assistant | ||
to transcribe your brain farts of gold for you. | ||
</div> | ||
</div> | ||
<div className="mt-4 text-gray-500"> | ||
<span>Already a user? </span> | ||
<Link className="text-blue-600 hover:underline" href="/login"> | ||
Sign In | ||
</Link> | ||
</div> | ||
</div> | ||
<div className="text-sm text-gray-500 italic flex-grow ml-2"> | ||
Join thousands who are redefining email productivity. Fast, accurate, and secure. | ||
<div className="lg:w-1/2 w-full mt-8 lg:mt-0"> | ||
<img | ||
src={hero.src} | ||
alt="Voice to Email Conversion Illustration" | ||
className="rounded-lg object-cover w-full h-full" | ||
/> | ||
</div> | ||
</div> | ||
<div className="mt-4 text-gray-500"> | ||
<span>Already a user? </span> | ||
<Link className="text-blue-600 hover:underline" href="/login"> | ||
Sign In | ||
</Link> | ||
</div> | ||
|
||
</div> | ||
<div className="lg:w-1/2 w-full mt-8 lg:mt-0"> | ||
<img | ||
src={hero.src} | ||
alt="Voice to Email Conversion Illustration" | ||
className="rounded-lg object-cover w-full h-full" | ||
/> | ||
<ExplainerSection/> | ||
<PricingSection/> | ||
|
||
<div className="w-full max-w-6xl mt-6 mb-2 p-8 rounded-lg space-y-8"> | ||
<h2 className="text-3xl font-bold text-center mb-8">Still not convinced?</h2> | ||
<p className="text-gray-600 text-lg text-center"> | ||
<a href="https://www.loom.com/share/1614e907aeea4312bb53affd99677593" target="_blank" | ||
rel="noopener noreferrer"> | ||
|
||
<Button>Let People From Ivy League Sell It To You</Button> | ||
</a> | ||
</p> | ||
<p className="text-sm text-gray-600 text-center"> | ||
{/*TODO(P1, ux): Figure out how to start the voice recorder in the Demo mode */} | ||
<Link href="/record/demo" className="flex-grow-0"> | ||
<Button className="px-4 py-2 whitespace-nowrap">Go Through Interactive Demo</Button> | ||
</Link> | ||
</p> | ||
</div> | ||
|
||
</div> | ||
<ExplainerSection/> | ||
<PricingSection/> | ||
<div className="w-full max-w-6xl mt-6 mb-6 p-8 rounded-lg space-y-8"> | ||
<h2 className="text-3xl font-bold text-center mb-8">You In A Good Club</h2> | ||
|
||
<div className="w-full max-w-6xl mt-16 mb-16 p-8 rounded-lg space-y-8"> | ||
<h2 className="text-3xl font-bold text-center mb-8">Still not convinced?</h2> | ||
<p className="text-gray-600 text-lg text-center"> | ||
<a href="https://www.loom.com/share/1614e907aeea4312bb53affd99677593" target="_blank" | ||
rel="noopener noreferrer"> | ||
<p className="text-sm text-gray-600 text-center"> | ||
Join Professionals from these companies who are already using Audio To Email: | ||
</p> | ||
|
||
<Button>Watch Demo</Button> | ||
</a> | ||
</p> | ||
</div> | ||
<div className="flex justify-center items-center space-x-8"> | ||
<img src="/images/logos/experience-robinhood.png" alt="Robinhood" className="h-16"/> | ||
<img src="/images/logos/experience-columbia-university.png" alt="Columbia University" | ||
className="h-16"/> | ||
<img src="/images/logos/experience-google.png" alt="Google" className="h-16"/> | ||
<img src="/images/logos/experience-ibm.png" alt="IBM" className="h-16"/> | ||
<img src="/images/logos/experience-mckinsey-and-company.png" alt="McKinsey and Company" | ||
className="h-16"/> | ||
<img src="/images/logos/experience-siemens.png" alt="Siemens" className="h-16"/> | ||
</div> | ||
</div> | ||
|
||
|
||
<div className="w-full max-w-6xl mt-6 mb-6 p-8 rounded-lg space-y-8"> | ||
<h2 className="text-3xl font-bold text-center mb-8">We Are Here To Support You</h2> | ||
|
||
<div className="text-sm text-gray-600 text-center"> | ||
<div className="flex justify-center items-center space-x-4"> | ||
<Link href="mailto:[email protected]"> | ||
<Button className="px-4 py-2 whitespace-nowrap">Email Peter</Button> | ||
</Link> | ||
<Link href="tel:+16502106516"> | ||
<Button className="px-4 py-2 whitespace-nowrap">Call Peter</Button> | ||
</Link> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
); | ||
} | ||
); | ||
} |
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 |
---|---|---|
|
@@ -21,6 +21,15 @@ const stripeIsConfigured = process.env.NEXT_PUBLIC_STRIPE_IS_ENABLED === "true"; | |
|
||
export const revalidate = 0; | ||
|
||
const SoonBadge = () => { | ||
return ( | ||
<span className="relative -top-2 -left-3 bg-gray-500 text-white text-xs font-bold px-2 py-1 rounded-full"> | ||
Soon | ||
</span> | ||
); | ||
}; | ||
|
||
|
||
export default async function Navbar() { | ||
const supabase = createServerComponentClient<Database>({ cookies }); | ||
|
||
|
@@ -36,21 +45,38 @@ export default async function Navbar() { | |
<div className="flex w-full px-4 lg:px-40 py-4 items-center border-b text-center gap-8 justify-between"> | ||
<div className="flex gap-2 h-full"> | ||
<Link href="/"> | ||
<h2 className="font-bold pt-1.5 pr-4">Audio To Email</h2> | ||
<h2 className="font-bold pt-1.5 pr-2">GPT Like a Boomer</h2> | ||
</Link> | ||
<Link href="mailto:[email protected]?subject=Attached%20Are%20My%20Audio%20Files"> | ||
<Button variant={"ghost"} className="px-2">Attach Audio via Email</Button> | ||
</Link> | ||
<Link href="/record"> | ||
<Button variant={"ghost"} className="px-4">Record Audio</Button> | ||
<Button variant={"ghost"} className="px-2">Record Voice Mail</Button> | ||
</Link> | ||
<Link href="/upload"> | ||
<Button variant={"ghost"} className="px-4">Upload Audio</Button> | ||
<Button variant={"ghost"} className="px-2">Upload from your PC</Button> | ||
</Link> | ||
<Link href="/upload"> | ||
<Button variant={"ghost"} className="px-4">Upload Video</Button> | ||
{/*<Link href="/upload">*/} | ||
{/* <Button variant={"ghost"} className="px-2">Send us Direct Mail</Button>*/} | ||
{/*</Link>*/} | ||
<Link href="tel:+18554137047"> | ||
<Button variant={"ghost"} className="px-2">Dial Up GPT <br />+1 (855) 413-7047</Button> | ||
</Link> | ||
{/*<Link href="mailto:[email protected]?subject=Support%20Request">*/} | ||
{/* <Button variant={"ghost"} className="px-2" style={{ fontFamily: 'Courier, monospace'}}>Send a Fax</Button>*/} | ||
{/*</Link>*/} | ||
<Link href="/fax"> | ||
<Button variant={"ghost"} className="px-4">Fax</Button> | ||
<SoonBadge /> | ||
</Link> | ||
<Link href="/direct-mail"> | ||
<Button variant={"ghost"} className="px-2">Direct Mail</Button> | ||
<SoonBadge /> | ||
</Link> | ||
</div> | ||
{user && ( | ||
<div className="hidden lg:flex flex-row gap-2"> | ||
{stripeIsConfigured && ( | ||
<div className="hidden lg:flex flex-row gap-2"> | ||
{stripeIsConfigured && ( | ||
<Link href="/get-credits"> | ||
<Button variant={"ghost"}>Get Credits</Button> | ||
</Link> | ||
|
@@ -60,7 +86,7 @@ export default async function Navbar() { | |
<div className="flex gap-4 lg:ml-auto"> | ||
{!user && ( | ||
<Link href="/login"> | ||
<Button variant={"ghost"}>Login / Signup</Button> | ||
<Button>Login / Signup</Button> | ||
</Link> | ||
)} | ||
{user && ( | ||
|
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
Binary file added
BIN
+93.7 KB
webapp/public/images/evolution-trend-reverted-home-erectus-is-back.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.