Repository navigation
Expand file tree
/
Copy pathindex.html
More file actions
53 lines (52 loc) · 3.13 KB
/
Copy pathindex.html
File metadata and controls
53 lines (52 loc) · 3.13 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="preload" as="image" href="/assets/risubard-startup.webp" fetchpriority="high" />
<link rel="icon" type="image/png" sizes="16x16" href="/logo_16.png" />
<link rel="icon" type="image/png" sizes="32x32" href="/logo_32.png" />
<link rel="icon" type="image/png" sizes="256x256" href="/logo_256.png" />
<link rel="manifest" href="/manifest.json" crossorigin="use-credentials" />
<link rel="stylesheet" href="/src/styles.css" />
<link rel="stylesheet" href="/src/styles/nodeonly-standard.css" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/katex@0.16.27/dist/katex.min.css" integrity="sha384-Pu5+C18nP5dwykLJOhd2U4Xen7rjScHN/qusop27hdd2drI+lL5KvX7YntvT8yew" crossorigin="anonymous">
<meta name="description" content="An AI frontend for both light and core users.">
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link href="https://fonts.googleapis.com/css2?family=Tilt+Prism&family=Yellowtail&display=swap" rel="stylesheet">
<!-- <meta http-equiv="Content-Security-Policy" content="script-src 'self' 'wasm-unsafe-eval' 'unsafe-eval'; object-src 'none'; require-trusted-types-for 'script'; trusted-types plugin-policy;"> -->
<title>RisuBard</title>
</head>
<body>
<div id="app">
<noscript>
<div class="noscript">
<h1>JavaScript is disabled</h1>
<p>Please enable JavaScript to use this website.</p>
</div>
</noscript>
</div>
<!-- Loading screen, will be removed when /src/main.ts is loaded -->
<div id="preloading" class="w-full h-full flex justify-center items-center text-textcolor text-xl bg-gray-900 flex-col absolute top-0 left-0 z-50">
<img data-startup-logo="preloader" class="mb-2 w-[min(80vw,25rem)] rounded-xl border border-darkborderc object-cover shadow-lg" src="/assets/risubard-startup.webp" fetchpriority="high" decoding="sync" alt="RisuBard" width="500" height="300" />
<span data-startup-version class="mb-5 text-sm font-semibold tracking-[0.18em] text-textcolor2">v__RISUBARD_APP_VERSION__</span>
<div class="flex flex-row items-center">
<svg class="animate-spin -ml-1 mr-3 h-5 w-5 text-textcolor" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24">
<circle class="opacity-25" cx="12" cy="12" r="10" stroke="currentColor" stroke-width="4"></circle>
<path class="opacity-75" fill="currentColor" d="M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4z"></path>
</svg>
<span id="preloading-title">Loading...</span>
</div>
<span id="preloading-status" class="text-sm mt-2 text-textcolor2">Loading RisuBard...</span>
</div>
<script>
try {
if (localStorage.getItem('risu-lang') === 'ko') {
document.documentElement.lang = 'ko'
document.getElementById('preloading-title').textContent = '불러오는 중...'
document.getElementById('preloading-status').textContent = 'RisuBard를 시작하는 중...'
}
} catch {}
</script>
<script type="module" src="/src/main.ts"></script>
</body>
</html>