|
@@ -1,7 +1,12 @@
|
|
|
<template>
|
|
|
<div>
|
|
|
<!-- HERO -->
|
|
|
- <Hero/>
|
|
|
+ <hero
|
|
|
+ :title="courseHero.title"
|
|
|
+ :subtitle="courseHero.subtitle"
|
|
|
+ :image="courseHero.image"
|
|
|
+ :promoLink="courseHero.product && courseHero.product.productLink"
|
|
|
+ />
|
|
|
<!-- HERO -->
|
|
|
<section class="section">
|
|
|
<div class="container">
|
|
@@ -53,6 +58,7 @@ export default {
|
|
|
// }
|
|
|
courses : state => state.course.items,
|
|
|
featuredBlogs: state => state.blog.items.featured,
|
|
|
+ courseHero: state => state.hero.item
|
|
|
})
|
|
|
},
|
|
|
async fetch({store}) {
|