-
Notifications
You must be signed in to change notification settings - Fork 11
/
index-cn.html
146 lines (131 loc) · 5.26 KB
/
index-cn.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Bonfire</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta name="description" content="(RPG maker) Create RPG-style or similar games with Flutter.">
<meta name="viewport"
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<link rel="apple-touch-icon" sizes="57x57" href="/favicon/apple-icon-57x57.png">
<link rel="apple-touch-icon" sizes="60x60" href="/favicon/apple-icon-60x60.png">
<link rel="apple-touch-icon" sizes="72x72" href="/favicon/apple-icon-72x72.png">
<link rel="apple-touch-icon" sizes="76x76" href="/favicon/apple-icon-76x76.png">
<link rel="apple-touch-icon" sizes="114x114" href="/favicon/apple-icon-114x114.png">
<link rel="apple-touch-icon" sizes="120x120" href="/favicon/apple-icon-120x120.png">
<link rel="apple-touch-icon" sizes="144x144" href="/favicon/apple-icon-144x144.png">
<link rel="apple-touch-icon" sizes="152x152" href="/favicon/apple-icon-152x152.png">
<link rel="apple-touch-icon" sizes="180x180" href="/favicon/apple-icon-180x180.png">
<link rel="icon" type="image/png" sizes="192x192" href="/favicon/android-icon-192x192.png">
<link rel="icon" type="image/png" sizes="32x32" href="/favicon/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="96x96" href="/favicon/favicon-96x96.png">
<link rel="icon" type="image/png" sizes="16x16" href="/favicon/favicon-16x16.png">
<link rel="manifest" href="/favicon/manifest.json">
<meta name="msapplication-TileColor" content="#ffffff">
<meta name="msapplication-TileImage" content="/favicon/ms-icon-144x144.png">
<meta name="theme-color" content="#ffffff">
<link rel="stylesheet" href="//cdn.jsdelivr.net/npm/docsify/themes/dark.css">
<link rel="stylesheet" href="//cdn.jsdelivr.net/npm/@ky_wong/[email protected]/style.css">
<link rel="stylesheet" href="//cdn.jsdelivr.net/npm/@ky_wong/[email protected]/custom-style.css">
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-XW6XTLBWR6"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() {
dataLayer.push(arguments);
}
gtag('js', new Date());
gtag('config', 'G-XW6XTLBWR6');
</script>
<style>
/* Set basic styles */
body {
font-family: 'Arial', sans-serif;
}
.nav-dropdown-container {
position: relative;
display: inline-block;
}
.nav-dropdown-container>a {
text-decoration: none;
color: #333;
/* Text color */
padding: 10px 15px;
border: none;
background-color: #f8f8f8;
/* Background color */
cursor: pointer;
border-radius: 4px;
transition: background-color 0.3s;
}
.nav-dropdown-container>a:hover {
background-color: #e7e7e7;
/* Change background color on hover */
}
.nav-dropdown {
display: none;
position: absolute;
right: 0;
/* Right aligned */
top: 100%;
/* Just below the parent element */
border: 1px solid #ccc;
border-radius: 4px;
background-color: #f8f8f8;
z-index: 1000;
/* Display on top of other elements */
}
.nav-dropdown a {
display: block;
padding: 10px 15px;
color: #333;
text-decoration: none;
}
.nav-dropdown a:hover {
background-color: #e7e7e7;
}
/* Show dropdown on mouse hover */
.nav-dropdown-container:hover .nav-dropdown {
display: block;
}
.version-selector {
width: 100%;
}
</style>
</head>
<body>
<div id="app"></div>
<script>
let versions = [
// {folder: '', label: 'v2.x', default: false},
{
folder: 'v3.0-cn/',
label: 'v3.x',
default: true
}
];
let basePath = sessionStorage.getItem('basePath');
if (basePath == null) {
let defaultVersion = versions.find((v) => v.default).folder;
sessionStorage.setItem('basePath', defaultVersion);
}
window.$docsify = {
name: 'Bonfire',
repo: 'https://github.com/bonfire-engine/bonfire-engine.github.io',
loadSidebar: true,
coverpage: true,
// auto2top: true,
loadNavbar: true,
maxLevel: 4,
subMaxLevel: 2,
basePath: sessionStorage.getItem('basePath'),
versions: versions,
versionSelectorLabel: 'Version',
};
</script>
<script src="//cdn.jsdelivr.net/npm/docsify@4"></script>
<script src="//cdn.jsdelivr.net/npm/docsify/lib/plugins/search.min.js"></script>
<script src="//cdn.jsdelivr.net/npm/docsify-copy-code/dist/docsify-copy-code.min.js"></script>
<script src="//cdn.jsdelivr.net/npm/@ky_wong/[email protected]/index.js"></script>
</body>
</html>