Compare commits
7 Commits
dbbca57f59
...
5708bfa1b3
Author | SHA1 | Date | |
---|---|---|---|
5708bfa1b3 | |||
71a29ad9de | |||
d98fab004f | |||
e56e998467 | |||
ee6469379f | |||
62094299d4 | |||
97b5190442 |
@@ -6,4 +6,4 @@ You can find the web version of the Weather App at [https://weather.the1s.de](ht
|
|||||||
|
|
||||||
## Version
|
## Version
|
||||||
|
|
||||||
Currently hosted version: **1.0.0**
|
Currently hosted version: **1.0.1**
|
||||||
|
@@ -1,29 +1,20 @@
|
|||||||
services:
|
services:
|
||||||
# frontend:
|
frontend:
|
||||||
# container_name: frontend
|
container_name: frontend
|
||||||
# build: ./frontend
|
build: ./frontend
|
||||||
# network:
|
|
||||||
# - proxynet
|
|
||||||
# ports:
|
|
||||||
# - "7002:7002"
|
|
||||||
# environment:
|
|
||||||
# - CHOKIDAR_USEPOLLING=true
|
|
||||||
# volumes:
|
|
||||||
# - ./frontend:/app
|
|
||||||
# - /app/node_modules
|
|
||||||
# restart: unless-stopped
|
|
||||||
|
|
||||||
backend:
|
|
||||||
container_name: backend
|
|
||||||
build: ./backend
|
|
||||||
network:
|
|
||||||
- proxynet
|
|
||||||
ports:
|
ports:
|
||||||
- "7001:7001"
|
- "7002:7002"
|
||||||
|
environment:
|
||||||
|
- CHOKIDAR_USEPOLLING=true
|
||||||
volumes:
|
volumes:
|
||||||
- ./backend:/bikelane-backend
|
- ./frontend:/app
|
||||||
|
- /app/node_modules
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
# backend:
|
||||||
networks:
|
# container_name: backend
|
||||||
proxynet:
|
# build: ./backend
|
||||||
external: true
|
# ports:
|
||||||
|
# - "7001:7001"
|
||||||
|
#volumes:
|
||||||
|
# - ./backend:/bikelane-backend
|
||||||
|
# restart: unless-stopped
|
||||||
|
@@ -9,4 +9,4 @@ COPY . .
|
|||||||
|
|
||||||
EXPOSE 7002
|
EXPOSE 7002
|
||||||
|
|
||||||
CMD ["npm", "start"]
|
CMD ["npm", "run", "dev"]
|
@@ -64,7 +64,7 @@ const ChangeAPI: React.FC<Props> = ({ currentAPIKey, onClose }) => {
|
|||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<button
|
<button
|
||||||
type="button"
|
type="submit"
|
||||||
className="bg-gradient-to-r from-blue-600 to-blue-400 text-white font-bold px-6 py-3 rounded-xl shadow-lg hover:from-blue-700 hover:to-blue-500 transition-all"
|
className="bg-gradient-to-r from-blue-600 to-blue-400 text-white font-bold px-6 py-3 rounded-xl shadow-lg hover:from-blue-700 hover:to-blue-500 transition-all"
|
||||||
onClick={handleUpdate}
|
onClick={handleUpdate}
|
||||||
>
|
>
|
||||||
|
@@ -24,7 +24,9 @@ const WeatherData: React.FC = () => {
|
|||||||
? "°C"
|
? "°C"
|
||||||
: localStorage.getItem("unit") === "imperial"
|
: localStorage.getItem("unit") === "imperial"
|
||||||
? "°F"
|
? "°F"
|
||||||
: "K"}
|
: localStorage.getItem("unit") === "standard"
|
||||||
|
? "K"
|
||||||
|
: "°C"}
|
||||||
</p>
|
</p>
|
||||||
<p className="flex items-center justify-center gap-2">
|
<p className="flex items-center justify-center gap-2">
|
||||||
{weatherData?.sys?.country && (
|
{weatherData?.sys?.country && (
|
||||||
|
Reference in New Issue
Block a user