2020-02-09 18:40:34 +00:00
|
|
|
import React from 'react';
|
2020-02-09 11:49:54 +00:00
|
|
|
import { Layout } from 'antd';
|
2020-02-09 18:40:34 +00:00
|
|
|
import HomeView from './components/HomeView';
|
|
|
|
import 'antd/dist/antd.css';
|
2020-02-10 01:05:34 +00:00
|
|
|
import styled from 'styled-components';
|
2020-02-09 11:09:49 +00:00
|
|
|
|
|
|
|
function App() {
|
|
|
|
return (
|
2020-02-10 01:05:34 +00:00
|
|
|
<MainSection>
|
2020-02-09 11:49:54 +00:00
|
|
|
<h1>Dijkstra</h1>
|
2020-02-09 23:12:39 +00:00
|
|
|
<p>Find the shortest path between different cities in Belgium with Dijkstra algorithm.</p>
|
2020-02-09 18:40:34 +00:00
|
|
|
<HomeView/>
|
2020-02-10 01:05:34 +00:00
|
|
|
</MainSection>
|
2020-02-09 11:09:49 +00:00
|
|
|
);
|
|
|
|
}
|
|
|
|
|
|
|
|
export default App;
|
2020-02-10 01:05:34 +00:00
|
|
|
|
|
|
|
const MainSection = styled.main`
|
|
|
|
max-width: 800px;
|
|
|
|
margin: 0 auto;
|
|
|
|
`
|