mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
Link-ify logo
This commit is contained in:
parent
90aa02e6f6
commit
dcd8fab3a7
3 changed files with 10 additions and 6 deletions
BIN
src/FilterLists.Web/package-lock.json
generated
BIN
src/FilterLists.Web/package-lock.json
generated
Binary file not shown.
|
|
@ -12,7 +12,6 @@
|
|||
"babel-plugin-import": "^1.12.1",
|
||||
"customize-cra": "^0.5.0",
|
||||
"react": "^16.9.0",
|
||||
"react-app-rewired": "^2.1.3",
|
||||
"react-dom": "^16.9.0",
|
||||
"react-router-dom": "^5.0.1",
|
||||
"react-scripts": "^3.1.1",
|
||||
|
|
@ -39,5 +38,8 @@
|
|||
"last 1 firefox version",
|
||||
"last 1 safari version"
|
||||
]
|
||||
},
|
||||
"devDependencies": {
|
||||
"react-app-rewired": "^2.1.3"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
import { Icon, Layout, Menu } from 'antd';
|
||||
import React from 'react';
|
||||
import { BrowserRouter as Router, Route, RouteComponentProps, Switch } from 'react-router-dom';
|
||||
import { BrowserRouter as Router, Link, Route, RouteComponentProps, Switch } from 'react-router-dom';
|
||||
|
||||
import { ListsTable } from './components';
|
||||
|
||||
|
|
@ -28,10 +28,12 @@ export const App: React.FC = () =>
|
|||
</Router>;
|
||||
|
||||
const Logo = () =>
|
||||
<img src={`${process.env.PUBLIC_URL}/logo_filterlists.png`}
|
||||
alt="FilterLists logo"
|
||||
height="44px"
|
||||
style={{ background: '#fff' }} />;
|
||||
<Link to="/">
|
||||
<img src={`${process.env.PUBLIC_URL}/logo_filterlists.png`}
|
||||
alt="FilterLists logo"
|
||||
height="44px"
|
||||
style={{ background: '#fff' }} />
|
||||
</Link>;
|
||||
|
||||
const NotFound = (props: RouteComponentProps) =>
|
||||
<h2>
|
||||
|
|
|
|||
Loading…
Reference in a new issue