From 7926287bca7292049d41f7d56aa552e6fe3e5f0e Mon Sep 17 00:00:00 2001 From: Thiemann96 Date: Fri, 6 Feb 2026 10:33:28 +0100 Subject: [PATCH] hotfix: phenomena in :home --- docs/boards/mini/mini-overview.mdx | 2 +- docs/products/home/home-overview.mdx | 72 ++++++++++++++++++++-------- src/components/icons/IconItem.js | 15 ++++-- 3 files changed, 64 insertions(+), 25 deletions(-) diff --git a/docs/boards/mini/mini-overview.mdx b/docs/boards/mini/mini-overview.mdx index 1d2a556..5b88a4f 100644 --- a/docs/boards/mini/mini-overview.mdx +++ b/docs/boards/mini/mini-overview.mdx @@ -107,7 +107,7 @@ return (
- + diff --git a/docs/products/home/home-overview.mdx b/docs/products/home/home-overview.mdx index e9642af..b9c68a4 100644 --- a/docs/products/home/home-overview.mdx +++ b/docs/products/home/home-overview.mdx @@ -20,12 +20,16 @@ import { import { IconItem } from '@site/src/components/icons/IconItem' import { faCloud, + faEthernet, faGaugeHigh, faMicrophone, faPercent, + faSdCard, faSmog, faSun, faTemperatureHigh, + faTowerBroadcast, + faWifi, faWind, } from '@fortawesome/free-solid-svg-icons' @@ -51,30 +55,60 @@ return ( /> {activeTopTab === 'Messbare Phänomene' && ( - - - - - - - - - - + + + + Temperatur + + + + Luftdruck + + + + Luftfeuchtigkeit + + + + Helligkeit + + + + Luftqualität + + + + Wolken + + + + Geräuschpegel + + + + Wind )} {activeTopTab === 'Datenübertragung' && ( - - - - - - - - - + + + + WLAN + + + + Ethernet + + + + Funk + + + + SD-Karte + )} diff --git a/src/components/icons/IconItem.js b/src/components/icons/IconItem.js index 591004f..ba8ae7e 100644 --- a/src/components/icons/IconItem.js +++ b/src/components/icons/IconItem.js @@ -1,16 +1,21 @@ import React from 'react' -export function IconItem({ icon, name, children }) { +export function IconItem({ icon, name, children, height = 16, width = 16, className = '' }) { return ( -
-
+
+
{children ? ( children ) : ( - + )}
- +

{name}