diff --git a/app/public-area/components/faqs.tsx b/app/public-area/components/faqs.tsx new file mode 100644 index 0000000..039645d --- /dev/null +++ b/app/public-area/components/faqs.tsx @@ -0,0 +1,96 @@ +import type { FunctionComponent } from "react"; +import { Disclosure, Transition } from "@headlessui/react"; +import clsx from "clsx"; + +export default function FAQs() { + return ( +
+
+
+

Questions & Answers

+
+ + +
+
+ ); +} + +const Accordion: FunctionComponent<{ title: string }> = ({ title, children }) => { + return ( + + {({ open }) => ( + <> + + + + + + {title} + + + + +

{children}

+
+
+ + )} +
+ ); +}; diff --git a/app/public-area/components/hero.tsx b/app/public-area/components/hero.tsx new file mode 100644 index 0000000..86e626c --- /dev/null +++ b/app/public-area/components/hero.tsx @@ -0,0 +1,44 @@ +import CTAForm from "./cta-form"; +import Checkmark from "./checkmark"; +import PhoneMockup from "./phone-mockup"; + +export default function Hero() { + return ( +
+
+
+
+

+ + Take your phone number + +
+ anywhere you go +

+

+ Coming soon! 🐚 Keep your phone number and pay less for your communications, even + abroad. +

+ +
    +
  • + + Send and receive SMS messages. +
  • +
  • + + Make and receive phone calls. +
  • +
  • + + No download required. +
  • +
+
+ + +
+
+
+ ); +} diff --git a/app/public-area/pages/index.tsx b/app/public-area/pages/index.tsx index 4152438..7c2155c 100644 --- a/app/public-area/pages/index.tsx +++ b/app/public-area/pages/index.tsx @@ -2,10 +2,9 @@ import type { BlitzPage } from "blitz"; import { Head } from "blitz"; import Header from "../components/header"; -import Checkmark from "../components/checkmark"; -import CTAForm from "../components/cta-form"; -import PhoneMockup from "../components/phone-mockup"; import ReferralBanner from "../components/referral-banner"; +import Hero from "../components/hero"; +import FAQs from "../components/faqs"; const LandingPage: BlitzPage = () => { return ( @@ -26,44 +25,8 @@ const LandingPage: BlitzPage = () => {
-
-
-
-
-
-

- - Take your phone number - -
- anywhere you go -

-

- Coming soon! 🐚 Keep your phone number and pay less for your - communications, even abroad. -

- -
    -
  • - - Send and receive SMS messages. -
  • -
  • - - Make and receive phone calls. -
  • -
  • - - No download required. -
  • -
-
- - -
-
-
-
+ +