From 110b167ff0a08a47c6772388546a1e2122015d46 Mon Sep 17 00:00:00 2001 From: DrR0X-glitch Date: Wed, 8 Nov 2023 19:56:10 +1000 Subject: [PATCH] Update home page with hero and feature sections --- bell-regular.svg | 1 - docs/assets/images/icons/bell-regular.svg | 1 + docs/assets/images/icons/commands.png | Bin 0 -> 831 bytes docs/assets/images/icons/quick-actions.png | Bin 0 -> 1277 bytes docs/assets/images/icons/sensors.png | Bin 0 -> 1849 bytes theme_override_home/home.html | 46 +++++++++++++-------- 6 files changed, 30 insertions(+), 18 deletions(-) delete mode 100644 bell-regular.svg create mode 100644 docs/assets/images/icons/bell-regular.svg create mode 100644 docs/assets/images/icons/commands.png create mode 100644 docs/assets/images/icons/quick-actions.png create mode 100644 docs/assets/images/icons/sensors.png diff --git a/bell-regular.svg b/bell-regular.svg deleted file mode 100644 index f34f589..0000000 --- a/bell-regular.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/docs/assets/images/icons/bell-regular.svg b/docs/assets/images/icons/bell-regular.svg new file mode 100644 index 0000000..4d13a51 --- /dev/null +++ b/docs/assets/images/icons/bell-regular.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/docs/assets/images/icons/commands.png b/docs/assets/images/icons/commands.png new file mode 100644 index 0000000000000000000000000000000000000000..7291d7a917dc7416b6078d1824de485124f7b9f1 GIT binary patch literal 831 zcmV-F1Hk-=P)Px#1ZP1_K>z@;j|==^1poj532;bRa{vGi!vFvd!vV){sAK>D0@O)FK~!i%?U}D{ z6hRcn???p#Sy54esHmtwASzEFNT{elAP^^!75o7tNMuDt1p--7l8OpMLn^5tK_Dth z(k3NAB1!J}yxH$AckJBl?e1)6n)H*r%#ZhG<~y6YeVe&{uOr6e@c?^9^%1s)U14Ya ze*ZJ}k$RdS`oU;4+NYce{zHmo4M_(?nfUKcWd+1tW2+jP2LC^K+V8O~st>Uz)OWEz z&I#0yH8eixu`^$QxR-KGfom|i2^h*17eu|2Aot|e?FIi^g<9-^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/theme_override_home/home.html b/theme_override_home/home.html index 1508418..f5f72f6 100644 --- a/theme_override_home/home.html +++ b/theme_override_home/home.html @@ -6,24 +6,27 @@ margin: 0; padding: 0; font-family: Arial, sans-serif; - color: black; + color: white; + background-color: #2d2d30; + } + + .accent-color { + background-color: #3f3f46; } .markdown-body { - background-color: #f7f7f7; - color: white; + color: black; /* Adjust the text color for the light mode */ } .container { - max-width: 960px; + max-width: 65%; margin: 0 auto; padding: 0 20px; } .hero-section { background-color: #41bdf5; - color: white; - padding: 100px 0; + padding: 100px 100px; } .hero-section .content { @@ -38,7 +41,6 @@ .logo { width: 40%; - float: right; text-align: center; padding-top: 20px; } @@ -73,7 +75,7 @@ /* Feature Description Section */ .feature-section { - background-color: #ffffff; + background-color: #2d2d30; padding: 80px 0; } @@ -84,18 +86,15 @@ } .feature { - flex: 0 0 calc(33.3333% - 40px); + flex: 0 0 calc(25% - 40px); text-align: center; margin: 20px; padding: 20px; - border: 1px solid #41bdf5; - border-radius: 10px; - transition: all 0.3s ease; + background-color: #3f3f46; } .feature:hover { - background-color: #41bdf5; - color: white; + border: 1px solid white; /* Add border on hover */ } .feature h2 { @@ -106,10 +105,16 @@ .feature p { font-size: 18px; } + + .feature img { + width: 48px; + height: 48px; + margin-bottom: 10px; + } - -
+ +
@@ -123,21 +128,28 @@

Welcome to HASS.Agent

-
+ Sensors Icon

Sensors

Collect data from Windows and send it to Home Assistant.

+ Commands Icon

Commands

Button entities added into Home Assistant for actions on the Windows machine.

+ Notifications Icon

Notifications

Windows notifications with actions and images.

+
+ Quick Actions Icon +

Quick Actions

+

Quick access to HomeAssistant entities from the Windows taskbar.

+