Created
August 21, 2017 21:05
-
-
Save roberto-butti/8011f68ead82e9b5ac55faf2013d8213 to your computer and use it in GitHub Desktop.
Home page, index.vue
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<section class="container"> | |
<div> | |
<logo/> | |
<h1 class="title"> | |
Nuxt.js tutorial | |
</h1> | |
<h2 class="subtitle"> | |
Esempio di progetto Web costruito con Nuxt.js | |
</h2> | |
<div class="links"> | |
<nuxt-link to="/prodotti" class="button--green">Prodotti</nuxt-link> | |
</div> | |
</div> | |
</section> | |
</template> | |
<script> | |
import Logo from '~/components/Logo.vue' | |
export default { | |
components: { | |
Logo | |
} | |
} | |
</script> | |
<style scoped> | |
.container | |
{ | |
min-height: 100vh; | |
display: flex; | |
justify-content: center; | |
align-items: center; | |
text-align: center; | |
} | |
.title | |
{ | |
font-family: "Quicksand", "Source Sans Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; /* 1 */ | |
display: block; | |
font-weight: 300; | |
font-size: 100px; | |
color: #35495e; | |
letter-spacing: 1px; | |
} | |
.subtitle | |
{ | |
font-weight: 300; | |
font-size: 42px; | |
color: #526488; | |
word-spacing: 5px; | |
padding-bottom: 15px; | |
} | |
.links | |
{ | |
padding-top: 15px; | |
} | |
</style> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment