redirect pricing button to signin page
This commit is contained in:
parent
5b21d10985
commit
d116619bf0
1 changed files with 2 additions and 0 deletions
|
|
@ -9,6 +9,7 @@ import { ChevronUpIcon } from "@heroicons/react/20/solid";
|
||||||
import CTA from "~/components/CTA";
|
import CTA from "~/components/CTA";
|
||||||
import VideoRecordModal from "~/components/VideoRecordModal";
|
import VideoRecordModal from "~/components/VideoRecordModal";
|
||||||
import { usePostHog } from "posthog-js/react";
|
import { usePostHog } from "posthog-js/react";
|
||||||
|
import { signIn } from "next-auth/react";
|
||||||
|
|
||||||
export default function Pricing() {
|
export default function Pricing() {
|
||||||
const [billedAnnually, setBilledAnnually] = useState<boolean>(true);
|
const [billedAnnually, setBilledAnnually] = useState<boolean>(true);
|
||||||
|
|
@ -160,6 +161,7 @@ export default function Pricing() {
|
||||||
</div>
|
</div>
|
||||||
<div className="mt-2 flex-grow" />
|
<div className="mt-2 flex-grow" />
|
||||||
<button
|
<button
|
||||||
|
onClick={() => void signIn()}
|
||||||
type="submit"
|
type="submit"
|
||||||
className="btn mt-4 block w-full appearance-none rounded-lg bg-black px-4 py-2.5 text-center text-sm font-medium text-white shadow-lg shadow-black/50 duration-100 focus:outline-transparent disabled:opacity-80"
|
className="btn mt-4 block w-full appearance-none rounded-lg bg-black px-4 py-2.5 text-center text-sm font-medium text-white shadow-lg shadow-black/50 duration-100 focus:outline-transparent disabled:opacity-80"
|
||||||
>
|
>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue