default.vue 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. <template>
  2. <v-app id="inspire" dark>
  3. <v-app-bar app color="ma-4 glassy" flat style="border-radius: 1rem; overflow: hidden">
  4. <v-tabs centered center-active color="primary" router show-arrows>
  5. <v-tab v-for="link in links" :key="link.path" :to="link.path">
  6. {{ link.name }}
  7. </v-tab>
  8. </v-tabs>
  9. </v-app-bar>
  10. <v-img src="/ui/abstract.svg" style="position: absolute; left: 0; right: 0; width: 100%; height: 100%;" />
  11. <v-main class="pt-4">
  12. <section style="height: calc(100vh - 1rem); padding-top: 5rem; padding-bottom: 5rem; overflow-y: auto;">
  13. <center
  14. class="mx-auto d-flex flex-column justify-center items-center"
  15. style="width: 90vw; min-height: 100%; overflow-y: scroll;">
  16. <nuxt />
  17. </center>
  18. </section>
  19. </v-main>
  20. </v-app>
  21. </template>
  22. <style>
  23. html, body {
  24. overflow: hidden;
  25. }
  26. .mainAltButton {
  27. margin: 0.25em;
  28. }
  29. /* Glassmorphism effect */
  30. .glassy {
  31. backdrop-filter: blur(16px) saturate(180%);
  32. -webkit-backdrop-filter: blur(16px) saturate(180%);
  33. background-color: rgba(42, 42, 42, 0.75) !important;
  34. border-radius: 12px;
  35. /* border: 1px solid rgba(255, 255, 255, 0.125); */
  36. }
  37. </style>
  38. <script>
  39. export default {
  40. data: () => ({
  41. links: [
  42. {
  43. name: 'Home',
  44. path: '/'
  45. },
  46. {
  47. name: 'Install',
  48. path: '/install'
  49. },
  50. {
  51. name: 'FAQ',
  52. path: '/faq'
  53. },
  54. {
  55. name: 'Donate',
  56. path: '/donate'
  57. },
  58. {
  59. name: 'Links',
  60. path: '/links'
  61. },
  62. ],
  63. }),
  64. }
  65. </script>