-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
60 lines (60 loc) · 2.95 KB
/
Copy pathindex.html
File metadata and controls
60 lines (60 loc) · 2.95 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
54
55
56
57
58
59
60
<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0" />
<title>JuristeAI - Assistant JurisprudencesPro</title>
<script src="https://cdn.tailwindcss.com"></script>
<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=Cairo:wght@400;700&family=Inter:wght@400;600&family=Playfair+Display:wght@700&display=swap" rel="stylesheet">
<style>
body { font-family: 'Inter', sans-serif; background-color: #f8fafc; margin: 0; padding: 0; height: 100vh; width: 100vw; overflow: hidden; }
#root { height: 100%; width: 100%; }
.font-arabic { font-family: 'Cairo', sans-serif; }
.font-serif-legal { font-family: 'Playfair Display', serif; }
@keyframes spin { to { transform: rotate(360deg); } }
.loader { width: 40px; height: 40px; border: 3px solid #e2e8f0; border-top-color: #0f172a; border-radius: 50%; animation: spin 1s linear infinite; }
@keyframes typing { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
.typing-dot { width: 4px; height: 4px; background: #64748b; border-radius: 50%; animation: typing 1s infinite ease-in-out; }
.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }
.prose blockquote { border-left-color: #e2e8f0; font-style: italic; color: #64748b; }
</style>
<script type="importmap">
{
"imports": {
"react": "https://esm.sh/react@18.2.0",
"react-dom": "https://esm.sh/react-dom@18.2.0",
"react-dom/client": "https://esm.sh/react-dom@18.2.0/client",
"react/jsx-runtime": "https://esm.sh/react@18.2.0/jsx-runtime",
"react-markdown": "https://esm.sh/react-markdown@8.0.7?deps=react@18.2.0",
"@google/genai": "https://esm.sh/@google/genai@1.30.0",
"mammoth": "https://esm.sh/mammoth@1.6.0",
"xlsx": "https://esm.sh/xlsx@0.18.5",
"react-dom/": "https://esm.sh/react-dom@^19.2.3/",
"react/": "https://esm.sh/react@^19.2.3/"
}
}
</script>
<script src="https://unpkg.com/@babel/standalone/babel.min.js"></script>
<script>
Babel.registerPreset("legal-preset", {
presets: [
[Babel.availablePresets["env"], { "modules": false }],
[Babel.availablePresets["react"], { "runtime": "classic" }],
Babel.availablePresets["typescript"]
]
});
</script>
</head>
<body>
<div id="root">
<div style="display:flex; flex-direction:column; justify-content:center; align-items:center; height:100vh; color:#64748b; gap: 1rem;">
<div class="loader"></div>
<div id="loading-text">Démarrage sécurisé JuristeAI...</div>
</div>
</div>
<script type="text/babel" data-presets="legal-preset" data-type="module" src="./index.tsx"></script>
</body>
</html>