This commit is contained in:
Thomas
2020-02-28 17:47:26 +01:00
parent 5da7650b6b
commit 8ef2c5ff30
18 changed files with 225 additions and 98 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
<template>
<div class="columns">
<div v-for="article in articles" :key="article.id" class="column is-one-third">
<div class="card">
<div class="card rounded">
<div class="card-image">
<figure class="image is-4by3">
<img :src="article.image.src" :alt="product.images[0].altText">
+11 -1
View File
@@ -27,6 +27,11 @@
<p class="is-size-5">
Policy
</p>
<p class="footer-link">
<nuxt-link :to="`/policy/${privacyPolicy.handle}`">
Privacy Policy
</nuxt-link>
</p>
</div>
<div class="column is-4">
<p class="is-size-5">
@@ -40,7 +45,12 @@
<script>
export default {
name: 'TheFooter'
name: 'TheFooter',
computed: {
privacyPolicy () {
return this.$store.state.shop.privacyPolicy
}
}
}
</script>
+4 -10
View File
@@ -1,7 +1,7 @@
<template>
<b-navbar>
<template slot="brand">
<b-navbar-item tag="a" href="/">
<b-navbar-item tag="nuxt-link" to="/">
<img
src="https://raw.githubusercontent.com/buefy/buefy/dev/static/img/buefy-logo.png"
alt="Lightweight UI components for Vue.js based on Bulma"
@@ -16,19 +16,13 @@
Products
</b-navbar-item>
<b-navbar-dropdown label="Blog">
<b-navbar-item
tag="a"
href="/blog"
>
All
</b-navbar-item>
<b-navbar-item
v-for="blog in blogs"
:key="blog.id"
tag="a"
:href="`/blog/${blog.handle}`"
tag="nuxt-link"
:to="`/blog/${blog.node.handle}`"
>
{{ blog.title }}
{{ blog.node.title }}
</b-navbar-item>
</b-navbar-dropdown>
</template>