|
1 | 1 | <template>
|
2 | 2 | <v-container>
|
3 | 3 | <v-layout row wrap>
|
4 |
| - <v-flex xs10 offset-xs1> |
| 4 | + <v-flex xs12> |
5 | 5 | <v-card class="mx-auto">
|
6 | 6 | <v-card-title primary-title>
|
7 | 7 | <div>
|
8 | 8 | <h3 class="headline mb-0">Sign In</h3>
|
9 | 9 | </div>
|
10 | 10 | </v-card-title>
|
11 | 11 | <v-card-text>
|
12 |
| - <v-form ref="form" lazy-validation> |
13 |
| - <v-text-field |
14 |
| - v-model="email" |
15 |
| - :rules="emailRules" |
16 |
| - label="E-mail" |
17 |
| - required |
18 |
| - ></v-text-field> |
19 |
| - <v-text-field |
20 |
| - v-model="password" |
21 |
| - :append-icon="e3 ? 'visibility' : 'visibility_off'" |
22 |
| - :append-icon-cb="() => (e3 = !e3)" |
23 |
| - :type="e3 ? 'password' : 'text'" |
24 |
| - name="input-10-2" |
25 |
| - label="Enter your password" |
26 |
| - hint="At least 8 characters" |
27 |
| - min="8" |
28 |
| - value="" |
29 |
| - required |
30 |
| - ></v-text-field> |
31 |
| - <v-btn |
32 |
| - @click="login" |
33 |
| - > |
34 |
| - Login |
| 12 | + <v-form ref="form" lazy-validation> |
| 13 | + <v-text-field |
| 14 | + v-model="email" |
| 15 | + :rules="emailRules" |
| 16 | + label="E-mail" |
| 17 | + required |
| 18 | + ></v-text-field> |
| 19 | + <v-text-field |
| 20 | + v-model="password" |
| 21 | + :append-icon="e3 ? 'visibility' : 'visibility_off'" |
| 22 | + :append-icon-cb="() => (e3 = !e3)" |
| 23 | + :type="e3 ? 'password' : 'text'" |
| 24 | + name="input-10-2" |
| 25 | + label="Enter your password" |
| 26 | + hint="At least 8 characters" |
| 27 | + min="8" |
| 28 | + value="" |
| 29 | + required |
| 30 | + ></v-text-field> |
| 31 | + <v-btn |
| 32 | + @click="login" |
| 33 | + > |
| 34 | + Login |
| 35 | + </v-btn> |
| 36 | + <v-btn |
| 37 | + @click="login" |
| 38 | + > |
| 39 | + Sign Up |
| 40 | + </v-btn> |
| 41 | + </v-form> |
| 42 | + |
| 43 | + <v-btn class="google" block @click="signInGoogle"> |
| 44 | + <img class="icon" src="https://www.gstatic.com/firebasejs/ui/2.0.0/images/auth/google.svg"> |
| 45 | + Login with Google |
| 46 | + </v-btn> |
| 47 | + <v-btn class="facebook" block @click="signInFacebook"> |
| 48 | + <img class="icon" src="https://www.gstatic.com/firebasejs/ui/2.0.0/images/auth/facebook.svg"> |
| 49 | + Login with Facebook |
| 50 | + </v-btn> |
| 51 | + <v-btn class="twitter" block @click="signInTwitter"> |
| 52 | + <img class="icon" src="https://www.gstatic.com/firebasejs/ui/2.0.0/images/auth/twitter.svg"> |
| 53 | + Login with Twitter |
35 | 54 | </v-btn>
|
36 |
| - <v-btn |
37 |
| - @click="login" |
38 |
| - > |
39 |
| - Sign Up |
| 55 | + <v-btn class="github" block @click="signInGithub"> |
| 56 | + <img class="icon" src="https://www.gstatic.com/firebasejs/ui/2.0.0/images/auth/github.svg"> |
| 57 | + Login with GitHub |
40 | 58 | </v-btn>
|
41 |
| - </v-form> |
42 |
| - <v-btn @click="signInGoogle">Login with Gmail</v-btn> |
43 | 59 | </v-card-text>
|
44 | 60 | </v-card>
|
45 | 61 | </v-flex>
|
@@ -198,25 +214,25 @@ export default {
|
198 | 214 | }
|
199 | 215 |
|
200 | 216 | .facebook {
|
201 |
| - background: #3b5998; |
| 217 | + background: #3b5998 !important; |
202 | 218 | color: white;
|
203 | 219 | width: 100%;
|
204 | 220 | }
|
205 | 221 |
|
206 | 222 | .github {
|
207 |
| - background: black; |
| 223 | + background: black !important; |
208 | 224 | color: #fff;
|
209 | 225 | width: 100%;
|
210 | 226 | }
|
211 | 227 |
|
212 | 228 | .twitter {
|
213 |
| - background: #1da1f2; |
| 229 | + background: #1da1f2 !important; |
214 | 230 | color: #fff;
|
215 | 231 | width: 100%;
|
216 | 232 | }
|
217 | 233 |
|
218 | 234 | .google {
|
219 |
| - background: #db4437; |
| 235 | + background: #727272 !important; |
220 | 236 | color: #fff;
|
221 | 237 | width: 100%;
|
222 | 238 | }
|
|
0 commit comments