Refactor code structure for improved readability and maintainability
This commit is contained in:
parent
d99d439455
commit
e0192453d8
Binary file not shown.
After Width: | Height: | Size: 81 KiB |
|
@ -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>
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue