mirror of
https://github.com/ThatGuySam/doesitarm.git
synced 2026-05-18 06:44:46 -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
|
<LinkButton
|
||||||
v-for="app in featuredApps"
|
v-for="app in featuredApps"
|
||||||
:key="app.slug"
|
:key="app.slug"
|
||||||
:href="app.endpoint"
|
:href="getAppEndpoint(app)"
|
||||||
:class="[
|
:class="[
|
||||||
'inline-block text-xs rounded-lg py-1 px-2',
|
'inline-block text-xs rounded-lg py-1 px-2',
|
||||||
]"
|
]"
|
||||||
|
|
@ -54,6 +54,9 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
|
||||||
|
import { getAppEndpoint } from '~/helpers/app-derived.js'
|
||||||
|
|
||||||
import LinkButton from '~/components/link-button.vue'
|
import LinkButton from '~/components/link-button.vue'
|
||||||
import EmailSubscribe from '~/components/email-subscribe.vue'
|
import EmailSubscribe from '~/components/email-subscribe.vue'
|
||||||
import VideoRow from '~/components/video/row.vue'
|
import VideoRow from '~/components/video/row.vue'
|
||||||
|
|
@ -110,6 +113,9 @@ export default {
|
||||||
return `Apple Silicon performance and support videos for ${featuredAppsString}`
|
return `Apple Silicon performance and support videos for ${featuredAppsString}`
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
methods: {
|
||||||
|
getAppEndpoint
|
||||||
|
},
|
||||||
head() {
|
head() {
|
||||||
return {
|
return {
|
||||||
title: this.title,
|
title: this.title,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue