index.vue 1.2 KB

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