Skip to content

Commit 42569e6

Browse files
committed
2 parents 6e5c88c + f23ae8d commit 42569e6

File tree

2 files changed

+51
-35
lines changed

2 files changed

+51
-35
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
> NOTE: This repository contains the new roadmap-dev of Myfirebase, if you want to build an application with myfirebase please visit the main [Repository](https://github.com/myfirebase\myfirebase).
1+
> NOTE: This repository contains the new roadmap-dev of Myfirebase, if you want to build an application with myfirebase please visit the main [Repository](https://github.com/myfirebase/myfirebase).
22
33
<p align="center">
44
<img src = "http://i.imgur.com/eui4MCQ.png">

src/components/auth/Login.vue

Lines changed: 50 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -1,45 +1,61 @@
11
<template>
22
<v-container>
33
<v-layout row wrap>
4-
<v-flex xs10 offset-xs1>
4+
<v-flex xs12>
55
<v-card class="mx-auto">
66
<v-card-title primary-title>
77
<div>
88
<h3 class="headline mb-0">Sign In</h3>
99
</div>
1010
</v-card-title>
1111
<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
3554
</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
4058
</v-btn>
41-
</v-form>
42-
<v-btn @click="signInGoogle">Login with Gmail</v-btn>
4359
</v-card-text>
4460
</v-card>
4561
</v-flex>
@@ -198,25 +214,25 @@ export default {
198214
}
199215
200216
.facebook {
201-
background: #3b5998;
217+
background: #3b5998 !important;
202218
color: white;
203219
width: 100%;
204220
}
205221
206222
.github {
207-
background: black;
223+
background: black !important;
208224
color: #fff;
209225
width: 100%;
210226
}
211227
212228
.twitter {
213-
background: #1da1f2;
229+
background: #1da1f2 !important;
214230
color: #fff;
215231
width: 100%;
216232
}
217233
218234
.google {
219-
background: #db4437;
235+
background: #727272 !important;
220236
color: #fff;
221237
width: 100%;
222238
}

0 commit comments

Comments
 (0)