From e16f51e36a8f882b1475693e906a81f16bd0b875 Mon Sep 17 00:00:00 2001 From: m5r Date: Sat, 28 Aug 2021 23:55:23 +0800 Subject: [PATCH] frequently asked questions --- app/public-area/components/faqs.tsx | 96 +++++++++++++++++++++++++++++ app/public-area/components/hero.tsx | 44 +++++++++++++ app/public-area/pages/index.tsx | 45 ++------------ 3 files changed, 144 insertions(+), 41 deletions(-) create mode 100644 app/public-area/components/faqs.tsx create mode 100644 app/public-area/components/hero.tsx 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

+
+ +
    + + Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut + labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco + laboris nisi ut aliquip ex ea commodo consequat. + + + Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut + labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco + laboris nisi ut aliquip ex ea commodo consequat. + + + Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut + labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco + laboris nisi ut aliquip ex ea commodo consequat. + + + Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut + labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco + laboris nisi ut aliquip ex ea commodo consequat. + + + Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut + labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco + laboris nisi ut aliquip ex ea commodo consequat. + +
+
+
+ ); +} + +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. -
  • -
-
- - -
-
-
-
+ +