mirror of
https://github.com/ThatGuySam/doesitarm.git
synced 2026-05-18 06:44:46 -07:00
Add player and related apps placeholder
This commit is contained in:
parent
d3e73e6896
commit
29df79504e
1 changed files with 17 additions and 11 deletions
|
|
@ -1,5 +1,5 @@
|
||||||
---
|
---
|
||||||
// Default Listing template for Apps, Games, and formulas
|
// Video Listing template for Benchmarks and Videos
|
||||||
|
|
||||||
import {
|
import {
|
||||||
ListingDetails
|
ListingDetails
|
||||||
|
|
@ -7,14 +7,7 @@ import {
|
||||||
|
|
||||||
// import Devices from '~/src/components/listing-parts/devices.astro'
|
// import Devices from '~/src/components/listing-parts/devices.astro'
|
||||||
import RelatedVideos from '~/src/components/listing-parts/related-videos.astro'
|
import RelatedVideos from '~/src/components/listing-parts/related-videos.astro'
|
||||||
|
import HtmlPlayer from '~/src/components/video/player.astro'
|
||||||
import AllUpdatesSubscribe from '~/components/all-updates-subscribe.vue'
|
|
||||||
|
|
||||||
// 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'
|
|
||||||
|
|
||||||
|
|
||||||
const {
|
const {
|
||||||
|
|
@ -26,7 +19,18 @@ const details = new ListingDetails( listing )
|
||||||
<section class="container pb-16">
|
<section class="container pb-16">
|
||||||
<div class="flex flex-col items-center text-center space-y-6">
|
<div class="flex flex-col items-center text-center space-y-6">
|
||||||
|
|
||||||
{ "playerHtml" }
|
<HtmlPlayer
|
||||||
|
video={ details.initialVideo }
|
||||||
|
>
|
||||||
|
|
||||||
|
<div
|
||||||
|
slot="cover-bottom"
|
||||||
|
class="page-heading h-full flex items-end md:p-4"
|
||||||
|
>
|
||||||
|
<h1 class="title text-xs text-left md:text-2xl font-bold">{ details.initialVideo.name }</h1>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</HtmlPlayer>
|
||||||
|
|
||||||
<div class="md:flex w-full justify-between space-y-4 md:space-y-0 md:px-10">
|
<div class="md:flex w-full justify-between space-y-4 md:space-y-0 md:px-10">
|
||||||
|
|
||||||
|
|
@ -47,7 +51,9 @@ const details = new ListingDetails( listing )
|
||||||
|
|
||||||
<hr class="w-full">
|
<hr class="w-full">
|
||||||
|
|
||||||
{ "featuredAppsHtml" }
|
{ details.hasRelatedApps &&
|
||||||
|
<div>{ "featuredAppsHtml/related apps" }</div>
|
||||||
|
}
|
||||||
|
|
||||||
<RelatedVideos
|
<RelatedVideos
|
||||||
listing={ listing }
|
listing={ listing }
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue