This repository has been archived by the owner on Mar 19, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
168 lines (157 loc) · 4.31 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
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Meta tags -->
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="description" content="{description}" />
<meta name="author" content="{author}" />
<meta name="generator" content="Rapide" />
<!-- Social meta tags -->
<meta name="twitter:card" content="summary" />
<meta name="twitter:site" content="{social_username}" />
<meta name="twitter:title" content="{social_title}" />
<meta name="twitter:description" content="{social_description}" />
<meta name="twitter:image" content="/images/social-image.png" />
<meta
property="og:image"
content="/images/social-image.png"
itemprop="thumbnailUrl"
/>
<meta property="og:title" content="{social_title}" />
<meta property="og:url" content="{social_url}" />
<meta property="og:site_name" content="{social_site_name}" />
<meta property="og:description" content="{social_description}" />
<meta name="theme-color" content="#ffffff" />
<!-- Add to homescreen for Chrome on Android.
Fallback for manifest.json -->
<meta name="mobile-web-app-capable" content="yes" />
<meta name="application-name" content="{app_name}" />
<!-- Add to homescreen for Safari on iOS -->
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="default" />
<meta name="apple-mobile-web-app-title" content="{app_name}" />
<!-- Favicos -->
<link
rel="icon"
href="/images/icons/favicon-32x32.png"
sizes="32x32"
type="image/png"
/>
<link
rel="icon"
href="/images/icons/favicon-16x16.png"
sizes="16x16"
type="image/png"
/>
<link
rel="mask-icon"
href="/images/icons/safari-pinned-tab.svg"
color="#ffffff"
/>
<link rel="icon" href="/images/icons/favicon.ico" />
<!-- Apple Homescreen icons -->
<link rel="apple-touch-icon" href="/images/icons/icon-48x48.png" />
<link
rel="apple-touch-icon"
sizes="72x72"
href="/images/icons/icon-72x72.png"
/>
<link
rel="apple-touch-icon"
sizes="96x96"
href="/images/icons/icon-96x96.png"
/>
<link
rel="apple-touch-icon"
sizes="144x144"
href="/images/icons/icon-144x144.png"
/>
<link
rel="apple-touch-icon"
sizes="180x180"
href="/images/icons/apple-touch-icon.png"
/>
<link
rel="apple-touch-icon"
sizes="192x192"
href="/images/icons/icon-192x192.png"
/>
<!-- Tile icon for Windows 8 (144x144 + tile color) -->
<meta
name="msapplication-TileImage"
content="/images/icons/icon-144x144.png"
/>
<meta name="msapplication-TileColor" content="#ffffff" />
<meta name="msapplication-tap-highlight" content="no" />
<title>Rapide</title>
<link rel="canonical" href="http://localhost:3000" />
<style>
[x-cloak] {
display: none;
}
</style>
</head>
<body>
<div x-data="router()" x-router></div>
<div
class="flex flex-col space-y-6 text-sm max-w-full h-screen text-gray-700 dark:text-gray-200 transition-colors"
bg="green-500"
>
<main class="py-4 max-w-full" id="app">
<!--root-->
</main>
<nav
class="flex justify-center space-x-4 text-2xl py-4"
dir="ltr"
x-data
x-cloak
>
<a aria-current="page" href="/" :title="$t('home')">
<span class="iconify" data-icon="carbon:campsite"></span>
</a>
<button
onclick="toggleDark()"
role="button"
:title="$t('toggle.dark')"
class=""
>
<span
class="iconify"
data-icon="carbon:sun"
x-show="!$store.dark.on"
></span>
<span
class="iconify"
data-icon="carbon:moon"
x-show="$store.dark.on"
></span>
</button>
<button
:title="$t('toggle.language')"
role="button"
onclick="toggleLanguage()"
>
<span class="iconify" data-icon="carbon:language"></span>
</button>
<a href="/about" :title="$t('about')">
<span
class="iconify"
data-icon="carbon:dicom-overlay"
></span>
</a>
<a
rel="noreferrer"
href="https://github.com/rehhouari/rapide"
target="_blank"
title="GitHub"
>
<span class="iconify" data-icon="carbon:logo-github"></span>
</a>
</nav>
</div>
<!-- Main app module -->
<script type="module" src="/src/main.ts"></script>
</body>
</html>