-
Notifications
You must be signed in to change notification settings - Fork 903
/
index.html
150 lines (141 loc) · 9.08 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
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
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:fb="http://ogp.me/ns/fb#" lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, viewport-fit=cover" />
<meta http-equiv="Content-Security-Policy" content="default-src * 'self' 'unsafe-inline' data: gap: https://ssl.gstatic.com 'unsafe-eval' blob:; style-src * 'unsafe-inline'; media-src *;" />
<title>Electricity Maps | Live 24/7 CO₂ emissions of electricity consumption</title>
<meta name="description" content="Electricity Maps is a live 24/7 visualization of where your electricity comes from and how much CO2 was emitted to produce it." />
<meta property="og:description" content="Electricity Maps is a live 24/7 visualization of where your electricity comes from and how much CO2 was emitted to produce it." />
<meta property="og:image" content="https://app.electricitymaps.com/images/electricitymap_social_image.png" />
<meta property="og:title" content="Live 24/7 CO₂ emissions of electricity consumption" />
<meta property="og:type" content="website" />
<!-- It's important to keep the old og:url, else likes will not accumulate properly -->
<meta property="og:url" content="http://electricitymap.tmrow.co" />
<meta property="fb:app_id" content="1267173759989113" />
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:creator" content="@electricitymaps" />
<meta name="twitter:description" content="Electricity Maps is a live 24/7 visualization of where your electricity comes from and how much CO2 was emitted to produce it." />
<meta name="twitter:image" content="https://app.electricitymaps.com/images/electricitymap_social_image.png" />
<meta name="twitter:site" content="@ElectricityMaps" />
<meta name="twitter:title" content="@ElectricityMaps | Live 24/7 CO2 emissions of electricity consumption" />
<base href="/" />
<!-- Visual identity -->
<meta name="theme-color" content="#FAFAFA" media="(prefers-color-scheme: light)" />
<meta name="theme-color" content="#33414A" media="(prefers-color-scheme: dark)" />
<link rel="icon" href="/icons/favicon.svg" />
<link rel="mask-icon" href="/icons/favicon.svg" color="#000000" />
<link rel="apple-touch-icon" href="/icons/apple-touch-icon.png" />
<!-- Mobile linking -->
<meta name="apple-itunes-app" content="app-id=1224594248" />
<link rel="alternate" href="android-app://com.tmrow.electricitymap/https/app.electricitymaps.com" />
<link rel="alternate" href="android-app://com.tmrow.electricitymap/http/app.electricitymaps.com" />
<link rel="alternate" href="ios-app://1224594248/https/app.electricitymaps.com" />
<link rel="alternate" href="ios-app://1224594248/http/app.electricitymaps.com" />
<!-- Language -->
<meta property="og:locale" content="en_US" />
<meta property="og:locale:alternate" content="ar_AR" />
<meta property="og:locale:alternate" content="cs_CZ" />
<meta property="og:locale:alternate" content="da_DK" />
<meta property="og:locale:alternate" content="de_DE" />
<meta property="og:locale:alternate" content="el_GR" />
<meta property="og:locale:alternate" content="en_US" />
<meta property="og:locale:alternate" content="es_ES" />
<meta property="og:locale:alternate" content="et_EE" />
<meta property="og:locale:alternate" content="fi_FI" />
<meta property="og:locale:alternate" content="fr_FR" />
<meta property="og:locale:alternate" content="hi_IN" />
<meta property="og:locale:alternate" content="hr_HR" />
<meta property="og:locale:alternate" content="id_ID" />
<meta property="og:locale:alternate" content="it_IT" />
<meta property="og:locale:alternate" content="ja_JP" />
<meta property="og:locale:alternate" content="ko_KR" />
<meta property="og:locale:alternate" content="nl_NL" />
<meta property="og:locale:alternate" content="no_NB" />
<meta property="og:locale:alternate" content="no_NB" />
<meta property="og:locale:alternate" content="pl_PL" />
<meta property="og:locale:alternate" content="pt_BR" />
<meta property="og:locale:alternate" content="ro_RO" />
<meta property="og:locale:alternate" content="ru_RU" />
<meta property="og:locale:alternate" content="sk_SK" />
<meta property="og:locale:alternate" content="sl_SI" />
<meta property="og:locale:alternate" content="sv_SE" />
<meta property="og:locale:alternate" content="vi_VN" />
<meta property="og:locale:alternate" content="zh_CN" />
<meta property="og:locale:alternate" content="zh_HK" />
<meta property="og:locale:alternate" content="zh_TW" />
<link rel="alternate" href="https://app.electricitymaps.com" hreflang="x-default" />
<link rel="alternate" href="https://app.electricitymaps.com?lang=ar" hreflang="ar" />
<link rel="alternate" href="https://app.electricitymaps.com?lang=cs" hreflang="cs" />
<link rel="alternate" href="https://app.electricitymaps.com?lang=da" hreflang="da" />
<link rel="alternate" href="https://app.electricitymaps.com?lang=de" hreflang="de" />
<link rel="alternate" href="https://app.electricitymaps.com?lang=el" hreflang="el" />
<link rel="alternate" href="https://app.electricitymaps.com?lang=en" hreflang="en" />
<link rel="alternate" href="https://app.electricitymaps.com?lang=es" hreflang="es" />
<link rel="alternate" href="https://app.electricitymaps.com?lang=et" hreflang="et" />
<link rel="alternate" href="https://app.electricitymaps.com?lang=fi" hreflang="fi" />
<link rel="alternate" href="https://app.electricitymaps.com?lang=fr" hreflang="fr" />
<link rel="alternate" href="https://app.electricitymaps.com?lang=hi" hreflang="hi" />
<link rel="alternate" href="https://app.electricitymaps.com?lang=hr" hreflang="hr" />
<link rel="alternate" href="https://app.electricitymaps.com?lang=id" hreflang="id" />
<link rel="alternate" href="https://app.electricitymaps.com?lang=it" hreflang="it" />
<link rel="alternate" href="https://app.electricitymaps.com?lang=ja" hreflang="ja" />
<link rel="alternate" href="https://app.electricitymaps.com?lang=ko" hreflang="ko" />
<link rel="alternate" href="https://app.electricitymaps.com?lang=nl" hreflang="nl" />
<link rel="alternate" href="https://app.electricitymaps.com?lang=no" hreflang="no" />
<link rel="alternate" href="https://app.electricitymaps.com?lang=no-NB" hreflang="no-NB" />
<link rel="alternate" href="https://app.electricitymaps.com?lang=pl" hreflang="pl" />
<link rel="alternate" href="https://app.electricitymaps.com?lang=pt-BR" hreflang="pt-BR" />
<link rel="alternate" href="https://app.electricitymaps.com?lang=ro" hreflang="ro" />
<link rel="alternate" href="https://app.electricitymaps.com?lang=ru" hreflang="ru" />
<link rel="alternate" href="https://app.electricitymaps.com?lang=sk" hreflang="sk" />
<link rel="alternate" href="https://app.electricitymaps.com?lang=sl" hreflang="sl" />
<link rel="alternate" href="https://app.electricitymaps.com?lang=sv" hreflang="sv" />
<link rel="alternate" href="https://app.electricitymaps.com?lang=vi" hreflang="vi" />
<link rel="alternate" href="https://app.electricitymaps.com?lang=zh-CN" hreflang="zh-CN" />
<link rel="alternate" href="https://app.electricitymaps.com?lang=zh-HK" hreflang="zh-HK" />
<link rel="alternate" href="https://app.electricitymaps.com?lang=zh-TW" hreflang="zh-TW" />
<!-- Canonical -->
<link rel="canonical" href="https://app.electricitymaps.com" />
<!-- Pre-connect to backend to improve performance -->
<link rel="preconnect" href="https://app-backend.electricitymap.org/" />
<link rel="preconnect" href="https://o192958.ingest.sentry.io" />
<link rel="preconnect" href="https://plausible.io" />
<!-- Preload font files to improve performance-->
<link rel="preload" href="/fonts/Poppins-Medium.woff2" as="font" type="font/woff2" crossorigin />
<link rel="preload" href="/fonts/Inter.var.woff2" as="font" type="font/woff2" crossorigin />
<!-- Plausible -->
<script defer data-domain="app.electricitymaps.com" src="https://plausible.io/js/plausible.local.js"></script>
<!-- Polyfill for .at() -->
<script>
if (![].at) {
Array.prototype.at = function (n) {
console.debug('Running .at with', n);
// ToInteger() abstract op
n = Math.trunc(n) || 0;
// Allow negative indexing from the end
if (n < 0) {
n += this.length;
}
// OOB access is guaranteed to return undefined
if (n < 0 || n >= this.length) {
return undefined;
}
// Otherwise, this is just normal property access
return this[n];
};
}
</script>
<script type="module" src="/src/main.tsx"></script>
</head>
<body>
<noscript>
<img src="/images/electricity-maps-logo.svg" alt="Electricity Maps logo" />
<div>
<h1>JavaScript required!</h1>
<p>For the Electricity Maps app to function properly JavaScript is required, please enable it to continue using the app.</p>
</div>
</noscript>
<div id="root"></div>
</body>
</html>