11import * as Meta from "components/Meta"
22import * as SVG from "svgs"
33import CodexLogo from "components/CodexLogo"
4+ import E from "lib/Emoji"
45import React from "react"
6+ import trimSpaces from "lib/trimSpaces"
57import { SplitViewRHSBlock } from "./SplitView"
68
79const SignUpForm = ( ) => (
@@ -26,23 +28,27 @@ const SignUpForm = () => (
2628 </ p >
2729 </ Meta . Label >
2830 </ div >
29-
30- < div className = "mt-1 grid grid-cols-2 gap-3" >
31+ < div className = "mt-1 grid grid-cols-3 gap-3" >
3132 < div className = "rounded-md shadow-sm" >
32- < Meta . Focusable >
33- { /* Added bg-gh-gray, removed border
34- border-gray-300 */ }
35- < button className = "form-input flex flex-row justify-center w-full h-12 bg-gh-gray border-none hover:opacity-90 active:opacity-100" aria-label = "Sign in with GitHub" >
36- < SVG . GitHubLogo className = "w-6 h-6 text-white" />
33+ < Meta . SocialButton >
34+ < button aria-label = "Sign in with GitHub" >
35+ < SVG . GitHubLogo className = "w-5 h-5 text-gh-gray" />
3736 </ button >
38- </ Meta . Focusable >
37+ </ Meta . SocialButton >
3938 </ div >
4039 < div className = "rounded-md shadow-sm" >
41- < Meta . Focusable >
42- < button className = "form-input flex flex-row justify-center w-full h-12 border border-gray-300 hover:opacity-90 active:opacity-100" type = "button" aria-label = "Sign in with Google " >
43- < SVG . GoogleLogo className = "w-6 h-6 " />
40+ < Meta . SocialButton >
41+ < button aria-label = "Sign in with Twitter " >
42+ < SVG . TwitterLogo className = "w-5 h-5 text-tw-blue " />
4443 </ button >
45- </ Meta . Focusable >
44+ </ Meta . SocialButton >
45+ </ div >
46+ < div className = "rounded-md shadow-sm" >
47+ < Meta . SocialButton >
48+ < button aria-label = "Sign in with Google" >
49+ < SVG . GoogleLogo className = "w-5 h-5" />
50+ </ button >
51+ </ Meta . SocialButton >
4652 </ div >
4753 </ div >
4854
@@ -69,7 +75,7 @@ const SignUpForm = () => (
6975 spellCheck = { false }
7076 type = "text"
7177 />
72- { "You can always change your email address." }
78+ { /* { "You can always change your email address."} */ }
7379 </ Meta . InputBlock >
7480
7581 < Meta . InputBlock className = "mt-6" >
@@ -84,35 +90,27 @@ const SignUpForm = () => (
8490 spellCheck = { false }
8591 type = "password"
8692 />
87- { "You can always change your password." }
93+ { /* { "You can always change your password."} */ }
8894 </ Meta . InputBlock >
8995
96+ { /* Uses mt-8 not mt-6 */ }
9097 < div className = "mt-8" >
9198 < div className = "rounded-md shadow-sm" >
9299 < Meta . Focusable >
93- < button className = "flex flex-row justify-center w-full h-12 bg-md-blue-a400 rounded-md hover:opacity-90 active:opacity-100" type = "submit" >
94- < Meta . SelectNone >
95- < p className = "flex flex-row items-center font-semibold text-white" >
96- Create Your Codex{ " " }
97- < span className = "ml-2" aria-label = "partying face" role = "img" > 🥳</ span >
98- </ p >
99- </ Meta . SelectNone >
100+ { /* Uses py-3 not py-2 */ }
101+ < button className = "px-4 py-3 w-full flex flex-row justify-center items-center font-bold text-sm tracking-wider leading-5 text-white bg-md-blue-a400 border border-transparent rounded-md" >
102+ CREATE YOUR CODEX{ " " }
103+ < span className = "ml-2" > < E > 🥳</ E > </ span > { " " }
104+ < span > < E > 🎉</ E > </ span >
100105 </ button >
101106 </ Meta . Focusable >
102107 </ div >
103108 </ div >
104109
105- { /* <div className="mt-6"> */ }
106- { /* <p className="text-sm text-gray-600"> */ }
107- { /* By clicking ‘Create Your Codex’,{" "} */ }
108- { /* you agree to our <a href="TODO" className="underline">Terms of Service</a> and <a href="TODO" className="underline">Privacy Policy</a>.{" "} */ }
109- { /* We’ll occasionally send you account related emails. */ }
110- { /* </p> */ }
111- { /* </div> */ }
112-
113110 < div className = "mt-6" >
114111 < p className = "text-sm text-gray-600" >
115- We’ll keep you signed in until you click < span className = "underline" > Sign Out</ span > .
112+ By clicking ‘Create Your Codex,’ you agree to our < a href = "TODO" className = "underline" > Terms of Service</ a > and < a href = "TODO" className = "underline" > Privacy Policy</ a > .{ " " }
113+ We’ll occasionally send you account related emails.
116114 </ p >
117115 </ div >
118116
0 commit comments