links.vue 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. <template>
  2. <div class="pt-12">
  3. <h1 class="title-text">
  4. {{ $vuetify.lang.t("$vuetify.links.title") }}
  5. </h1>
  6. <p style="color: #9999; margin-top: 0.5rem; margin-bottom: 1rem">
  7. {{ $vuetify.lang.t("$vuetify.links.subtitle") }}
  8. </p>
  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">
  18. {{ $vuetify.lang.t("$vuetify.links.contact") }}
  19. </h1>
  20. <v-btn class="mainAltButton" :href="emailLink" target="_blank">
  21. <v-icon style="margin-right: 0.5em">mdi-email</v-icon>
  22. selivano.d@gmail.com
  23. </v-btn>
  24. <p style="color: #555" class="mt-8">
  25. Site by <v-icon color="#555">mdi-discord</v-icon>
  26. <a class="attr-link" href="https://github.com/Frontesque" target="_blank">
  27. Front#2990
  28. </a>
  29. <br />
  30. & <v-icon color="#555">mdi-discord</v-icon>
  31. <a class="attr-link" href="https://github.com/PickleNik" target="_blank">
  32. PickleNik#0864
  33. </a>
  34. </p>
  35. <!-- Translators -->
  36. <div style="color: #555; width: 250px">
  37. {{ $vuetify.lang.t("$vuetify.links.translators") }}
  38. <br />
  39. <div
  40. v-for="translator in translators"
  41. :key="translator.tag"
  42. class="d-flex"
  43. >
  44. {{ translator.lang }} - <v-spacer /> {{ translator.tag }}
  45. </div>
  46. </div>
  47. </div>
  48. </template>
  49. <script>
  50. export default {
  51. transition(to, from) {
  52. if (!from) return "swoop-in";
  53. let routes = ["index", "install", "docs", "help", "faq", "donate", "links"];
  54. if (routes.indexOf(to.name) < 0) return "swoop-out";
  55. if (routes.indexOf(from.name) < 0) return "swoop-in";
  56. return routes.indexOf(to.name) > routes.indexOf(from.name)
  57. ? "swoop-left"
  58. : "swoop-right";
  59. },
  60. data: () => ({
  61. githubLink: "https://github.com/Anarios/return-youtube-dislike",
  62. discordLink: "https://discord.gg/mYnESY4Md5",
  63. emailLink: "mailto:selivano.d@gmail.com ",
  64. translators: [
  65. {
  66. tag: "alexuspromago#9473",
  67. lang: "Español",
  68. },
  69. {
  70. tag: "trbatuhankara#7738",
  71. lang: "Türkçe",
  72. },
  73. {
  74. tag: "PickleNik#0864",
  75. lang: "Русский",
  76. }
  77. ],
  78. }),
  79. };
  80. </script>
  81. <style>
  82. .attr-link {
  83. color: #555 !important;
  84. text-decoration: none;
  85. transition: all 0.2s;
  86. }
  87. .attr-link:hover {
  88. text-decoration: underline;
  89. color: #f77 !important;
  90. }
  91. </style>