mirror of
https://github.com/ThatGuySam/doesitarm.git
synced 2026-05-18 06:44:46 -07:00
Clean up app page
This commit is contained in:
parent
e955cbd076
commit
73f4124c01
1 changed files with 0 additions and 40 deletions
|
|
@ -7,28 +7,6 @@ import axios from 'axios'
|
||||||
import Layout from '../../layouts/default.astro'
|
import Layout from '../../layouts/default.astro'
|
||||||
import Listing from '../../components/default-listing.astro'
|
import Listing from '../../components/default-listing.astro'
|
||||||
|
|
||||||
import { makeLastUpdatedFriendly } from '~/helpers/parse-date'
|
|
||||||
import { getAppEndpoint } from '~/helpers/app-derived.js'
|
|
||||||
|
|
||||||
import LinkButton from '~/components/link-button.vue'
|
|
||||||
import VideoRow from '~/components/video/row.vue'
|
|
||||||
|
|
||||||
// import appList from '~/static/app-list.json'
|
|
||||||
|
|
||||||
// export async function getStaticPaths () {
|
|
||||||
// return appList.map(app => {
|
|
||||||
|
|
||||||
// // console.log('app.slug', app.slug )
|
|
||||||
|
|
||||||
// return {
|
|
||||||
// params: {
|
|
||||||
// slug: app.slug
|
|
||||||
// }
|
|
||||||
// }
|
|
||||||
// })
|
|
||||||
// }
|
|
||||||
|
|
||||||
|
|
||||||
// const {
|
// const {
|
||||||
// appPath
|
// appPath
|
||||||
// } = Astro.params
|
// } = Astro.params
|
||||||
|
|
@ -53,7 +31,6 @@ apiUrl.pathname = `/api/${ pathType }/${ pathSlug }.json`
|
||||||
// https://docs.astro.build/en/reference/api-reference/#astrorequests
|
// https://docs.astro.build/en/reference/api-reference/#astrorequests
|
||||||
|
|
||||||
console.log('Astro.params', Astro.params )
|
console.log('Astro.params', Astro.params )
|
||||||
console.log('apiUrl', apiUrl )
|
|
||||||
console.log('Astro.request.url', Astro.request.url )
|
console.log('Astro.request.url', Astro.request.url )
|
||||||
console.log('Astro.site.pathname', Astro.site.pathname )
|
console.log('Astro.site.pathname', Astro.site.pathname )
|
||||||
// console.log('Astro.request', Astro.request )
|
// console.log('Astro.request', Astro.request )
|
||||||
|
|
@ -64,20 +41,6 @@ const appListing = await axios.get( apiUrl.toString() )
|
||||||
return response.data
|
return response.data
|
||||||
})
|
})
|
||||||
|
|
||||||
// const {
|
|
||||||
// head,
|
|
||||||
// entry
|
|
||||||
// } = Astro.props
|
|
||||||
|
|
||||||
const app = {}
|
|
||||||
|
|
||||||
const hasMultipleAliases = false
|
|
||||||
const appDeviceSupport = []
|
|
||||||
const hasRelatedVideos = false
|
|
||||||
const relatedVideosRowHtml = []
|
|
||||||
const hasBundleIdentifiers = false
|
|
||||||
const lastUpdatedFriendly = null
|
|
||||||
|
|
||||||
---
|
---
|
||||||
<Layout
|
<Layout
|
||||||
headTitle={ `${ appListing.name } | Does It ARM` }
|
headTitle={ `${ appListing.name } | Does It ARM` }
|
||||||
|
|
@ -87,8 +50,5 @@ const lastUpdatedFriendly = null
|
||||||
<Listing
|
<Listing
|
||||||
listing={ appListing }
|
listing={ appListing }
|
||||||
/>
|
/>
|
||||||
<!-- <div>
|
|
||||||
{ JSON.stringify( appListing ) }
|
|
||||||
</div> -->
|
|
||||||
|
|
||||||
</Layout>
|
</Layout>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue