Skip to content

Commit

Permalink
🎨 changed ProductAllow to be more mobile friendly, added metadata for…
Browse files Browse the repository at this point in the history
… jp in layout file
  • Loading branch information
acidjazz committed Mar 25, 2019
1 parent 53b1708 commit 4b79c9a
Show file tree
Hide file tree
Showing 3 changed files with 50 additions and 8 deletions.
28 changes: 20 additions & 8 deletions components/pages/product/ProductAllow.vue
Expand Up @@ -25,7 +25,7 @@ export default {
}
</script>

<style lang="stylus" scoped>
<style lang="stylus">
@import '../../../assets/stylus/guide/includes/*'
.section-ProductAllow
Expand All @@ -52,12 +52,20 @@ export default {
.allow-copy
inViewportBottom((0.1 * i + 0.2), 0.5)
.allow-svg
width 100px
height 100px
> svg
width inherit
height inherit
.allow
&:nth-child(1) .allow-svg svg
width 100px
height 100px
&:nth-child(2) .allow-svg svg
width 134px
height 99px
&:nth-child(3) .allow-svg svg
width 98px
height 97px
&:nth-child(4) .allow-svg svg
width 127px
height 96px
.allow-copy
flex-align center
Expand All @@ -78,7 +86,11 @@ export default {
width 100%
padding 10px
.allow-svg
display none
width 60px
height 60px
> svg
width inherit !important
height inherit !important
.allow-copy
margin 0 20px
</style>
28 changes: 28 additions & 0 deletions layouts/default.vue
Expand Up @@ -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
},
]
}
},
}
</script>

Expand Down
2 changes: 2 additions & 0 deletions pages/privacy.vue
Expand Up @@ -32,7 +32,9 @@ export default {
</script>

<style lang="stylus">
@import '../assets/stylus/guide/includes/*'
.page-content
background-color white
padding 60px
font-s2()
</style>

0 comments on commit 4b79c9a

Please sign in to comment.