added env variables to store hsot and ports

This commit is contained in:
Quentin Roussel
2024-03-27 21:49:10 +01:00
parent 6debf95b8f
commit f70aa52dd0
5 changed files with 25 additions and 5 deletions

View File

@@ -8,7 +8,7 @@ export default function ActionDrawer() {
const { sendCurrentPosition } = useGame();
return (
<div className={"absolute w-screen bottom-0 z-10 bg-gray-100 flex justify-center rounded-t-2xl transition-all duration-200 flex flex-col " + (visible ? "h-full" : "h-20")}>
<div className={"fixed w-screen bottom-0 z-10 bg-gray-100 flex justify-center rounded-t-2xl transition-all duration-200 flex flex-col " + (visible ? "h-full" : "h-20")}>
<img src="/icons/arrow_up.png" className={"w-full object-scale-down h-ful max-h-20 transition-all cursor-pointer duration-200 " + (visible && "rotate-180")} onClick={() => setVisible(!visible)} />
{visible && <div className="flex flex-col w-full h-full">
<div className='shadow-lg mt-0 p-1 flex flex-col text-center mb-1 mt-auto mx-auto w-4/5 rounded'>