-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpage.tsx
78 lines (74 loc) · 2.28 KB
/
page.tsx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
import Image from "next/image";
import Video from "next-video";
import styles from "./page.module.css";
import getStarted from "/videos/get-started.mp4";
export default function Home() {
return (
<div className={styles.page}>
<main className={styles.main}>
<div className={styles.logos}>
<Image
className={styles.icon}
src="/nextjs.svg"
alt="Next.js Logo"
width={80}
height={80}
priority
/>
<Image
className={styles.icon}
src="/plus.svg"
alt="Plus"
width={20}
height={20}
priority
/>
<Image
className={styles.icon}
src="/next-video.svg"
alt="Next Video Logo"
width={80}
height={80}
priority
/>
</div>
<Video className={styles.video} src={getStarted} />
<div className={styles.ctas}>
<a
className={styles.primary}
href={`https://vercel.com/new/clone?repository-url=https://github.com/muxinc/next-video-starter&products=[{"type":"integration","productSlug":"mux","integrationSlug":"mux","protocol":"video"}]`}
target="_blank"
rel="noopener noreferrer"
>
<Image
className={styles.icon}
src="/vercel.svg"
alt="Vercel logomark"
width={20}
height={20}
/>
Deploy now
</a>
<a
href="https://next-video.dev/docs"
target="_blank"
rel="noopener noreferrer"
className={styles.secondary}
>
Read our docs
</a>
</div>
</main>
<footer className={styles.footer}>
<a href="https://next-video-demo.vercel.app" target="_blank" rel="noopener noreferrer">
<Image aria-hidden src="/window.svg" alt="Window icon" width={16} height={16} />
Demo
</a>
<a href="https://next-video.dev" target="_blank" rel="noopener noreferrer">
<Image aria-hidden src="/globe.svg" alt="Globe icon" width={16} height={16} />
Go to next-video.dev →
</a>
</footer>
</div>
);
}