Repository navigation
Expand file tree
/
Copy pathindex.html
More file actions
120 lines (120 loc) · 4.22 KB
/
Copy pathindex.html
File metadata and controls
120 lines (120 loc) · 4.22 KB
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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta content="IE=edge" http-equiv="X-UA-Compatible" />
<meta
name="viewport"
content="width=device-width, minimum-scale=1.0, maximum-scale=8.0"
/>
<meta content="X5tHeKjV-jMLyp4VMoUhW9PAYaOjtPslV250" name="csrf-token" />
<link href="https://coderadio.freecodecamp.org" rel="canonical" />
<meta
content="Code Radio - 24/7 concentration music for developers"
property="og:title"
/>
<meta content="freeCodeCamp.org" property="og:site_name" />
<meta content="on" name="twitter:widgets:csp" />
<meta content="d0bc047a482c03c24f1168004c2a216a" name="p:domain_verify" />
<meta content="https://coderadio.freecodecamp.org" property="og:url" />
<meta
content="Code Radio - 24/7 concentration music for developers"
property="og:description"
/>
<meta
content="https://cdn.freecodecamp.org/coderadio/coderadio-meta-1920x1080.png"
property="og:image"
/>
<meta content="article" property="og:type" />
<meta
content="https://www.facebook.com/freecodecamp"
property="article:publisher"
/>
<meta content="Responsive" property="article:section" />
<meta content="Support" name="description" />
<meta content="@freecodecamp" name="twitter:creator" />
<meta content="https://coderadio.freecodecamp.org" name="twitter:url" />
<meta content="@freecodecamp" name="twitter:site" />
<meta content="summary_large_image" name="twitter:card" />
<meta
content="https://cdn.freecodecamp.org/coderadio/coderadio-meta-1920x1080.png"
name="twitter:image:src"
/>
<meta content="Code Radio" name="twitter:title" />
<meta
content="24/7 concentration music for developers"
name="twitter:description"
/>
<meta content="a40ee5d5dba3bb091ad783ebd2b1383f" name="p:domain_verify" />
<meta content="#FFFFFF" name="msapplication-TileColor" />
<meta
content="https://cdn.freecodecamp.org/universal/favicons/browserconfig.xml"
rel="msapplication-config"
/>
<link
href="https://cdn.freecodecamp.org/universal/favicons/android-chrome-192x192.png"
rel="android-chrome"
sizes="192x192"
/>
<link
href="https://cdn.freecodecamp.org/universal/favicons/android-chrome-384x384.png"
rel="android-chrome"
sizes="384x384"
/>
<link
href="https://cdn.freecodecamp.org/universal/favicons/site.webmanifest"
rel="manifest"
/>
<link
href="https://cdn.freecodecamp.org/universal/favicons/apple-touch-icon.png"
rel="apple-touch-icon"
sizes="180x180"
/>
<link
href="https://cdn.freecodecamp.org/universal/favicons/favicon-16x16.png"
rel="favicon"
sizes="16x16"
/>
<link
href="https://cdn.freecodecamp.org/universal/favicons/favicon-32x32.png"
rel="favicon"
sizes="32x32"
/>
<link
href="https://cdn.freecodecamp.org/universal/favicons/favicon.ico"
rel="icon"
/>
<title>freeCodeCamp.org Code Radio</title>
<script
async
src="https://www.googletagmanager.com/gtag/js?id=UA-55446531-21"
></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() {
dataLayer.push(arguments);
}
gtag('js', new Date());
gtag('config', 'UA-55446531-21');
</script>
</head>
<body>
<div id="root"></div>
<script type="module" src="/src/main.jsx"></script>
</body>
<script src="https://cdn.jsdelivr.net/npm/@widgetbot/crate@3.9.1" async defer>
new Crate({
server: '692816967895220344', // freeCodeCamp.org Official ᕕ(⌐■_■)ᕗ ♪♬
channel: '1254842489362317322' // #code-radio
})
const button = document.querySelector('crate > div').shadowRoot.querySelector("button");
button.style.bottom = "90px";
const embed = document.querySelector('crate > div').shadowRoot.querySelector(".embed");
embed.style.bottom = "90px";
// we only need to adjust the height at the iframe's mobile breakpoint.
// This does break during resizing, but I think that's enough of an edge case.
if (window.innerWidth <= 500) {
embed.style.maxHeight = "calc(100% - 80px)"
}
</script>
</html>