diff --git a/.babelrc b/.babelrc new file mode 100644 index 0000000..a813a0a --- /dev/null +++ b/.babelrc @@ -0,0 +1,3 @@ +{ + "plugins": ["transform-runtime"] +} diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..9142239 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,13 @@ +# editorconfig.org +root = true + +[*] +indent_size = 2 +indent_style = space +end_of_line = lf +charset = utf-8 +trim_trailing_whitespace = true +insert_final_newline = true + +[*.md] +trim_trailing_whitespace = false diff --git a/.eslintrc.js b/.eslintrc.js new file mode 100644 index 0000000..b44e099 --- /dev/null +++ b/.eslintrc.js @@ -0,0 +1,16 @@ +module.exports = { + root: true, + parser: 'babel-eslint', + env: { + browser: true, + node: true + }, + extends: 'standard', + // required to lint *.vue files + plugins: [ + 'html' + ], + // add your custom rules here + rules: {}, + globals: {} +} diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..7ee6115 --- /dev/null +++ b/.gitignore @@ -0,0 +1,11 @@ +# dependencies +node_modules + +# logs +npm-debug.log + +# Nuxt build +.nuxt + +# Nuxt generate +dist diff --git a/README.md b/README.md new file mode 100644 index 0000000..9e29228 --- /dev/null +++ b/README.md @@ -0,0 +1,22 @@ +# starter + +> Nuxt.js project + +## Build Setup + +``` bash +# install dependencies +$ npm install # Or yarn install + +# serve with hot reload at localhost:3000 +$ npm run dev + +# build for production and launch server +$ npm run build +$ npm start + +# generate static project +$ npm run generate +``` + +For detailed explanation on how things work, checkout the [Nuxt.js docs](https://github.com/nuxt/nuxt.js). diff --git a/assets/css/main.css b/assets/css/main.css new file mode 100644 index 0000000..33bee56 --- /dev/null +++ b/assets/css/main.css @@ -0,0 +1,35 @@ +html, body +{ + background-color: #fff; + color: #2e2f30; + letter-spacing: 0.5px; + font-family: "Source Sans Pro", Arial, sans-serif; + height: 100vh; + margin: 0; +} + +footer +{ + padding: 20px; + text-align: center; + border-top: 1px solid #ddd; +} + +a, a:hover, a:focus, a:visited +{ + color: #41B883; +} + +.logo { + width: 243px; + height: 218px; +} + +.page-enter-active, .page-leave-active +{ + transition: opacity .5s +} +.page-enter, .page-leave-active +{ + opacity: 0 +} diff --git a/assets/img/logo.png b/assets/img/logo.png new file mode 100644 index 0000000..b264f59 Binary files /dev/null and b/assets/img/logo.png differ diff --git a/components/Footer.vue b/components/Footer.vue new file mode 100644 index 0000000..7aaf2c2 --- /dev/null +++ b/components/Footer.vue @@ -0,0 +1,5 @@ + diff --git a/layouts/default.vue b/layouts/default.vue new file mode 100644 index 0000000..842d8ce --- /dev/null +++ b/layouts/default.vue @@ -0,0 +1,52 @@ + + + + + diff --git a/layouts/error.vue b/layouts/error.vue new file mode 100644 index 0000000..dca9d24 --- /dev/null +++ b/layouts/error.vue @@ -0,0 +1,37 @@ + + + + diff --git a/nuxt.config.js b/nuxt.config.js new file mode 100644 index 0000000..c3e54d3 --- /dev/null +++ b/nuxt.config.js @@ -0,0 +1,24 @@ +module.exports = { + /* + ** Headers of the page + */ + head: { + title: 'starter', + meta: [ + { charset: 'utf-8' }, + { name: 'viewport', content: 'width=device-width, initial-scale=1' }, + { hid: 'description', name: 'description', content: 'Nuxt.js project' } + ], + link: [ + { rel: 'icon', type: 'image/x-icon', href: 'favicon.ico' } + ] + }, + /* + ** Global CSS + */ + css: ['~assets/css/main.css'], + /* + ** Customize the progress-bar color + */ + loading: { color: '#3B8070' } +} diff --git a/package.json b/package.json new file mode 100644 index 0000000..291ef6f --- /dev/null +++ b/package.json @@ -0,0 +1,26 @@ +{ + "name": "starter", + "version": "1.0.0", + "description": "Nuxt.js project", + "author": "Brian 'bdougie' Douglas ", + "private": true, + "dependencies": { + "nuxt": "latest" + }, + "scripts": { + "dev": "nuxt", + "build": "nuxt build", + "start": "nuxt start", + "generate": "nuxt generate", + "lint": "eslint --ext .js,.vue --ignore-path .gitignore .", + "precommit": "npm run lint" + }, + "devDependencies": { + "babel-eslint": "^7.1.1", + "eslint": "^3.15.0", + "eslint-config-standard": "^6.2.1", + "eslint-plugin-html": "^2.0.0", + "eslint-plugin-promise": "^3.4.1", + "eslint-plugin-standard": "^2.0.1" + } +} diff --git a/pages/about.vue b/pages/about.vue new file mode 100644 index 0000000..27a227e --- /dev/null +++ b/pages/about.vue @@ -0,0 +1,46 @@ + + + + diff --git a/pages/index.vue b/pages/index.vue new file mode 100644 index 0000000..334e702 --- /dev/null +++ b/pages/index.vue @@ -0,0 +1,18 @@ + + + diff --git a/static/favicon.ico b/static/favicon.ico new file mode 100644 index 0000000..382fecb Binary files /dev/null and b/static/favicon.ico differ