diff --git a/src/components/HomeView.jsx b/src/components/HomeView.jsx index 624e7b4..898975b 100644 --- a/src/components/HomeView.jsx +++ b/src/components/HomeView.jsx @@ -113,7 +113,7 @@ function HomeView() { // Add cities to highlight let updatedgHighlighted = {}; data.path.forEach((city) => { - updatedgHighlighted[city.name] = '#E63318'; + updatedgHighlighted[city.name] = '#E63318'; }); setHighlighted(updatedgHighlighted); @@ -130,27 +130,35 @@ function HomeView() { return ( <> -
+
Dijkstra | - - Find the shortest path between different cities - - | - - GIT{' '} - - backend - {' '} - &{' '} - - frontend - {' '} - + Find the shortest path between cities
+
+

+ Dockerized NodeJS backend ( + + Git Source + + ) & React Frontend ( + + Git Source + {' '} + ) communicating through a rest API +

+
-
+

Starting Point

@@ -255,7 +263,6 @@ const InlineH1 = styled.h1` `; const Main = styled.main` - padding-top: 20px; max-width: 1000px; margin: 0 auto; `; diff --git a/src/utils/API.js b/src/utils/API.js index f731c32..1971d38 100644 --- a/src/utils/API.js +++ b/src/utils/API.js @@ -1,6 +1,6 @@ import axios from "axios"; export default axios.create({ - baseURL: "http://localhost:4000", + baseURL: "https://dijkstra-backend.ruihildt.xyz", responseType: "json" });