Skip to content

Commit

Permalink
delete use for beta 404.html, and recently try to switch to HashRouter
Browse files Browse the repository at this point in the history
  • Loading branch information
vaclisinc committed Sep 3, 2024
1 parent c179e56 commit c5f31cb
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 35 deletions.
13 changes: 1 addition & 12 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>InningIQ</title>
</head>
<script type="text/javascript">
(function(l) {
if (l.search[1] === '/' ) {
var decoded = l.search.slice(1).split('&').map(function(s) {
return s.replace(/~and~/g, '&')
}).join('?');
window.history.replaceState(null, null,
l.pathname.slice(0, -1) + decoded + l.hash
);
}
}(window.location))
</script>

<body>
<div id="root"></div>
<script type="module" src="./src/main.jsx"></script>
Expand Down
20 changes: 0 additions & 20 deletions public/404.html

This file was deleted.

6 changes: 3 additions & 3 deletions src/constants/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ export const features = [
id: "0",
title: "features1_title",
text: "features1_description",
backgroundUrl: "assets/benefits/card-1.svg",
backgroundUrl: "./assets/benefits/card-1.svg",
iconUrl: benefitIcon1,
imageUrl: benefitImage2,
available: true,
Expand All @@ -283,7 +283,7 @@ export const features = [
id: "1",
title: "features2_title",
text: "features2_description",
backgroundUrl: "assets/benefits/card-2.svg",
backgroundUrl: "./assets/benefits/card-2.svg",
iconUrl: benefitIcon2,
imageUrl: benefitImage2,
light: true,
Expand All @@ -294,7 +294,7 @@ export const features = [
id: "2",
title: "features3_title",
text: "features3_description",
backgroundUrl: "assets/benefits/card-3.svg",
backgroundUrl: "./assets/benefits/card-3.svg",
iconUrl: benefitIcon3,
imageUrl: benefitImage2,
available: true,
Expand Down

0 comments on commit c5f31cb

Please sign in to comment.