forked from pion/example-webrtc-applications
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
69 lines (63 loc) · 1.34 KB
/
index.html
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
<html>
<!--
SPDX-FileCopyrightText: 2023 The Pion community <https://pion.ly>
SPDX-License-Identifier: MIT
-->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link href="https://fonts.googleapis.com/css?family=Quicksand:400,500,700" rel="stylesheet">
<title>WebRTC examples! | Pion</title>
</head>
<style>
body {
font-family: "Quicksand", sans-serif;
font-weight: 400;
margin: 4em 10%;
}
.container {
display: flex;
flex-wrap: wrap;
justify-content: center;
}
.card {
box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
transition: 0.3s;
margin: 20px auto;
flex-grow: 1;
max-width: 500px;
}
.card:hover {
box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
}
.content {
line-height: 1.2em;
padding: 0 16px;
}
.header {
color:#ffffff;
background-image: linear-gradient(225deg, #eb6562 0%, #E53935 100%);
padding: 6px 16px 3px 16px;
}
h3 {
margin: 0;
}
</style>
<body>
<h1>Pion WebRTC examples</h1>
<div class="container">
{{range .}}
<div class="card">
<div class="header">
<h3>{{ .Title }}</h3>
</div>
<div class="content">
<p>{{ .Description }}</p>
{{ if .IsJS}}<p><a href="/example/js/{{ .Link }}/">Run JavaScript</a></p>{{ end }}
</div>
</div>
{{else}}
<li><strong>No examples found!</strong></li>
{{end}}
</div>
</body>
</html>