@@ -11,7 +11,7 @@ import {
11
11
PlatformIcons ,
12
12
} from "@/utils/platform" ;
13
13
import { Button } from "@cap/ui" ;
14
- import { faAngleRight } from "@fortawesome/free-solid-svg-icons" ;
14
+ import { faAngleRight , faPlay } from "@fortawesome/free-solid-svg-icons" ;
15
15
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome" ;
16
16
import MuxPlayer from "@mux/mux-player-react" ;
17
17
import { useClickAway } from "@uidotdev/usehooks" ;
@@ -133,10 +133,10 @@ export const HomePage = () => {
133
133
< motion . div
134
134
whileTap = { { scale : 0.95 } }
135
135
whileHover = { { scale : 1.05 } }
136
- // onClick={() => setVideoToggled(true)}
136
+ onClick = { ( ) => setVideoToggled ( true ) }
137
137
className = "absolute cursor-pointer size-[100px] flex items-center justify-center group"
138
138
>
139
- { /* <div
139
+ < div
140
140
style = { {
141
141
background :
142
142
"linear-gradient(180deg, rgba(255, 255, 255, 0.10) 30%, #3B7BFA 100%)" ,
@@ -158,7 +158,7 @@ export const HomePage = () => {
158
158
icon = { faPlay }
159
159
/>
160
160
</ div >
161
- </div> */ }
161
+ </ div >
162
162
</ motion . div >
163
163
< img
164
164
src = "/illustrations/app.webp"
@@ -343,24 +343,6 @@ export const HomePage = () => {
343
343
absolute top-20 z-[0] right-0 from-[#A6D7FF] to-transparent"
344
344
/>
345
345
</ div >
346
- { /* <div
347
- id="scrolling-section"
348
- className="pb-32 -mt-24 md:pb-48 fade-in-up animate-delay-2"
349
- >
350
- <Parallax
351
- className="cursor-pointer"
352
- scale={[2.2, 1.25]}
353
- onClick={() =>
354
- toast("This was going to be something cool... it might be later 👀")
355
- }
356
- >
357
- <img
358
- src="/illustrations/landing-banner.png"
359
- className="w-full max-w-[600px] block mx-auto h-auto rounded-xl"
360
- alt="Landing Page Screenshot Banner"
361
- />
362
- </Parallax>
363
- </div> */ }
364
346
< LogoSection />
365
347
< div className = "pb-32 wrapper md:pb-40" >
366
348
< div className = "mb-4" >
@@ -439,15 +421,12 @@ const VideoModal = ({ setVideoToggled }: Props) => {
439
421
className = "w-[calc(100%-20px)] max-w-[1000px] bg-white rounded-[16px] md:h-[700px] h-[300px]"
440
422
>
441
423
< MuxPlayer
442
- playbackId = "DS00Spx1CV902MCtPj5WknGlR102V5HFkDe"
424
+ playbackId = "A6oZoUWVZjOIVZB6XnBMLagYnXE6xhDhp8Hcyky018hk"
425
+ metadataVideoTitle = "Placeholder (optional)"
426
+ metadata-viewer-user-id = "Placeholder (optional)"
443
427
accentColor = "#5C9FFF"
444
428
className = "h-full rounded-[16px] overflow-hidden select-none"
445
429
autoPlay
446
- metadata = { {
447
- video_id : "video-id-123456" ,
448
- video_title : "Bick Buck Bunny" ,
449
- viewer_user_id : "user-id-bc-789" ,
450
- } }
451
430
/>
452
431
</ motion . div >
453
432
</ motion . div >
0 commit comments