From 8676e5d53f780c6ae2357e265afeb1389fed3945 Mon Sep 17 00:00:00 2001 From: Alexis Seurin Date: Tue, 23 Jul 2024 15:00:01 +0200 Subject: [PATCH] Add public-transport-map folder --- index.html | 2 +- {api => public-transport-map/api}/package-lock.json | 0 {api => public-transport-map/api}/package.json | 0 {api => public-transport-map/api}/pointId.js | 0 .../api}/updateTrainPositions.js | 0 {src => public-transport-map/src}/App.css | 0 {src => public-transport-map/src}/App.tsx | 1 + {src => public-transport-map/src}/assets/bus.svg | 0 .../src}/assets/controls/down.svg | 0 .../src}/assets/controls/minus.svg | 0 .../src}/assets/controls/plus.svg | 0 .../src}/assets/controls/up.svg | 0 .../src}/assets/information.svg | 0 {src => public-transport-map/src}/assets/metro.svg | 0 .../src}/assets/placeholder1.png | Bin {src => public-transport-map/src}/assets/road.svg | 0 {src => public-transport-map/src}/assets/stop.svg | 0 {src => public-transport-map/src}/assets/subway.svg | 0 {src => public-transport-map/src}/assets/train.svg | 0 {src => public-transport-map/src}/assets/tram.svg | 0 .../src}/components/Icon.css | 0 .../src}/components/Icon.tsx | 0 .../src}/components/LinesDisplay.css | 0 .../src}/components/LinesDisplay.tsx | 0 .../src}/components/Map.css | 0 .../src}/components/Map.tsx | 0 .../src}/components/StatCounter.css | 0 .../src}/components/StatCounter.tsx | 0 {src => public-transport-map/src}/main.tsx | 0 {src => public-transport-map/src}/types.ts | 0 {src => public-transport-map/src}/vite-env.d.ts | 0 31 files changed, 2 insertions(+), 1 deletion(-) rename {api => public-transport-map/api}/package-lock.json (100%) rename {api => public-transport-map/api}/package.json (100%) rename {api => public-transport-map/api}/pointId.js (100%) rename {api => public-transport-map/api}/updateTrainPositions.js (100%) rename {src => public-transport-map/src}/App.css (100%) rename {src => public-transport-map/src}/App.tsx (99%) rename {src => public-transport-map/src}/assets/bus.svg (100%) rename {src => public-transport-map/src}/assets/controls/down.svg (100%) rename {src => public-transport-map/src}/assets/controls/minus.svg (100%) rename {src => public-transport-map/src}/assets/controls/plus.svg (100%) rename {src => public-transport-map/src}/assets/controls/up.svg (100%) rename {src => public-transport-map/src}/assets/information.svg (100%) rename {src => public-transport-map/src}/assets/metro.svg (100%) rename {src => public-transport-map/src}/assets/placeholder1.png (100%) rename {src => public-transport-map/src}/assets/road.svg (100%) rename {src => public-transport-map/src}/assets/stop.svg (100%) rename {src => public-transport-map/src}/assets/subway.svg (100%) rename {src => public-transport-map/src}/assets/train.svg (100%) rename {src => public-transport-map/src}/assets/tram.svg (100%) rename {src => public-transport-map/src}/components/Icon.css (100%) rename {src => public-transport-map/src}/components/Icon.tsx (100%) rename {src => public-transport-map/src}/components/LinesDisplay.css (100%) rename {src => public-transport-map/src}/components/LinesDisplay.tsx (100%) rename {src => public-transport-map/src}/components/Map.css (100%) rename {src => public-transport-map/src}/components/Map.tsx (100%) rename {src => public-transport-map/src}/components/StatCounter.css (100%) rename {src => public-transport-map/src}/components/StatCounter.tsx (100%) rename {src => public-transport-map/src}/main.tsx (100%) rename {src => public-transport-map/src}/types.ts (100%) rename {src => public-transport-map/src}/vite-env.d.ts (100%) diff --git a/index.html b/index.html index 125968f..74e8211 100644 --- a/index.html +++ b/index.html @@ -9,6 +9,6 @@
- + diff --git a/api/package-lock.json b/public-transport-map/api/package-lock.json similarity index 100% rename from api/package-lock.json rename to public-transport-map/api/package-lock.json diff --git a/api/package.json b/public-transport-map/api/package.json similarity index 100% rename from api/package.json rename to public-transport-map/api/package.json diff --git a/api/pointId.js b/public-transport-map/api/pointId.js similarity index 100% rename from api/pointId.js rename to public-transport-map/api/pointId.js diff --git a/api/updateTrainPositions.js b/public-transport-map/api/updateTrainPositions.js similarity index 100% rename from api/updateTrainPositions.js rename to public-transport-map/api/updateTrainPositions.js diff --git a/src/App.css b/public-transport-map/src/App.css similarity index 100% rename from src/App.css rename to public-transport-map/src/App.css diff --git a/src/App.tsx b/public-transport-map/src/App.tsx similarity index 99% rename from src/App.tsx rename to public-transport-map/src/App.tsx index c06fb54..421d848 100644 --- a/src/App.tsx +++ b/public-transport-map/src/App.tsx @@ -10,6 +10,7 @@ import './components/StatCounter.css'; import stopPlaceholder from "./assets/stop.svg"; import trainPlaceholder from "./assets/train.svg"; import routePlaceholder from "./assets/road.svg"; +import React from 'react'; function App() { const [routes, setRoutes] = useState([]); diff --git a/src/assets/bus.svg b/public-transport-map/src/assets/bus.svg similarity index 100% rename from src/assets/bus.svg rename to public-transport-map/src/assets/bus.svg diff --git a/src/assets/controls/down.svg b/public-transport-map/src/assets/controls/down.svg similarity index 100% rename from src/assets/controls/down.svg rename to public-transport-map/src/assets/controls/down.svg diff --git a/src/assets/controls/minus.svg b/public-transport-map/src/assets/controls/minus.svg similarity index 100% rename from src/assets/controls/minus.svg rename to public-transport-map/src/assets/controls/minus.svg diff --git a/src/assets/controls/plus.svg b/public-transport-map/src/assets/controls/plus.svg similarity index 100% rename from src/assets/controls/plus.svg rename to public-transport-map/src/assets/controls/plus.svg diff --git a/src/assets/controls/up.svg b/public-transport-map/src/assets/controls/up.svg similarity index 100% rename from src/assets/controls/up.svg rename to public-transport-map/src/assets/controls/up.svg diff --git a/src/assets/information.svg b/public-transport-map/src/assets/information.svg similarity index 100% rename from src/assets/information.svg rename to public-transport-map/src/assets/information.svg diff --git a/src/assets/metro.svg b/public-transport-map/src/assets/metro.svg similarity index 100% rename from src/assets/metro.svg rename to public-transport-map/src/assets/metro.svg diff --git a/src/assets/placeholder1.png b/public-transport-map/src/assets/placeholder1.png similarity index 100% rename from src/assets/placeholder1.png rename to public-transport-map/src/assets/placeholder1.png diff --git a/src/assets/road.svg b/public-transport-map/src/assets/road.svg similarity index 100% rename from src/assets/road.svg rename to public-transport-map/src/assets/road.svg diff --git a/src/assets/stop.svg b/public-transport-map/src/assets/stop.svg similarity index 100% rename from src/assets/stop.svg rename to public-transport-map/src/assets/stop.svg diff --git a/src/assets/subway.svg b/public-transport-map/src/assets/subway.svg similarity index 100% rename from src/assets/subway.svg rename to public-transport-map/src/assets/subway.svg diff --git a/src/assets/train.svg b/public-transport-map/src/assets/train.svg similarity index 100% rename from src/assets/train.svg rename to public-transport-map/src/assets/train.svg diff --git a/src/assets/tram.svg b/public-transport-map/src/assets/tram.svg similarity index 100% rename from src/assets/tram.svg rename to public-transport-map/src/assets/tram.svg diff --git a/src/components/Icon.css b/public-transport-map/src/components/Icon.css similarity index 100% rename from src/components/Icon.css rename to public-transport-map/src/components/Icon.css diff --git a/src/components/Icon.tsx b/public-transport-map/src/components/Icon.tsx similarity index 100% rename from src/components/Icon.tsx rename to public-transport-map/src/components/Icon.tsx diff --git a/src/components/LinesDisplay.css b/public-transport-map/src/components/LinesDisplay.css similarity index 100% rename from src/components/LinesDisplay.css rename to public-transport-map/src/components/LinesDisplay.css diff --git a/src/components/LinesDisplay.tsx b/public-transport-map/src/components/LinesDisplay.tsx similarity index 100% rename from src/components/LinesDisplay.tsx rename to public-transport-map/src/components/LinesDisplay.tsx diff --git a/src/components/Map.css b/public-transport-map/src/components/Map.css similarity index 100% rename from src/components/Map.css rename to public-transport-map/src/components/Map.css diff --git a/src/components/Map.tsx b/public-transport-map/src/components/Map.tsx similarity index 100% rename from src/components/Map.tsx rename to public-transport-map/src/components/Map.tsx diff --git a/src/components/StatCounter.css b/public-transport-map/src/components/StatCounter.css similarity index 100% rename from src/components/StatCounter.css rename to public-transport-map/src/components/StatCounter.css diff --git a/src/components/StatCounter.tsx b/public-transport-map/src/components/StatCounter.tsx similarity index 100% rename from src/components/StatCounter.tsx rename to public-transport-map/src/components/StatCounter.tsx diff --git a/src/main.tsx b/public-transport-map/src/main.tsx similarity index 100% rename from src/main.tsx rename to public-transport-map/src/main.tsx diff --git a/src/types.ts b/public-transport-map/src/types.ts similarity index 100% rename from src/types.ts rename to public-transport-map/src/types.ts diff --git a/src/vite-env.d.ts b/public-transport-map/src/vite-env.d.ts similarity index 100% rename from src/vite-env.d.ts rename to public-transport-map/src/vite-env.d.ts