process.client ? import('~/components/relative-time.vue') : null
},
props: {
- appList: {
- type: Array,
+ kindPage: {
+ type: Object,
required: true
},
noEmailSubscribe: {
@@ -267,6 +270,9 @@ export default {
}
},
computed: {
+ appList () {
+ return this.kindPage.items
+ },
initialList () {
return this.initialLimit !== null ? this.appList.slice(0, this.initialLimit) : this.appList
},
@@ -452,7 +458,7 @@ export default {
this.listingsResults = storkQuery.results.map( result => {
return {
- name: result.entry.title,
+ name: makeHighlightedResultTitle( result ),
endpoint: result.entry.url,
slug: '',
category: {
diff --git a/src/pages/index.astro b/src/pages/index.astro
index 1ee03c8..1a78cd1 100644
--- a/src/pages/index.astro
+++ b/src/pages/index.astro
@@ -7,6 +7,8 @@
// Full Astro Component Syntax:
// https://docs.astro.build/core-concepts/astro-components/
+import { DoesItAPI } from '~/helpers/api/client.js'
+
import Layout from '../layouts/default.astro'
import Search from '~/components/search-stork.vue'
import ListSummary from '~/components/list-summary.vue'
@@ -16,6 +18,7 @@ import AllUpdatesSubscribe from '~/components/all-updates-subscribe.vue'
import getListSummaryNumbers from '~/helpers/get-list-summary-numbers.js'
+const homePageKindPage = await DoesItAPI.kind.app(1).get()
---