Guest User

Untitled

a guest
Mar 20th, 2018
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.74 KB | None | 0 0
  1. <template>
  2. <div class="container-fluid">
  3. <div class="row">
  4. <div class="col-md-6">
  5. <h3>Sign In with Twitter</h3>
  6. <button class="btn btn-primary"
  7. @click="signIn">
  8. <i class="fa fa-twitter"></i>
  9. SignIn with Twitter
  10. </button>
  11. </div>
  12. </div>
  13. </div>
  14. </template>
  15.  
  16.  
  17. <script>
  18. export default {
  19. methods: {
  20. signIn () {
  21. this.$store.dispatch('signIn')
  22. }
  23. }
  24. }
  25. </script>
  26.  
  27. <style scoped>
  28. h3 {
  29. font-weight: 700;
  30. }
  31. button {
  32. background-color: #1dcaff;
  33. border: 1px solid #1dcaff;
  34. }
  35. div button:hover {
  36. background-color: #00aced;
  37. border: 1px solid #00aced;
  38. }
  39.  
  40. </style>
Add Comment
Please, Sign In to add comment