Skip to content

Instantly share code, notes, and snippets.

@brizental
Created July 8, 2017 21:42
Show Gist options
  • Save brizental/ba23670bd73b6903287c86b524a13b84 to your computer and use it in GitHub Desktop.
Save brizental/ba23670bd73b6903287c86b524a13b84 to your computer and use it in GitHub Desktop.
<template>
<div class="whiteWrapper">
<div class="container">
<div class="row">
<figure class="logo valign-wrapper">
<img class="responsive-img" src="/static/img/logo.svg" />
</figure>
<h1 class="logo-legend center-align">O App oficial!</h1>
</div>
<div class="row">
<div class="col s2">&nbsp;</div>
<form class="col s8">
<div class="row">
<div class="input-field col s12">
<input id="email" ref="email" type="email" class="validate">
<label for="email">Email</label>
</div>
</div>
<div class="row">
<div class="input-field col s12">
<input id="password" ref="password" type="password" class="validate">
<label for="password">Password</label>
</div>
</div>
<div class="row">
<div class="col s12 center-align">
<input type="submit" value="ENTRAR" v-on:submit.prevent="login" class="waves-effect waves-light btn-flat grey lighten-3 grey-text text-darken-4">
<p class="center-align"><a href="#">Esqueceu sua senha?</a></p>
</div>
</div>
</form>
</div>
<div class="row">
<div class="col s2">&nbsp;</div>
<div class="col s8 center-align">
<p class="center-align">Ainda não tem conta?</p>
<a class="waves-effect waves-light btn-flat grey lighten-3 grey-text text-darken-4">REGISTRAR</a>
</div>
</div>
</div>
</div>
</template>
<script>
export default {
name: 'login',
methods: {
login: function() {
console.log("alou");
}
}
}
</script>
<style scoped lang="scss">
.whiteWrapper {
width: 100%;
height: 100%;
background: #fff;
margin: 0;
position: absolute;
top: 0;
left: 0;
}
.logo {
padding: 15px 0 0;
height: 20vh;
justify-content: center;
img {
width: 230px;
}
}
h1.logo-legend {
color: #f0888e;
font-size: 16px;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 3px;
}
.input-field {
margin-top: 0;
}
input[type='email'], input[type='password'], label {
text-align: center;
left: 0 !important;
font-size: 16px;
}
p {
margin-top: 20px;
color: #999;
a {
color: #999;
border-bottom: 2px solid #fcd432;
}
}
</style>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment