2 Commits

Author SHA1 Message Date
df3802ff50 changed container name 2025-11-29 17:28:47 +01:00
388cff9368 changed back to old header 2025-11-26 19:39:58 +01:00
2 changed files with 5 additions and 4 deletions

View File

@@ -9,7 +9,7 @@ services:
restart: unless-stopped restart: unless-stopped
backend: backend:
container_name: backend container_name: weather-backend
build: ./backend build: ./backend
networks: networks:
- proxynet - proxynet

View File

@@ -1,6 +1,7 @@
import React from "react"; import React from "react";
import ChangeAPI from "./ChangeAPI"; import ChangeAPI from "./ChangeAPI";
import ChangePreferences from "./ChangePreferences"; import ChangePreferences from "./ChangePreferences";
import { myToast } from "../utils/toastify";
import { useState } from "react"; import { useState } from "react";
import Cookies from "js-cookie"; import Cookies from "js-cookie";
import logo from "../assets/cloud-sun-fill.png"; import logo from "../assets/cloud-sun-fill.png";
@@ -21,15 +22,15 @@ const Header: React.FC = () => {
className="w-10 h-10 drop-shadow-lg" className="w-10 h-10 drop-shadow-lg"
/> />
<h1 className="text-4xl font-extrabold tracking-wide drop-shadow-lg"> <h1 className="text-4xl font-extrabold tracking-wide drop-shadow-lg">
Weather App - <strong>Local hosted</strong> Weather App - <strong>Web</strong>
</h1> </h1>
</div> </div>
<div className="flex items-center gap-4"> <div className="flex items-center gap-4">
{" "} {" "}
{/* Added container for buttons */} {/* Added container for buttons */}
<button <button
className="cursor-pointer bg-white text-blue-700 font-bold px-6 py-3 rounded-xl shadow-lg hover:bg-blue-100 transition-all border border-blue-200 flex items-center gap-2" className="bg-gray-200 text-gray-400 font-bold px-6 py-3 rounded-xl shadow-lg border border-gray-300 flex items-center gap-2 cursor-not-allowed opacity-60"
onClick={() => setApiCard(true)} onClick={() => myToast("You don't need to set an API Key!", "info")}
> >
<span className="flex items-center gap-2"> <span className="flex items-center gap-2">
<KeyRound /> <KeyRound />