-
Notifications
You must be signed in to change notification settings - Fork 94
/
index.html
92 lines (78 loc) · 3.44 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
<!DOCTYPE html>
<html lang="en">
<head>
<title>{app_title}</title>
<meta content="text/html;charset=utf-8" http-equiv="Content-Type" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta charset="UTF-8" />
<meta name="description" content="An elegant GUI library for Rust, inspired by React. Supports Web, Desktop, SSR, Liveview, and Mobile.">
<link rel="icon shortcut" type="image/png" href="/{base_path}/static/favicon.png" />
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Arimo:wght@100;400;600&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Arimo:ital,wght@0,400..700;1,400..700&family=Lexend:wght@100;400&family=M+PLUS+1:wght@100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="/{base_path}/static/prism/prism.css" />
<!-- Social meta stuff -->
<!-- open graph -->
<meta
property="og:title"
content="Dioxus - Reliable Rust apps that run anywhere"
/>
<meta property="og:type" content="website" />
<meta
property="og:description"
content="An elegant GUI library for Rust, inspired by React. Supports Web, Desktop, SSR, Liveview, and Mobile."
/>
<meta property="og:url" content="https://dioxuslabs.com/" />
<meta
property="og:image"
content="https://dioxuslabs.com/static/opengraph.png"
/>
<!-- twitter -->
<meta
name="twitter:title"
content="Dioxus - Reliable Rust apps that run anywhere"
/>
<meta
name="twitter:description"
content="An elegant GUI library for Rust, inspired by React. Supports Web, Desktop, SSR, Liveview, and Mobile."
/>
<meta
name="twitter:image"
content="https://dioxuslabs.com/static/opengraph.png"
/>
<meta name="twitter:card" content="summary_large_image" />
<!-- icons -->
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons"/>
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-EBE72MVZ1B"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-EBE72MVZ1B');
</script>
<!-- style stuff -->
<!-- <link data-trunk rel="css" href="/tailwind.css" /> -->
<!-- <link rel="stylesheet" href="/{base_path}/tailwind.css" />
<link rel="stylesheet" href="/{base_path}/main.css" />
<link rel="stylesheet" href="/{base_path}/githubmarkdown.css" /> -->
<link rel="stylesheet" href="https://rsms.me/inter/inter.css" />
<script src="/{base_path}/static/darktheme.js"></script>
{style_include}
</head>
<body>
<div id="main"></div>
<!-- Note the usage of `type=module` here as this is an ES6 module -->
<script type="module">
import init from "/{base_path}/assets/dioxus/{app_name}.js";
init("/{base_path}/assets/dioxus/{app_name}_bg.wasm").then((wasm) => {
if (wasm.__wbindgen_start == undefined) {
wasm.main();
}
});
</script>
<script src="/{base_path}/static/prism/prism.js"></script>
{script_include}
</body>
</html>