Add app list to home page

This commit is contained in:
Sam Carlton 2020-09-19 15:58:05 -05:00
parent c363f3b182
commit 0c56276d09

View file

@ -1,33 +1,50 @@
<template> <template>
<section class="container"> <section class="container">
<div> <div>
<logo/> <logo/>
<h1 class="title"> <h1 class="title">
doesitarm Does it ARM
</h1> </h1>
<h2 class="subtitle"> <h2 class="subtitle">
Apps that support ARM on MacOs Apps that are reported to support ARM on macOS
</h2> </h2>
<div class="links"> <div class="apps">
<a <div
href="https://nuxtjs.org/" v-for="app in appList"
target="_blank" :key="app.slug"
class="button--green">Documentation</a> >
<a <a :href="`/app/${app.slug}`">
href="https://github.com/nuxt/nuxt.js" <div>
target="_blank" {{ app.name }}
class="button--grey">GitHub</a> </div>
</div> </a>
</div> </div>
</section> <a
href="https://nuxtjs.org/"
target="_blank"
class="button--green">Documentation</a>
<a
href="https://github.com/nuxt/nuxt.js"
target="_blank"
class="button--grey">GitHub</a>
</div>
</div>
</section>
</template> </template>
<script> <script>
import Logo from '~/components/Logo.vue' import Logo from '~/components/Logo.vue'
import appList from '~/assets/app-list.json'
export default { export default {
components: { components: {
Logo Logo
},
computed: {
appList() {
return appList
}
} }
} }
</script> </script>