mirror of
https://github.com/ThatGuySam/doesitarm.git
synced 2026-05-18 06:44:46 -07:00
Add related links
This commit is contained in:
parent
14fee9158d
commit
68f353c653
2 changed files with 36 additions and 2 deletions
|
|
@ -6,9 +6,16 @@ import {
|
|||
} from '~/helpers/listing-page.js'
|
||||
|
||||
import Aliases from '~/src/components/listing/aliases.astro'
|
||||
import RelatedLinks from '~/src/components/listing/related-links.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 {
|
||||
listing
|
||||
|
|
@ -19,7 +26,7 @@ const details = new ListingDetails( listing )
|
|||
---
|
||||
<section class="container space-y-8 py-32">
|
||||
|
||||
<div class="intro-content flex flex-col items-center text-center min-h-3/4-screen md:min-h-0 space-y-8">
|
||||
<div class="intro-content flex flex-col items-center text-center min-h-3/4-screen md:min-h-0 gap-8">
|
||||
<h1 class="title text-sm md:text-xl font-bold">
|
||||
{ details.mainHeading }
|
||||
</h1>
|
||||
|
|
@ -30,11 +37,16 @@ const details = new ListingDetails( listing )
|
|||
<Aliases listing={ listing } />
|
||||
|
||||
|
||||
|
||||
<AllUpdatesSubscribe
|
||||
client:visible
|
||||
/>
|
||||
|
||||
<div class="links space-y-6 sm:space-x-6">
|
||||
<RelatedLinks
|
||||
listing={ listing }
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div class="links space-y-6 sm:space-x-6">
|
||||
<!-- { relatedLinksHtml } -->
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue