-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
110 lines (103 loc) · 2.87 KB
/
index.html
File metadata and controls
110 lines (103 loc) · 2.87 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
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
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/png" href="/img/favicon.png" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="theme-color" content="#2563eb" />
<meta name="description" content="Modern FiveM Admin Dashboard with React 19" />
<link rel="apple-touch-icon" href="/img/favicon.png" />
<link rel="manifest" href="/manifest.json" />
<!-- Modern font loading -->
<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=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500;600&display=swap"
rel="stylesheet"
/>
<title>FiveM Dashboard 2.0 - React 19</title>
</head>
<body>
<noscript>You need to enable JavaScript to run this modern React 19 app.</noscript>
<div id="root"></div>
<script type="module" src="/src/main.jsx"></script>
<!-- Modern loading fallback with React 19 Suspense support -->
<div
id="loading-fallback"
style="
display: none;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: #f9fafb;
z-index: 9999;
"
>
<div
style="
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
text-align: center;
"
>
<div
style="
width: 40px;
height: 40px;
border: 3px solid #e5e7eb;
border-top: 3px solid #2563eb;
border-radius: 50%;
animation: spin 1s linear infinite;
margin: 0 auto 16px;
"
></div>
<p style="color: #6b7280; font-family: 'Inter', sans-serif; margin: 0">
Loading FiveM Dashboard...
</p>
</div>
</div>
<style>
@keyframes spin {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}
/* Modern CSS reset and optimizations */
*,
*::before,
*::after {
box-sizing: border-box;
}
body {
margin: 0;
font-family:
'Inter',
-apple-system,
BlinkMacSystemFont,
'Segoe UI',
'Roboto',
'Oxygen',
'Ubuntu',
'Cantarell',
'Fira Sans',
'Droid Sans',
'Helvetica Neue',
sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
background-color: #f9fafb;
}
code {
font-family:
'JetBrains Mono', source-code-pro, Menlo, Monaco, Consolas, 'Courier New', monospace;
}
</style>
</body>
</html>