From 090868aa347e57e2e227f77c6adbb06df3a2d966 Mon Sep 17 00:00:00 2001 From: Matthew Ess Date: Sun, 14 Oct 2018 23:25:55 -0400 Subject: [PATCH] Refactors + add Nuxtent --- .vscode/settings.json | 8 +- components/hero.vue | 10 +- components/navTabs.vue | 9 -- nuxt.config.js | 11 ++- package.json | 11 ++- pages/blog/_slug.vue | 9 ++ pages/blog/index.vue | 3 + pages/index.vue | 14 +-- pages/projects.vue | 24 ++--- pages/resume.vue | 3 + yarn.lock | 213 ++++++++++++++++++++++++++++++----------- 11 files changed, 217 insertions(+), 98 deletions(-) delete mode 100644 components/navTabs.vue create mode 100644 pages/blog/_slug.vue diff --git a/.vscode/settings.json b/.vscode/settings.json index d83c9db..21bda8b 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,9 +1,5 @@ { "eslint.enable": true, "eslint.packageManager": "yarn", - "eslint.validate": [ - "javascript", - "javascriptreact", - "vue" - ] -} \ No newline at end of file + "eslint.validate": ["javascript", "javascriptreact", "vue", "html"] +} diff --git a/components/hero.vue b/components/hero.vue index 10951f2..d481388 100644 --- a/components/hero.vue +++ b/components/hero.vue @@ -5,14 +5,16 @@ section.hero.is-primary.is-bold(v-once) h1.title.has-text-danger matthew ess h2.subtitle.has-text-danger software developer, social justice warrior, wannabe artist .hero-foot - nav-tabs + .tabs.is-boxed.is-fullwidth.is-three-quarters + ul.has-text-weight-semibold.has-text-danger + li(v-if='compact') #[nuxt-link.has-text-weight-bold(to='/') matthew ess] + li #[nuxt-link(to='/projects') projects] + li #[nuxt-link(to='/resume') resume] + li #[nuxt-link(to='/blog') blog] diff --git a/pages/blog/index.vue b/pages/blog/index.vue index 8834243..2026be6 100644 --- a/pages/blog/index.vue +++ b/pages/blog/index.vue @@ -4,6 +4,9 @@