links.vue 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  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: 0.5rem; margin-bottom: 1rem">
  6. Links to the project and its developers
  7. </p>
  8. </div>
  9. <v-btn class="mainAltButton" :href="githubLink" target="_blank">
  10. <v-icon style="margin-right: 0.5em">mdi-github</v-icon>
  11. GitHub
  12. </v-btn>
  13. <v-btn class="mainAltButton" :href="discordLink" target="_blank">
  14. <v-icon style="margin-right: 0.5em">mdi-discord</v-icon>
  15. Discord
  16. </v-btn>
  17. <h1 style="margin-top: 1em">Contact Me</h1>
  18. <v-btn class="mainAltButton" :href="emailLink" target="_blank">
  19. <v-icon style="margin-right: 0.5em">mdi-email</v-icon>
  20. selivano.d@gmail.com
  21. </v-btn>
  22. <p id="credits" class="flex-row no-wrap">
  23. Site by <v-icon color="#555">mdi-discord</v-icon> Front#2990
  24. <br />
  25. & <v-icon color="#555">mdi-discord</v-icon>
  26. PickleNik#0864
  27. </p>
  28. </div>
  29. </template>
  30. <script>
  31. export default {
  32. transition(to, from) {
  33. if (!from) return "swoop-in";
  34. let routes = ["index", "install", "docs", "help", "faq", "donate", "links"];
  35. if (routes.indexOf(to.name) < 0) return "swoop-out";
  36. if (routes.indexOf(from.name) < 0) return "swoop-in";
  37. return routes.indexOf(to.name) > routes.indexOf(from.name)
  38. ? "swoop-left"
  39. : "swoop-right";
  40. },
  41. data() {
  42. return {
  43. githubLink: "https://github.com/Anarios/return-youtube-dislike",
  44. discordLink: "https://discord.gg/mYnESY4Md5",
  45. emailLink: "mailto:selivano.d@gmail.com ",
  46. };
  47. },
  48. };
  49. </script>
  50. <style scoped>
  51. #credits {
  52. transform: translate(0, 100%);
  53. color: #555;
  54. }
  55. </style>