links.vue 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. <template>
  2. <div style="height: 100%">
  3. <h1 class="title-text" >Project Links</h1>
  4. <div style="color: #999">
  5. <p style="margin-top: .5rem; margin-bottom: 1rem;">Links to the project and it's developers</p>
  6. </div>
  7. <v-btn class="mainAltButton" :href="githubLink" target="_blank">
  8. <v-icon style="margin-right: 0.5em;">mdi-github</v-icon>
  9. GitHub
  10. </v-btn>
  11. <v-btn class="mainAltButton" :href="discordLink" target="_blank">
  12. <v-icon style="margin-right: 0.5em;">mdi-discord</v-icon>
  13. Discord
  14. </v-btn>
  15. <h1 style="margin-top: 1em;">Contact Me</h1>
  16. <v-btn class="mainAltButton" :href="emailLink" target="_blank">
  17. <v-icon style="margin-right: 0.5em;">mdi-email</v-icon>
  18. Email
  19. </v-btn>
  20. <p id="credits">Site by <v-icon color="#555">mdi-discord</v-icon> Front#2990</p>
  21. </div>
  22. </template>
  23. <style scoped>
  24. #credits {
  25. transform: translate(0,100%);
  26. color: #555;
  27. }
  28. </style>
  29. <script>
  30. export default {
  31. transition(to, from) {
  32. if (!from) return 'swoop-in'
  33. let routes = ['index', 'install', 'faq', 'donate', 'links']
  34. if (routes.indexOf(to.name) < 0) return 'swoop-out'
  35. if (routes.indexOf(from.name) < 0) return 'swoop-in'
  36. return routes.indexOf(to.name) > routes.indexOf(from.name) ? 'swoop-left' : 'swoop-right'
  37. },
  38. data() {
  39. return {
  40. githubLink: "https://github.com/Anarios/return-youtube-dislike",
  41. discordLink: "https://discord.gg/mYnESY4Md5",
  42. emailLink: "mailto:selivano.d@gmail.com "
  43. }
  44. }
  45. }
  46. </script>