Files
web-check-2/src/App.tsx
2022-07-03 23:16:02 +01:00

27 lines
573 B
TypeScript

import { Route, Routes } from 'react-router-dom';
import Styled from 'styled-components';
import Home from 'pages/Home';
import Results from 'pages/Results';
import colors from 'styles/colors';
const Container = Styled.main`
background: ${colors.background};
color: ${colors.textColor};
width: 100vw;
height: 100vh;
margin: 0;
`;
function App() {
return (
<Container>
<Routes>
<Route path="/" element={<Home />} />
<Route path="/results/:address" element={<Results />} />
</Routes>
</Container>
);
}
export default App;