on master help sign in
trial: use video
commit6ba6f0f28770bafcee7cf5ecaeeda89aff4d5c52 authorMatilde Park <matilde.park@urbit.org> dateTue 13 Sep 2022, 11:50 (4 years ago) parent2ff2e17
1 file changed+10−1
pages/trial.js+10−1
pages/trial.js+10−1
@@ -68,7 +68,16 @@ export default function Trial(props) {
6868 <h1>{post.title}</h1>
6969 {/* Flex between image and blurb, collapse to col on mobile */}
7070 <div className="flex flex-col items-center space-y-4 xl:space-y-0 xl:flex-row xl:space-x-4">
71− <img className="max-w-lg h-auto w-full" src="https://media.urbit.org/site/getting-started/explore.png" />
71+ <video className="max-w-md w-full min-w-0" autoPlay muted loop playsInline>
72+ <source
73+ src="https://storage.googleapis.com/media.urbit.org/site/groupsdemo.webm"
74+ type="video/webm"
75+ />
76+ <source
77+ src="https://storage.googleapis.com/media.urbit.org/site/groupsdemo-2.mp4"
78+ type="video/mp4"
79+ />
80+ </video>
7281 {/* Blurb is flexed to space button and copy */}
7382 <div className="flex-col flex space-y-4">
7483 <p>No downloads, no signup.</p>