File tree Expand file tree Collapse file tree 2 files changed +20
-3
lines changed Expand file tree Collapse file tree 2 files changed +20
-3
lines changed Original file line number Diff line number Diff line change @@ -67,12 +67,22 @@ export default function LoginPage() {
67
67
< Fieldset >
68
68
< div className = "flex flex-col gap-y-2" >
69
69
{ data . showGithubAuth && (
70
- < Button type = "submit" variant = "primary/large" fullWidth >
70
+ < Button
71
+ type = "submit"
72
+ variant = "primary/large"
73
+ fullWidth
74
+ data-action = "continue with github"
75
+ >
71
76
< NamedIcon name = { "github" } className = { "mr-1.5 h-4 w-4" } />
72
77
Continue with GitHub
73
78
</ Button >
74
79
) }
75
- < LinkButton to = "/login/magic" variant = "secondary/large" fullWidth >
80
+ < LinkButton
81
+ to = "/login/magic"
82
+ variant = "secondary/large"
83
+ fullWidth
84
+ data-action = "continue with email"
85
+ >
76
86
< NamedIcon
77
87
name = { "envelope" }
78
88
className = { "mr-1.5 h-4 w-4 text-dimmed transition group-hover:text-bright" }
Original file line number Diff line number Diff line change @@ -101,12 +101,17 @@ export default function LoginMagicLinkPage() {
101
101
variant = "tertiary/small"
102
102
LeadingIcon = "arrow-left"
103
103
leadingIconClassName = "text-dimmed group-hover:text-bright transition"
104
+ data-action = "re-enter email"
104
105
>
105
106
Re-enter email
106
107
</ Button >
107
108
}
108
109
confirmButton = {
109
- < LinkButton to = "/login" variant = "tertiary/small" >
110
+ < LinkButton
111
+ to = "/login"
112
+ variant = "tertiary/small"
113
+ data-action = "log in using another option"
114
+ >
110
115
Log in using another option
111
116
</ LinkButton >
112
117
}
@@ -139,6 +144,7 @@ export default function LoginMagicLinkPage() {
139
144
variant = "primary/medium"
140
145
disabled = { isLoading }
141
146
fullWidth
147
+ data-action = "send a magic link"
142
148
>
143
149
< NamedIcon
144
150
name = { isLoading ? "spinner-white" : "envelope" }
@@ -164,6 +170,7 @@ export default function LoginMagicLinkPage() {
164
170
variant = { "tertiary/small" }
165
171
LeadingIcon = { "arrow-left" }
166
172
leadingIconClassName = "text-dimmed group-hover:text-bright transition"
173
+ data-action = "all login options"
167
174
>
168
175
All login options
169
176
</ LinkButton >
You can’t perform that action at this time.
0 commit comments