build(nuxt): initialize project

This commit is contained in:
Julien
2018-09-09 16:50:38 +02:00
parent 6cff114b04
commit 3bf11da252
19 changed files with 10692 additions and 1 deletions

8
pages/README.md Normal file
View File

@@ -0,0 +1,8 @@
# PAGES
This directory contains your Application Views and Routes.
The framework reads all the .vue files inside this directory and creates the router of your application.
More information about the usage of this directory in the documentation:
https://nuxtjs.org/guide/routing

65
pages/index.vue Normal file
View File

@@ -0,0 +1,65 @@
<template>
<section class="container">
<div>
<app-logo/>
<h1 class="title">
awesome-cheatsheets
</h1>
<h2 class="subtitle">
Awesome cheatsheets for popular programming languages, frameworks and development tools. They include everything you should know in one single file.
</h2>
<div class="links">
<a
href="https://nuxtjs.org/"
target="_blank"
class="button--green">Documentation</a>
<a
href="https://github.com/nuxt/nuxt.js"
target="_blank"
class="button--grey">GitHub</a>
</div>
</div>
</section>
</template>
<script>
import AppLogo from '~/components/AppLogo.vue'
export default {
components: {
AppLogo
}
}
</script>
<style>
.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>