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

@ -3,12 +3,22 @@
<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">
<div
v-for="app in appList"
:key="app.slug"
>
<a :href="`/app/${app.slug}`">
<div>
{{ app.name }}
</div>
</a>
</div>
<a <a
href="https://nuxtjs.org/" href="https://nuxtjs.org/"
target="_blank" target="_blank"
@ -25,9 +35,16 @@
<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>