add some padding to l,r on the vod page

This commit is contained in:
Chris Grimmett 2024-03-29 22:26:26 -08:00
parent ab368c237c
commit 203cc91f31
3 changed files with 28 additions and 28 deletions

View File

@ -18,20 +18,20 @@ docker_build(
## Uncomment the following for fp/next in dev mode
## this is useful for changing the UI and seeing results
# docker_build(
# 'fp/next',
# '.',
# dockerfile='next.dockerfile',
# target='dev',
# live_update=[
# sync('./packages/next', '/app')
# ]
# )
docker_build(
'fp/next',
'.',
dockerfile='next.dockerfile',
target='dev',
live_update=[
sync('./packages/next', '/app')
]
)
## Uncomment the following for fp/next in production mode
## this is useful to test how fp/next will behave in production environment
## note: there is no live_update here. expect slow rebuilds in response to code changes
docker_build('fp/next', '.', dockerfile='next.dockerfile')
# docker_build('fp/next', '.', dockerfile='next.dockerfile')
k8s_resource(

View File

@ -1,6 +1,6 @@
{
"name": "futureporn",
"version": "1.0.2",
"version": "1.0.3",
"description": "",
"main": "index.js",
"scripts": {

View File

@ -43,25 +43,25 @@ export default async function VodPage({vod}: { vod: IVod }) {
return (
<div className="container">
<div className="block mb-5">
<VideoInteractive vod={vod}></VideoInteractive>
<div className="section pt-0">
<VideoInteractive vod={vod}></VideoInteractive>
{(vod.attributes.thumbnail) && (<div className='mb-5'>
<LinkableHeading text="Thumbnail Image" slug="thumb" icon={faImage}></LinkableHeading>
<Thumbnail url={vod.attributes.thumbnail.data.attributes.cdnUrl}></Thumbnail>
</div>)}
{(vod.attributes.thumbnail) && (<div className='mb-5'>
<LinkableHeading text="Thumbnail Image" slug="thumb" icon={faImage}></LinkableHeading>
<Thumbnail url={vod.attributes.thumbnail.data.attributes.cdnUrl}></Thumbnail>
</div>)}
{(vod.attributes.videoSrcHash || vod.attributes.video240Hash) && (
<>
<LinkableHeading text="IPFS Content IDs" slug="ipfs" icon={faGlobe}></LinkableHeading>
{vod.attributes.videoSrcHash && (
<IpfsCid label="Source" cid={vod.attributes.videoSrcHash}></IpfsCid>
)}
{vod.attributes.video240Hash && (
<IpfsCid label="240p" cid={vod.attributes.video240Hash}></IpfsCid>
)}
</>
)}
{(vod.attributes.videoSrcHash || vod.attributes.video240Hash) && (
<>
<LinkableHeading text="IPFS Content IDs" slug="ipfs" icon={faGlobe}></LinkableHeading>
{vod.attributes.videoSrcHash && (
<IpfsCid label="Source" cid={vod.attributes.videoSrcHash}></IpfsCid>
)}
{vod.attributes.video240Hash && (
<IpfsCid label="240p" cid={vod.attributes.video240Hash}></IpfsCid>
)}
</>
)}
<nav className="level mt-5">