From 4b79c9af0826427a589342f73310e460e3711f1e Mon Sep 17 00:00:00 2001 From: kevin olson Date: Mon, 25 Mar 2019 10:35:52 -0500 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8=20changed=20ProductAllow=20to=20be?= =?UTF-8?q?=20more=20mobile=20friendly,=20added=20metadata=20for=20jp=20in?= =?UTF-8?q?=20layout=20file?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/pages/product/ProductAllow.vue | 28 ++++++++++++++++------- layouts/default.vue | 28 +++++++++++++++++++++++ pages/privacy.vue | 2 ++ 3 files changed, 50 insertions(+), 8 deletions(-) diff --git a/components/pages/product/ProductAllow.vue b/components/pages/product/ProductAllow.vue index 7650d53..69417ea 100644 --- a/components/pages/product/ProductAllow.vue +++ b/components/pages/product/ProductAllow.vue @@ -25,7 +25,7 @@ export default { } - diff --git a/layouts/default.vue b/layouts/default.vue index 323aa5a..28ea820 100644 --- a/layouts/default.vue +++ b/layouts/default.vue @@ -12,6 +12,34 @@ import { NavBar, BottomBar, DemoForm, IEWarning } from '~/components/layout' export default { components: { NavBar, BottomBar, DemoForm, IEWarning }, + + data () { + + return { + meta: { + en: { + title: 'One Concern', + description: 'Artificial Intelligence platform for Disasters', + }, + jp: { + title: 'jp title placeholder', + description: 'jp description placeholder', + }, + } + } + }, + + head () { + return { + title: this.meta[this.$store.state.i18n.locale].title, + meta: [ + { + hid: 'description', name: 'description', + content: this.meta[this.$store.state.i18n.locale].description + }, + ] + } + }, } diff --git a/pages/privacy.vue b/pages/privacy.vue index ed25ba6..6e38605 100644 --- a/pages/privacy.vue +++ b/pages/privacy.vue @@ -32,7 +32,9 @@ export default {