From d7de7e30108b2a19fe6b28cdbded385fc0a11c28 Mon Sep 17 00:00:00 2001 From: Jack Harper Date: Thu, 19 Sep 2024 10:58:14 +0100 Subject: [PATCH 1/2] Show beam info picture on wall page --- app/wall/page.tsx | 26 ++++++++++++++++++++++++-- next.config.mjs | 11 +++++++++++ 2 files changed, 35 insertions(+), 2 deletions(-) diff --git a/app/wall/page.tsx b/app/wall/page.tsx index 504b431..112c6db 100644 --- a/app/wall/page.tsx +++ b/app/wall/page.tsx @@ -1,11 +1,10 @@ "use client"; import { Inter } from "next/font/google"; -import Link from "next/link"; import { useState, useEffect } from "react"; import useWebSocket from "react-use-websocket"; import InstrumentWallCard from "@/app/components/InstrumentWallCard"; import { IfcInstrumentStatus } from "./IfcInstrumentStatus"; - +import Image from "next/image"; const inter = Inter({ subsets: ["latin"] }); export default function WallDisplay() { @@ -158,6 +157,29 @@ export default function WallDisplay() { >
+
+ +
Date: Fri, 20 Sep 2024 17:26:19 +0100 Subject: [PATCH 2/2] review comments - css --- app/wall/page.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/wall/page.tsx b/app/wall/page.tsx index 112c6db..a9d9799 100644 --- a/app/wall/page.tsx +++ b/app/wall/page.tsx @@ -166,8 +166,8 @@ export default function WallDisplay() { className="peer/showLabel absolute scale-0" type="checkbox" /> - -

+ +

Show/hide beam info