-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
77 lines (68 loc) · 2.02 KB
/
index.html
File metadata and controls
77 lines (68 loc) · 2.02 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="description" content="Code Inventory Dashboard - Comprehensive code analysis and metrics visualization" />
<title>Code Inventory Dashboard</title>
<!-- Preconnect to fonts -->
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<!-- Roboto font for Material-UI -->
<link
rel="stylesheet"
href="https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap"
/>
<!-- Material Icons -->
<link
rel="stylesheet"
href="https://fonts.googleapis.com/icon?family=Material+Icons"
/>
<!-- Reset default margin/padding -->
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Roboto', sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
#root {
min-height: 100vh;
}
/* Loading fallback */
.app-loading {
display: flex;
align-items: center;
justify-content: center;
min-height: 100vh;
font-family: 'Roboto', sans-serif;
color: #666;
}
</style>
<!-- SPA redirect handler for GitHub Pages -->
<script>
(function() {
const redirect = sessionStorage.getItem('spa-redirect');
if (redirect) {
sessionStorage.removeItem('spa-redirect');
window.history.replaceState(null, '', redirect);
}
})();
</script>
</head>
<body>
<!-- Root element for React app -->
<div id="root">
<!-- Fallback content while app loads -->
<div class="app-loading">
<div>Loading Code Inventory Dashboard...</div>
</div>
</div>
<!-- Main application script -->
<script type="module" src="/src/main.tsx"></script>
</body>
</html>