Refactor code structure for improved readability and maintainability

This commit is contained in:
Miguel 2025-08-14 18:39:25 +02:00
parent d99d439455
commit e0192453d8
3 changed files with 5 additions and 1 deletions

BIN
frontend/public/SIDEL.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 81 KiB

View File

@ -9,6 +9,7 @@ function Home() {
<Container py={4}>
<Stack spacing={3}>
<Heading as="h1" size="md" display="flex" alignItems="center" gap={2}>
<img src="/SIDEL.png" alt="SIDEL" style={{ height: 32 }} />
<img src={recLogo} alt="REC" style={{ height: 28 }} />
PLC S7-31x Streamer & Logger (React)
</Heading>

View File

@ -1133,7 +1133,10 @@ function DashboardContent() {
<Container maxW="container.xl" py={6}>
<VStack spacing={6} align="stretch">
<Flex align="center" mb={4}>
<Heading size="xl">🏭 PLC S7-31x Streamer & Logger</Heading>
<Heading size="xl" display="flex" alignItems="center" gap={3}>
<img src="/SIDEL.png" alt="SIDEL" style={{ height: 40 }} />
🏭 PLC S7-31x Streamer & Logger
</Heading>
<Spacer />
<Button size="sm" variant="outline" onClick={loadStatus}>
🔄 Refresh Status