-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
115 lines (112 loc) · 3.24 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
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Python Playground</title>
<meta name="msapplication-TileColor" content="#1e1e1e" />
<meta name="theme-color" content="#1e1e1e" />
<link rel="manifest" href="site.webmanifest" />
<meta name="robots" content="index, follow" />
<link rel="canonical" href="https://vwh.github.io/python-playground/" />
<!-- Favicon and icons -->
<link rel="icon" href="./icons/favicon.ico" type="image/x-icon" />
<link
rel="apple-touch-icon"
sizes="180x180"
href="./icons/apple-touch-icon.png"
/>
<link
rel="icon"
type="image/png"
sizes="32x32"
href="./icons/favicon-32x32.png"
/>
<link
rel="icon"
type="image/png"
sizes="16x16"
href="./icons/favicon-16x16.png"
/>
<link
rel="icon"
type="image/png"
sizes="192x192"
href="./icons/android-chrome-192x192.png"
/>
<link
rel="icon"
type="image/png"
sizes="512x512"
href="./icons/android-chrome-512x512.png"
/>
<!-- Meta Tags -->
<meta
name="description"
content="Explore and experiment with Python code in your browser"
/>
<meta
name="keywords"
content="Python, coding, programming, interactive, learning, code playground, Python tutorials, Python experiments, code testing"
/>
<meta property="og:title" content="Python Playground" />
<meta
property="og:description"
content="Explore and experiment with Python code in your browser"
/>
<meta
property="og:image"
content="https://vwh.github.io/python-playground/preview.png"
/>
<meta
property="og:url"
content="https://vwh.github.io/python-playground/"
/>
<meta property="og:type" content="website" />
<meta name="twitter:title" content="Python Playground" />
<meta
name="twitter:description"
content="Explore and experiment with Python code in your browser"
/>
<meta name="author" content="vwh" />
<!-- Fonts -->
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
rel="stylesheet"
href="https://fonts.googleapis.com/css2?family=Fira+Mono:wght@400;500;700&family=Space+Mono:ital,wght@0,400;0,700;1,400;1,700&display=swap"
/>
<!-- Critical CSS -->
<style>
* {
font-family: "Fira Mono", monospace;
}
.no-js {
text-align: center;
margin-top: 20%;
}
.no-js h1 {
font-size: 2rem;
}
</style>
<!-- Pyodide -->
<script
defer
src="https://cdn.jsdelivr.net/pyodide/v0.26.2/full/pyodide.js"
></script>
</head>
<body>
<div id="root" class="bg-background"></div>
<script type="module" src="/src/main.tsx"></script>
<noscript>
<div class="no-js">
<h1>JavaScript Required</h1>
<p>
We're sorry, but this application requires JavaScript to function
correctly. Please enable JavaScript in your browser and reload the
page.
</p>
</div>
</noscript>
</body>
</html>