Skip to content

Commit 626ec8d

Browse files
committed
HashRouter again
1 parent f51c743 commit 626ec8d

File tree

3 files changed

+3
-39
lines changed

3 files changed

+3
-39
lines changed

public/404.html

Lines changed: 0 additions & 36 deletions
This file was deleted.

src/App.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
import React from 'react';
2-
import { BrowserRouter as Router } from 'react-router-dom';
2+
import { HashRouter as Router } from 'react-router-dom';
33
import Layout from './components/Layout';
44
import AnimatedRoutes from './components/AnimatedRoutes';
55

66
function App() {
77
return (
8-
<Router basename="/">
8+
<Router>
99
<Layout>
1010
<AnimatedRoutes />
1111
</Layout>

src/components/Footer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ const Footer = () => {
3333
<Link to="/logs" className="text-primary-400 hover:text-white transition-colors" onClick={() => window.scrollTo({ top: 0, behavior: 'smooth' })}>Logs</Link>
3434
</div>
3535
<p className="text-sm text-gray-500">
36-
&copy; {new Date().getFullYear()} fezcode. All rights reserved. <code> v0.0.4 </code>
36+
&copy; {new Date().getFullYear()} fezcode. All rights reserved. <code> v0.0.5 </code>
3737
</p>
3838
</div>
3939
</div>

0 commit comments

Comments
 (0)