Skip to content

Commit

Permalink
fix(hero): make headings optional
Browse files Browse the repository at this point in the history
  • Loading branch information
shadow81627 committed Dec 23, 2019
1 parent 27f4a74 commit 3e70ac3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions components/hero.vue
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@
>
<v-row align="center" justify="center">
<v-col class="text-center" cols="12">
<h1 class="mb-4 text-light text-shadow">
<h1 v-if="blok.headline" class="mb-4 text-light text-shadow">
{{ blok.headline }}
</h1>
<h2 class="subheading text-light text-shadow">
<h2 v-if="blok.desciption" class="subheading text-light text-shadow">
{{ blok.desciption }}
</h2>
</v-col>
Expand Down
2 changes: 1 addition & 1 deletion storyblok/hero.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ module.exports = {
},
desciption: {
type: 'text',
required: true,
required: false,
},
},
image: null,
Expand Down

1 comment on commit 3e70ac3

@vercel
Copy link

@vercel vercel bot commented on 3e70ac3 Dec 23, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.