Skip to content

Commit 89571c5

Browse files
committed
Updates
1 parent 3eef5b4 commit 89571c5

4 files changed

Lines changed: 54 additions & 4 deletions

File tree

404.html

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
<!DOCTYPE html>
2+
<html>
3+
<head>
4+
<meta charset="utf-8">
5+
<title>Material Dashboard Shadcn</title>
6+
<script type="text/javascript">
7+
// Single Page Apps for GitHub Pages
8+
// MIT License
9+
// https://github.com/rafgraph/spa-github-pages
10+
// This script checks to see if a redirect is present in the query string,
11+
// converts it back into the correct url and adds it to the
12+
// browser's history using window.history.replaceState(...)
13+
(function(l) {
14+
if (l.search[1] === '/' ) {
15+
var decoded = l.search.slice(1).split('&').map(function(s) {
16+
return s.replace(/~and~/g, '&')
17+
}).join('?');
18+
window.history.replaceState(null, null,
19+
l.pathname.slice(0, -1) + decoded + l.hash
20+
);
21+
}
22+
}(window.location))
23+
</script>
24+
</head>
25+
<body>
26+
</body>
27+
</html>
Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

index.html

Lines changed: 25 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,33 @@
33
<head>
44
<meta charset="UTF-8" />
55
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1" />
6-
<script type="module" crossorigin src="/assets/index-nd7n3k8Y.js"></script>
7-
<link rel="stylesheet" crossorigin href="/assets/index-BJpOGHLx.css">
6+
<title>Material Dashboard Shadcn</title>
7+
<!-- Start Single Page Apps for GitHub Pages -->
8+
<script type="text/javascript">
9+
// Single Page Apps for GitHub Pages
10+
// MIT License
11+
// https://github.com/rafgraph/spa-github-pages
12+
// This script checks to see if a redirect is present in the query string,
13+
// converts it back into the correct url and adds it to the
14+
// browser's history using window.history.replaceState(...)
15+
(function(l) {
16+
if (l.search[1] === '/' ) {
17+
var decoded = l.search.slice(1).split('&').map(function(s) {
18+
return s.replace(/~and~/g, '&')
19+
}).join('?');
20+
window.history.replaceState(null, null,
21+
l.pathname.slice(0, -1) + decoded + l.hash
22+
);
23+
}
24+
}(window.location))
25+
</script>
26+
<!-- End Single Page Apps for GitHub Pages -->
27+
<script type="module" crossorigin src="/material-dashboard-shadcn/assets/index-CIgmhzXq.js"></script>
28+
<link rel="stylesheet" crossorigin href="/material-dashboard-shadcn/assets/index-CyaLpR75.css">
829
</head>
930
<body>
1031
<div id="root"></div>
32+
<!-- This is a replit script which adds a banner on the top of the page when opened in development mode outside the replit environment -->
33+
<script type="text/javascript" src="https://replit.com/public/js/replit-dev-banner.js"></script>
1134
</body>
1235
</html>

0 commit comments

Comments
 (0)