mirror of
https://github.com/ThatGuySam/doesitarm.git
synced 2026-05-18 06:44:46 -07:00
Setup inline scripts and styles
This commit is contained in:
parent
5cc0703508
commit
60a43c2f39
4 changed files with 78 additions and 7 deletions
|
|
@ -19,7 +19,10 @@ class TV {
|
|||
title: ({ video }) => {
|
||||
// console.log('data', data)
|
||||
return `${ video.name } - ${ config.head.title }`
|
||||
}
|
||||
},
|
||||
// footerInlineScripts: () => [
|
||||
// 'node_modules/lazysizes/lazysizes.min.js'
|
||||
// ]
|
||||
},
|
||||
|
||||
permalink: ({ video }) => {
|
||||
|
|
@ -61,7 +64,7 @@ class TV {
|
|||
<div class="video-row relative w-full">
|
||||
<div class="video-row-contents flex overflow-x-auto whitespace-no-wrap py-2 space-x-6" style="scroll-snap-type:x mandatory;">
|
||||
|
||||
${ video.payload.relatedVideos.map(VideoCard) }
|
||||
${ video.payload.relatedVideos.map( this.boundComponent(VideoCard) ) }
|
||||
|
||||
</div>
|
||||
<button class="absolute left-0 h-10 w-10 flex justify-center items-center transform -translate-y-1/2 -translate-x-1/2 bg-darker rounded-full" style="top:50%;">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue