index.vue 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. <template>
  2. <div class="container">
  3. <div>
  4. <logo />
  5. <h1 class="title">
  6. admin
  7. </h1>
  8. <h2 class="subtitle">
  9. My ultimate Nuxt.js project
  10. </h2>
  11. <div class="links">
  12. <a
  13. href="https://nuxtjs.org/"
  14. target="_blank"
  15. class="button--green"
  16. >
  17. Documentation
  18. </a>
  19. <a
  20. href="https://github.com/nuxt/nuxt.js"
  21. target="_blank"
  22. class="button--grey"
  23. >
  24. GitHub
  25. </a>
  26. </div>
  27. </div>
  28. </div>
  29. </template>
  30. <script>
  31. import Logo from '~/components/Logo.vue'
  32. export default {
  33. components: {
  34. Logo
  35. }
  36. }
  37. </script>
  38. <style>
  39. .container {
  40. margin: 0 auto;
  41. min-height: 100vh;
  42. display: flex;
  43. justify-content: center;
  44. align-items: center;
  45. text-align: center;
  46. }
  47. .title {
  48. font-family: 'Quicksand', 'Source Sans Pro', -apple-system, BlinkMacSystemFont,
  49. 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  50. display: block;
  51. font-weight: 300;
  52. font-size: 100px;
  53. color: #35495e;
  54. letter-spacing: 1px;
  55. }
  56. .subtitle {
  57. font-weight: 300;
  58. font-size: 42px;
  59. color: #526488;
  60. word-spacing: 5px;
  61. padding-bottom: 15px;
  62. }
  63. .links {
  64. padding-top: 15px;
  65. }
  66. </style>