File tree Expand file tree Collapse file tree 4 files changed +16
-4
lines changed
src/app/[locale]/(redesign)/(public) Expand file tree Collapse file tree 4 files changed +16
-4
lines changed Original file line number Diff line number Diff line change @@ -41,7 +41,6 @@ export const View = (props: Props) => {
4141 < h1 > { props . l10n . getString ( "landing-all-hero-title" ) } </ h1 >
4242 < p > { props . l10n . getString ( "landing-all-hero-lead" ) } </ p >
4343 < SignUpForm
44- isHero
4544 signUpCallbackUrl = { `${ config . serverUrl } /user/dashboard` }
4645 eventId = { {
4746 cta : "clicked_get_scan_header" ,
Original file line number Diff line number Diff line change 11@use " ../../../tokens" ;
22
33.form {
4- align-items : flex-start ;
54 display : flex ;
65 flex-wrap : wrap ;
76 gap : tokens .$spacing-lg ;
7+ flex-direction : column ;
8+ align-items : center ;
9+
10+ @media screen and (min-width : tokens .$screen-sm ) {
11+ flex-direction : row ;
12+
13+ // label positions will dictate where the CTA is floating
14+ & .top {
15+ align-items : flex-end ;
16+ }
17+ & .bottom {
18+ align-items : flex-start ;
19+ }
20+ }
821
922 div :first-child {
1023 display : flex ;
Original file line number Diff line number Diff line change @@ -22,11 +22,10 @@ export type Props = {
2222 signUpCallbackUrl : string ;
2323 label ?: string ;
2424 experimentData ?: ExperimentData [ "Features" ] ;
25- isHero ?: boolean ;
2625 placeholder ?: string ;
2726 ctaLabel ?: string | ReactNode ;
2827 hasFloatingLabel ?: boolean ;
29- labelPosition ? : "top" | "bottom" | "floating" ;
28+ labelPosition : "top" | "bottom" | "floating" ;
3029} ;
3130
3231export const SignUpForm = ( props : Props ) => {
Original file line number Diff line number Diff line change @@ -27,6 +27,7 @@ export const FooterSection = (props: Props) => {
2727 placeholder = { l10n . getString (
2828 "how-it-works-page-footersection-input-placeholder" ,
2929 ) }
30+ labelPosition = "top"
3031 />
3132 </ footer >
3233 ) ;
You can’t perform that action at this time.
0 commit comments