|
@ -5,31 +5,38 @@ |
|
|
<!-- link rel="icon" type="image/svg+xml" href="/vite.svg" /--> |
|
|
<!-- link rel="icon" type="image/svg+xml" href="/vite.svg" /--> |
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> |
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> |
|
|
<title>Domotique</title> |
|
|
<title>Domotique</title> |
|
|
<script type="module" crossorigin src="/assets/index.62d9ce6a.js"></script> |
|
|
<script type="module" crossorigin src="/assets/index.a8cc90b6.js"></script> |
|
|
<link rel="stylesheet" href="/assets/index.8b2241a3.css"> |
|
|
<link rel="stylesheet" href="/assets/index.0d9b8f67.css"> |
|
|
</head> |
|
|
</head> |
|
|
<body class="bg-green-800"> |
|
|
<body class="bg-green-800"> |
|
|
<header> |
|
|
<header> |
|
|
<marquee class="text-8xl text-red-400 bg-purple-300">DOMOTIQUE</marquee> |
|
|
<marquee class="text-8xl text-red-400 bg-purple-300">DOMOTIQUE</marquee> |
|
|
</header> |
|
|
</header> |
|
|
<section class="flex justify-between mx-20 text-center"> |
|
|
<section class="bg-red-300 m-5 py-4"> |
|
|
<div class="temperature"> |
|
|
<div class="temperature m-5 text-center"> |
|
|
<h1>Temperature</h1> |
|
|
<h1>Temperature</h1> |
|
|
<p><span id="temp"></span>°C</p> |
|
|
<p class="text-blue-700 text-5xl font-extrabold"><span id="temp"></span>°C</p> |
|
|
|
|
|
<img class="m-auto object-fill w-1/5 h-20" src="./img/temperature.jpg" alt="lampe"> |
|
|
</div> |
|
|
</div> |
|
|
<div class="radiateur"> |
|
|
|
|
|
|
|
|
<div class="flex justify-between mx-20 text-center space-x-4"> |
|
|
|
|
|
<div class="radiateur w-full"> |
|
|
<h1>Radiateur</h1> |
|
|
<h1>Radiateur</h1> |
|
|
<button id="btn-0" onclick="setLightState(0)">Allumer</button> |
|
|
<button id="btn-0" onclick="setLightState(0)">Allumer</button> |
|
|
|
|
|
<img class="m-auto object-fill w-full h-20" src="./img/radiateur.png" alt="lampe"> |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
|
|
|
<div class="volet"> |
|
|
<div class="volet w-full"> |
|
|
<h1>Volets roulants</h1> |
|
|
<h1>Volets roulants</h1> |
|
|
<button id="btn-1" onclick="setLightState(1)">Allumer</button> |
|
|
<button id="btn-1" onclick="setLightState(1)">Allumer</button> |
|
|
|
|
|
<img class="m-auto object-fill w-full h-20" src="./img/volet.jpg" alt="lampe"> |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
|
|
|
<div class="eclairage"> |
|
|
<div class="eclairage w-full"> |
|
|
<h1>Eclairage</h1> |
|
|
<h1>Eclairage</h1> |
|
|
<button id="btn-2" onclick="setLightState(2)">Allumer</button> |
|
|
<button id="btn-2" onclick="setLightState(2)">Allumer</button> |
|
|
|
|
|
<img class="m-auto object-fill w-full h-20" src="./img/lampe.jpg" alt="lampe"> |
|
|
|
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</section> |
|
|
</section> |
|
|
|
|
|
|
|
|