Add notification field

This commit is contained in:
Sam Carlton 2020-11-09 14:15:13 -06:00
parent 50cb5acc48
commit 9c55bea365
2 changed files with 138 additions and 1 deletions

View file

@ -7,6 +7,13 @@
<h2 class="subtitle text-2xl md:text-5xl font-bold py-6">
{{ app.text }}
</h2>
<div class="subscribe space-y-6 sm:space-x-6 my-4">
<EmailSubscribe
:app-name="app.name"
/>
</div>
<div class="links space-y-6 sm:space-x-6">
<LinkButton
v-for="(link, i) in app.relatedLinks"
@ -16,6 +23,7 @@
class=""
>{{ (i === 0) ? 'View' : link.label }}</LinkButton>
</div>
<div class="report-links py-24 shadow-none">
<!-- https://eric.blog/2016/01/08/prefilling-github-issues/ -->
<a
@ -31,12 +39,14 @@
<script>
import LinkButton from '~/components/link-button.vue'
import EmailSubscribe from '~/components/email-subscribe.vue'
import appList from '~/assets/app-list.json'
// import buildAppList from '~/helpers/build-app-list'
export default {
components: {
LinkButton
LinkButton,
EmailSubscribe
},
async asyncData ({ params: { slug } }) {