Replace ConvertKit email with sign in button

This commit is contained in:
Austin Chen 2021-12-15 01:30:00 -08:00
parent 5f7052a58e
commit 5d1ab7d5f6
2 changed files with 7 additions and 28 deletions

File diff suppressed because one or more lines are too long

View File

@ -1,4 +1,4 @@
import { ConvertKitEmailForm } from './convert-kit-email-form' import { firebaseLogin } from '../lib/firebase/users'
import { Header } from './header' import { Header } from './header'
export const Hero = () => { export const Hero = () => {
@ -22,7 +22,12 @@ export const Hero = () => {
you and your community you and your community
</p> </p>
<div className="mt-10 sm:mt-12"> <div className="mt-10 sm:mt-12">
<ConvertKitEmailForm /> <button
className="btn btn-primary normal-case font-medium px-10"
onClick={firebaseLogin}
>
Sign in to get started!
</button>
</div> </div>
</div> </div>
</div> </div>