mirror of
https://github.com/ThatGuySam/doesitarm.git
synced 2026-05-15 06:35:20 -07:00
Add getAppEndpoint for tv pages
This commit is contained in:
parent
5b4dc94334
commit
66d43da3c1
1 changed files with 7 additions and 1 deletions
|
|
@ -17,7 +17,7 @@
|
|||
<LinkButton
|
||||
v-for="app in featuredApps"
|
||||
:key="app.slug"
|
||||
:href="app.endpoint"
|
||||
:href="getAppEndpoint(app)"
|
||||
:class="[
|
||||
'inline-block text-xs rounded-lg py-1 px-2',
|
||||
]"
|
||||
|
|
@ -54,6 +54,9 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
|
||||
import { getAppEndpoint } from '~/helpers/app-derived.js'
|
||||
|
||||
import LinkButton from '~/components/link-button.vue'
|
||||
import EmailSubscribe from '~/components/email-subscribe.vue'
|
||||
import VideoRow from '~/components/video/row.vue'
|
||||
|
|
@ -110,6 +113,9 @@ export default {
|
|||
return `Apple Silicon performance and support videos for ${featuredAppsString}`
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
getAppEndpoint
|
||||
},
|
||||
head() {
|
||||
return {
|
||||
title: this.title,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue