Skip to content

Commit

Permalink
add carpenter
Browse files Browse the repository at this point in the history
  • Loading branch information
matiasperz committed Dec 9, 2022
1 parent 9532f2d commit 3e8a6f1
Show file tree
Hide file tree
Showing 5 changed files with 838 additions and 14 deletions.
Binary file modified public/images/ffflauta-scene/misc/flauta-tv.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/models/carpenter.glb
Binary file not shown.
26 changes: 12 additions & 14 deletions src/experiments/39.ffflauta-scene.js
Original file line number Diff line number Diff line change
Expand Up @@ -252,19 +252,17 @@ const Dialog = ({ text, side }) => {
const Background = () => {
return (
<div style={{ position: 'absolute', inset: 0 }}>
<div style={{ width: '100%', height: '100%' }}>
<video
onLoadStart={(e) => {
e.target.volume = 0
}}
style={{ width: '100%' }}
playsInline
autoPlay
src="/video/ffflauta-scene/tv-bg.mp4"
muted={true}
loop
/>
</div>
<video
onLoadStart={(e) => {
e.target.volume = 0
}}
style={{ width: '100%', height: '100%', objectFit: 'cover' }}
playsInline
autoPlay
src="/video/ffflauta-scene/tv-bg.mp4"
muted={true}
loop
/>
</div>
)
}
Expand All @@ -278,7 +276,7 @@ const TV = ({ children }) => {
display: 'grid',
width: '100%',
height: '100%',
gridTemplateColumns: '1.075fr 0.94fr 1fr',
gridTemplateColumns: '1.065fr 0.95fr 1.06fr',
alignContent: 'center'
}}
>
Expand Down
Loading

1 comment on commit 3e8a6f1

@vercel
Copy link

@vercel vercel bot commented on 3e8a6f1 Dec 9, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.