shellphone.app/app/onboarding/pages/welcome/step-one.tsx

24 lines
608 B
TypeScript
Raw Normal View History

import type { BlitzPage } from "blitz";
2021-07-31 14:33:18 +00:00
import OnboardingLayout from "../../components/onboarding-layout";
import useCurrentCustomer from "../../../core/hooks/use-current-customer";
2021-07-31 14:33:18 +00:00
const StepOne: BlitzPage = () => {
useCurrentCustomer(); // preload for step two
2021-07-31 14:33:18 +00:00
return (
<OnboardingLayout
currentStep={1}
next={{ href: "/welcome/step-two", label: "Set up your phone number" }}
>
<div className="flex flex-col space-y-4 items-center">
<span>Welcome, lets set up your virtual phone!</span>
</div>
</OnboardingLayout>
);
};
2021-07-31 14:33:18 +00:00
StepOne.authenticate = true;
2021-07-31 14:33:18 +00:00
export default StepOne;